/* =========================================
   REGISTER PAGE CSS
   DBros Media Admin Panel
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    min-height: 100vh;
    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background:
        linear-gradient(
            135deg,
            #eef1ff 0%,
            #f8f9ff 50%,
            #e8ebf8 100%
        );

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 30px 15px;

    color: #1f2937;
}


/* =========================================
   MAIN CONTAINER
========================================= */

.login-container {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}


/* =========================================
   REGISTER CARD
========================================= */

.login-card {
    width: 100%;
    max-width: 520px;

    background: #ffffff;

    border-radius: 22px;

    padding: 42px 44px;

    border:
        1px solid
        rgba(
            99,
            102,
            241,
            0.08
        );

    box-shadow:
        0 20px 60px
        rgba(
            31,
            41,
            55,
            0.12
        );
}


.register-card {
    max-width: 520px;
}


/* =========================================
   LOGO SECTION
========================================= */

.login-logo {
    text-align: center;

    margin-bottom: 32px;
}


.login-logo-circle {
    width: 58px;
    height: 58px;

    margin:
        0 auto
        16px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #5b5bd6,
            #7c6cf2
        );

    color: #ffffff;

    font-size: 28px;

    font-weight: 700;

    box-shadow:
        0 10px 25px
        rgba(
            91,
            91,
            214,
            0.28
        );
}


.login-logo h1 {
    font-size: 32px;

    font-weight: 700;

    color: #1f2937;

    margin-bottom: 9px;

    letter-spacing: -0.5px;
}


.login-logo p {
    font-size: 15px;

    color: #6b7280;
}


/* =========================================
   FORM
========================================= */

#registerForm {
    width: 100%;
}


.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #374151;
}


/* =========================================
   INPUT WRAPPER
========================================= */

.input-icon-wrapper,
.password-wrapper {
    position: relative;

    width: 100%;
}


.input-icon-wrapper > i {
    position: absolute;

    left: 16px;

    top: 50%;

    transform:
        translateY(-50%);

    color: #7c6cf2;

    font-size: 15px;

    pointer-events: none;

    z-index: 2;
}


/* =========================================
   INPUT
========================================= */

.form-control {
    width: 100%;

    height: 52px;

    padding:
        0
        18px;

    border:
        1px solid
        #d8dce8;

    border-radius: 12px;

    outline: none;

    background: #f8f9fc;

    color: #1f2937;

    font-size: 15px;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


.input-icon-wrapper
.form-control {
    padding-left: 48px;
}


.password-wrapper
.form-control {
    padding-right: 55px;
}


.form-control::placeholder {
    color: #9ca3af;
}


.form-control:focus {
    background: #ffffff;

    border-color: #6b63d9;

    box-shadow:
        0 0 0 4px
        rgba(
            107,
            99,
            217,
            0.12
        );
}


/* =========================================
   PASSWORD TOGGLE
========================================= */

.password-toggle {
    position: absolute;

    top: 50%;

    right: 7px;

    transform:
        translateY(-50%);

    width: 40px;

    height: 40px;

    border: none;

    background: transparent;

    color: #8b93a7;

    cursor: pointer;

    border-radius: 8px;

    display: flex;

    align-items: center;
    justify-content: center;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.password-toggle:hover {
    background:
        rgba(
            91,
            91,
            214,
            0.08
        );

    color: #5b5bd6;
}


.password-toggle i {
    font-size: 15px;
}


/* =========================================
   HELP TEXT
========================================= */

.form-help-text {
    display: block;

    margin-top: 8px;

    font-size: 12px;

    line-height: 1.5;

    color: #7b8191;
}


/* =========================================
   REGISTER BUTTON
========================================= */

.btn {
    border: none;

    outline: none;

    cursor: pointer;

    font-family: inherit;
}


.login-btn {
    width: 100%;

    height: 52px;

    margin-top: 6px;

    border-radius: 12px;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    background:
        linear-gradient(
            135deg,
            #5b5bd6,
            #7667e8
        );

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

    box-shadow:
        0 10px 24px
        rgba(
            91,
            91,
            214,
            0.28
        );

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}


.login-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(
            91,
            91,
            214,
            0.35
        );
}


.login-btn:active {
    transform:
        translateY(0);
}


.login-btn:disabled {
    cursor: not-allowed;

    opacity: 0.7;

    transform: none;
}


/* =========================================
   LOGIN LINK
========================================= */

.register-login-link {
    margin-top: 24px;

    text-align: center;

    font-size: 14px;

    color: #6b7280;
}


.register-login-link a {
    margin-left: 5px;

    color: #5b5bd6;

    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.register-login-link a:hover {
    color: #4338ca;

    text-decoration: underline;
}


/* =========================================
   FOOTER
========================================= */

.login-footer {
    margin-top: 28px;

    padding-top: 20px;

    border-top:
        1px solid
        #edf0f5;

    text-align: center;

    font-size: 12px;

    color: #9aa1b1;
}


/* =========================================
   RESPONSIVE - TABLET
========================================= */

@media (
    max-width: 600px
) {

    body {
        padding:
            20px
            14px;
    }


    .login-card {
        padding:
            34px
            25px;

        border-radius: 18px;
    }


    .login-logo h1 {
        font-size: 27px;
    }


    .login-logo-circle {
        width: 52px;

        height: 52px;

        font-size: 24px;

        border-radius: 14px;
    }

}


/* =========================================
   RESPONSIVE - MOBILE
========================================= */

@media (
    max-width: 400px
) {

    .login-card {
        padding:
            28px
            18px;
    }


    .login-logo {
        margin-bottom: 26px;
    }


    .login-logo h1 {
        font-size: 24px;
    }


    .form-group {
        margin-bottom: 17px;
    }


    .form-control {
        height: 50px;

        font-size: 14px;
    }


    .login-btn {
        height: 50px;
    }

}

.DBrosLogo{
    height: 70px;
    width: 100%;
}