/* ========================================
   Experian Login Page Styles
   ======================================== */

:root {
    --gold: #D4AF37;
    --gold-dark: #B8941F;
    --primary-black: #000000;
    --secondary-black: #1a1a1a;
    --dark-gray: #2d2d2d;
    --medium-gray: #666666;
    --light-gray: #e5e5e5;
    --pure-white: #ffffff;
}

/* Login Section */
.login-section {
    min-height: calc(100vh - 70px);
    background: linear-gradient(135deg, #f9f9f9 0%, #e5e5e5 100%);
    padding: 100px 20px 60px;
    display: flex;
    align-items: center;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Login Box */
.login-box {
    background: var(--pure-white);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 50px 40px;
    animation: fadeInLeft 0.6s ease;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
}

.logo-icon i {
    font-size: 2.5rem;
    color: var(--primary-black);
}

.login-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-black);
    margin-bottom: 10px;
}

.login-header p {
    color: var(--medium-gray);
    font-size: 1rem;
}

/* Login Form */
.login-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: var(--medium-gray);
    font-size: 1.1rem;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--pure-white);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.toggle-password {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--medium-gray);
    cursor: pointer;
    padding: 5px;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--gold);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--gold);
}

.forgot-password {
    color: var(--gold);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-black);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 25px 0;
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--light-gray);
}

.divider span {
    padding: 0 15px;
}

/* Secondary Button */
.btn-secondary {
    width: 100%;
    padding: 15px;
    background: var(--pure-white);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
}

/* Security Notice */
.security-notice {
    text-align: center;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

/* Info Panel */
.info-panel {
    background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
    border-radius: 15px;
    padding: 50px 40px;
    color: var(--pure-white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: fadeInRight 0.6s ease;
}

.info-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--pure-white);
}

.info-content > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Features List */
.features-list {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-item i {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--pure-white);
}

.feature-item p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
}

/* Support Box */
.support-box {
    background: rgba(212, 175, 55, 0.1);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.support-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--gold);
}

.support-box p {
    margin: 10px 0;
    font-size: 1rem;
}

.support-box .hours {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 15px;
}

/* Error Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--pure-white);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 30px;
    text-align: center;
    border-bottom: 2px solid var(--light-gray);
}

.modal-header i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.5rem;
    color: var(--primary-black);
    margin: 0;
}

.modal-body {
    padding: 30px;
    text-align: center;
}

.modal-body p {
    font-size: 1.1rem;
    color: var(--dark-gray);
    line-height: 1.6;
}

.modal-footer {
    padding: 20px 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    border-top: 2px solid var(--light-gray);
}

.btn-close,
.btn-retry {
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.btn-close:hover {
    background: var(--medium-gray);
    color: var(--pure-white);
}

.btn-retry {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--primary-black);
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .login-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-panel {
        order: -1;
    }

    .login-box {
        padding: 40px 30px;
    }

    .info-panel {
        padding: 40px 30px;
    }
}

@media (max-width: 600px) {
    .login-section {
        padding: 80px 15px 40px;
    }

    .login-box {
        padding: 30px 20px;
    }

    .info-panel {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 1.5rem;
    }

    .info-content h2 {
        font-size: 1.5rem;
    }

    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .modal-content {
        width: 95%;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        flex-direction: column;
    }

    .btn-close,
    .btn-retry {
        width: 100%;
    }
}

/* Loading State */
.btn-login.loading .btn-text {
    display: none;
}

.btn-login.loading .btn-loader {
    display: inline-flex;
}
