/* Login Page Styles */
.login-page {
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 100vh;
    overflow: hidden;
}

/* Left Side - Brand Section */
.login-left {
    background: linear-gradient(135deg, #C31230 0%, #7A0B1F 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-left::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.03) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255,255,255,0.03) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255,255,255,0.03) 75%);
    background-size: 60px 60px;
    animation: moveBackground 30s linear infinite;
}

@keyframes moveBackground {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.brand-overlay {
    position: relative;
    z-index: 2;
    padding: 60px;
    width: 100%;
    max-width: 600px;
}

.brand-content {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.brand-subtitle {
    font-size: 2rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.brand-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35, #E14B62);
    margin: 30px 0;
    border-radius: 2px;
}

.brand-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 40px;
}

.stats-preview {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.stat-item i {
    font-size: 2.5rem;
    color: #E14B62;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Features List (for signup) */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 50px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #E14B62;
}

/* Right Side - Form Section */
.login-right {
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow-y: auto;
}

.login-form-container {
    width: 100%;
    max-width: 480px;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.signup-form-container {
    max-width: 600px;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #C31230, #E14B62);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
}

.welcome-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.subtitle-text {
    font-size: 1rem;
    color: var(--text-light);
}

.login-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--brand-light);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--brand-light);
    box-shadow: 0 0 0 4px rgba(195, 18, 48, 0.1);
}

.password-input-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    padding: 8px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--brand-light);
}

.error-message {
    display: block;
    color: var(--danger-red);
    font-size: 0.875rem;
    margin-top: 6px;
}

.help-text {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 6px;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.forgot-password {
    font-size: 0.95rem;
    color: var(--brand-light);
    font-weight: 600;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #C31230, #E31837);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(195, 18, 48, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.security-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: #FDF2F4;
    border-radius: 8px;
    color: var(--brand-primary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.security-badge i {
    font-size: 1.2rem;
    color: var(--success-green);
}

.signup-link {
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-light);
}

.signup-link a {
    color: var(--brand-light);
    font-weight: 600;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: normal !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--text-light);
}

.password-strength {
    margin-top: 8px;
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.password-strength.weak {
    background: var(--danger-red);
    width: 33%;
}

.password-strength.medium {
    background: var(--warning-yellow);
    width: 66%;
}

.password-strength.strong {
    background: var(--success-green);
    width: 100%;
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border-radius: 20px;
    z-index: 1000;
}

.loading-overlay p {
    font-size: 1.1rem;
    color: var(--brand-primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .login-form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .login-form-container {
        padding: 30px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .brand-title {
        font-size: 2.5rem;
    }
    
    .brand-subtitle {
        font-size: 1.5rem;
    }
}


.logo-section .logo-img {
    height: 90px;
    margin-bottom: 8px;
}
