@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

/* =====================================================
   INPUT FORM
===================================================== */

input[type="text"],
input[type="password"],
textarea,
textarea.form-control {
    height: 50px;
    margin: 0;
    padding: 0 20px;

    vertical-align: middle;
    text-align: center;

    background: #FFF8FD;

    border: 2px solid #E9D5FF;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #6B21A8;

    line-height: 50px;

    border-radius: 25px;

    box-shadow:
        0 4px 12px rgba(139,92,246,.08);

    transition: all .3s ease;
}

textarea,
textarea.form-control {
    padding-top: 10px;
    padding-bottom: 10px;
    line-height: 30px;
}

/* =====================================================
   INPUT FOCUS
===================================================== */

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
textarea.form-control:focus {

    outline: 0;

    background: #fff;

    border: 2px solid #C084FC;

    box-shadow:
        0 0 0 4px rgba(192,132,252,.15),
        0 8px 20px rgba(139,92,246,.15);
}

/* =====================================================
   PLACEHOLDER
===================================================== */

input[type="text"]::-webkit-input-placeholder,
input[type="password"]::-webkit-input-placeholder,
textarea::-webkit-input-placeholder,
textarea.form-control::-webkit-input-placeholder {
    color: #A78BFA;
}

input[type="text"]:-moz-placeholder,
input[type="password"]:-moz-placeholder,
textarea:-moz-placeholder,
textarea.form-control:-moz-placeholder {
    color: #A78BFA;
}

input[type="text"]:-ms-input-placeholder,
input[type="password"]:-ms-input-placeholder,
textarea:-ms-input-placeholder,
textarea.form-control:-ms-input-placeholder {
    color: #A78BFA;
}

/* =====================================================
   BUTTON LOGIN
===================================================== */

button.btn {
    height: 50px;
    margin: 0;
    padding: 0 20px;

    vertical-align: middle;

    background: linear-gradient(
        135deg,
        #EC4899,
        #8B5CF6
    );

    border: 0;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;

    line-height: 50px;

    color: #fff;

    border-radius: 25px;

    box-shadow:
        0 8px 20px rgba(139,92,246,.25);

    transition: all .3s ease;
}

button.btn:hover {
    opacity: 1;
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(139,92,246,.35);
}

button.btn:active,
button.btn:focus,
button.btn:active:focus,
button.btn.active:focus {

    outline: 0;

    color: #fff;

    background: linear-gradient(
        135deg,
        #DB2777,
        #7C3AED
    );
}

/* =====================================================
   BUTTON OTP
===================================================== */

a.btn-otp {
    height: 50px;
    margin: 0;
    padding: 0 20px;

    vertical-align: middle;

    background: linear-gradient(
        135deg,
        #EC4899,
        #8B5CF6
    );

    border: 0;

    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;

    line-height: 50px;

    color: #fff;

    border-radius: 25px;

    box-shadow:
        0 8px 20px rgba(139,92,246,.25);

    transition: all .3s ease;
}

a.btn-otp:hover {
    opacity: 1;
    color: #fff;

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(139,92,246,.35);
}

a.btn-otp:active,
a.btn-otp:focus,
a.btn-otp:active:focus,
a.btn-otp.active:focus {

    outline: 0;

    color: #fff;

    background: linear-gradient(
        135deg,
        #DB2777,
        #7C3AED
    );
}

/* =====================================================
   OTP CONTAINER
===================================================== */

.otp-container {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 10px;
}

@supports not (gap: 10px) {
    .otp-container .otp-input:not(:last-child) {
        margin-right: 10px;
    }
}

/* =====================================================
   OTP INPUT
===================================================== */

.otp-input.form-control {
    display: inline-block !important;

    width: 48px !important;
    height: 48px !important;

    padding: 0 !important;
    margin: 0 !important;

    text-align: center !important;

    font-size: 22px !important;
    font-weight: 700 !important;

    color: #7C3AED;

    background: #FFFFFF;

    border: 2px solid #E9D5FF !important;

    border-radius: 12px !important;

    box-shadow:
        0 4px 12px rgba(139,92,246,.08);

    box-sizing: border-box !important;

    transition: all .25s ease;
}

.otp-input:focus {

    border-color: #C084FC !important;

    box-shadow:
        0 0 0 4px rgba(192,132,252,.15),
        0 8px 20px rgba(139,92,246,.20) !important;

    outline: none !important;

    transform: scale(1.08);
}

/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 480px) {

    .otp-input.form-control {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }

}