/*
|--------------------------------------------------------------------------
| Login Page
|--------------------------------------------------------------------------
*/

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    background: #f5f7fb;
    color: var(--dark-color);
}

.login-wrapper {
    min-height: 100vh;
    padding: 30px;
}


/*
|--------------------------------------------------------------------------
| Main Card
|--------------------------------------------------------------------------
*/

.login-card {
    width: 100%;
    max-width: 1100px;
    min-height: 650px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}


/*
|--------------------------------------------------------------------------
| Branding
|--------------------------------------------------------------------------
*/

.login-brand-panel {
    position: relative;
    min-height: 650px;
    overflow: hidden;
    padding: 55px 45px;
    color: #ffffff;
    background: linear-gradient(145deg, #5148e8 0%, #776eff 50%, #19bba8 130%);
}

.login-brand-panel::before,
.login-brand-panel::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.login-brand-panel::before {
    width: 360px;
    height: 360px;
    right: -150px;
    top: -120px;
}

.login-brand-panel::after {
    width: 280px;
    height: 280px;
    left: -150px;
    bottom: -100px;
}


.brand-content {
    max-width: 460px;
}


.brand-logo {
    width: 145px;
    height: auto;
    object-fit: contain;
    margin-bottom: 40px;
}


.brand-heading {
    font-size: 38px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 20px;
}


.brand-description {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}


.benefit-list {
    padding: 0;
    margin: 0;
    list-style: none;
}


.benefit-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #374151;
    font-size: 15px;
}


.benefit-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ffffff;
}


/*
|--------------------------------------------------------------------------
| Form Panel
|--------------------------------------------------------------------------
*/

.login-form-panel {
    height: 100%;
    min-height: 650px;
    padding: 60px;
    display: flex;
    align-items: center;
    background: #ffffff;
}


.login-form-content {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}


/*
|--------------------------------------------------------------------------
| Badge
|--------------------------------------------------------------------------
*/

.small-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #6b7280;
    margin-bottom: 12px;
}


/*
|--------------------------------------------------------------------------
| Title
|--------------------------------------------------------------------------
*/

.login-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
}


.login-subtitle {
    color: #6b7280;
    margin-bottom: 30px;
}


/*
|--------------------------------------------------------------------------
| Form
|--------------------------------------------------------------------------
*/

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
}


.form-control {
    min-height: 48px;
    border-color: #dfe3eb;
    box-shadow: none;
}


.form-control:focus {
    border-color: #7c8cff;
    box-shadow: 0 0 0 3px rgba(124, 140, 255, 0.12);
}


.input-group-text {
    min-height: 48px;
    background: #ffffff;
    border-color: #dfe3eb;
}


.country-code {
    font-weight: 600;
    color: #374151;
}


/*
|--------------------------------------------------------------------------
| Login Button
|--------------------------------------------------------------------------
*/

.btn-login {
    min-height: 50px;
    border-radius: 8px;
    font-weight: 600;
    border: 0;
    transition: all 0.2s ease;
}


.btn-login:hover {
    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| Social Login
|--------------------------------------------------------------------------
*/

.login-divider {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
    color: #9ca3af;
    font-size: 13px;
    font-weight: 600;
}


.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}


.social-login-list {
    display: grid;
    gap: 10px;
}


.social-login-btn {
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #dfe3eb;
    border-radius: 8px;
    color: #374151;
    font-weight: 600;
    background: #ffffff;
}


.social-login-btn:hover {
    border-color: #7c8cff;
    color: #111827;
    background: #f9fafb;
}


.social-login-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 20px;
}


.social-login-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}


.social-login-icon-linkedin {
    color: #0a66c2;
}


.social-login-icon-facebook {
    color: #1877f2;
}


.social-login-icon-github {
    color: #24292f;
}


/*
|--------------------------------------------------------------------------
| OTP Section
|--------------------------------------------------------------------------
*/

.otp-section {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #eeeeee;
}


.otp-header {
    margin-bottom: 20px;
}


.otp-header h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}


.otp-header p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
}


.otp-input {
    text-align: center;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 8px;
}


/*
|--------------------------------------------------------------------------
| Errors
|--------------------------------------------------------------------------
*/

.field-error {
    min-height: 20px;
    margin-top: 5px;
    font-size: 13px;
    color: #dc3545;
}


.alert {
    font-size: 14px;
}


/*
|--------------------------------------------------------------------------
| Links
|--------------------------------------------------------------------------
*/

.resend-btn,
.change-number-btn {
    text-decoration: none;
    font-size: 14px;
}


.resend-btn:disabled {
    opacity: 0.6;
}


.signup-link {
    font-weight: 600;
    text-decoration: none;
}


/*
|--------------------------------------------------------------------------
| Copyright
|--------------------------------------------------------------------------
*/

.copyright {
    margin-top: 35px;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {

    .login-wrapper {
        padding: 15px;
    }

    .login-card {
        max-width: 550px;
        min-height: auto;
    }

    .login-brand-panel {
        min-height: auto;
        padding: 40px;
    }

    .brand-content {
        max-width: 100%;
        text-align: center;
    }

    .brand-logo {
        margin-bottom: 25px;
        width: 120px;
    }

    .brand-heading {
        font-size: 28px;
    }

    .benefit-list {
        display: none;
    }

    .login-form-panel {
        min-height: auto;
        padding: 40px;
    }

}


@media (max-width: 575px) {

    .login-wrapper {
        padding: 10px;
    }

    .login-card {
        border-radius: 12px;
    }

    .login-brand-panel {
        padding: 30px 20px;
    }

    .login-form-panel {
        padding: 30px 20px;
    }

    .brand-heading {
        font-size: 24px;
    }

    .login-title {
        font-size: 26px;
    }

    .otp-input {
        letter-spacing: 5px;
    }

}
