﻿﻿﻿﻿﻿﻿﻿﻿﻿﻿/* ====== Reset ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ====== Additional Form Styles ====== */
.form-description {
    color: #6b7280;
    font-size: 0.95rem;
}

.field-help-expanded {
    display: block !important;
    max-height: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.password-requirements {
    margin-left: 24px;
}

.password-requirements ul {
    list-style-type: disc;
    margin-left: 15px;
    margin-top: 5px;
}

.form-options-column {
    flex-direction: column !important;
    align-items: flex-start !important;
}

.policy-note {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 5px;
    margin-left: 28px;
}

/* ====== Enhanced Notification System ====== */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 1000;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification.show::before {
    opacity: 1;
}

/* ====== Body Background ====== */
/* Use main style.css background - no override */
body {
    min-height: 100vh;
    position: relative;
    color: #111827;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    backdrop-filter: blur(1px);
    pointer-events: none;
}

/* ====== Main Container ====== */
.main-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

/* ====== Left Panel ====== */
.left-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.login-container {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c4623b, #32CD32, #c4623b);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

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

.logo-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #c4623b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: rgba(196, 98, 59, 0.1);
}

.logo-icon i {
    font-size: 1.5rem;
    color: #c4623b;
}

.login-header h1 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 10px;
}

/* ====== Floating Label Effect ====== */
.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 20px;
    font-size: 1rem;
    color: #4b5563;
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 4px;
    z-index: 1;
    opacity: 0;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -8px;
    left: 16px;
    font-size: 0.8rem;
    color: #c4623b;
    font-weight: 600;
    opacity: 1;
}

.form-group input:focus + label {
    color: #c4623b;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    color: #111827;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input[type="password"] {
    padding-right: 50px;
}

.form-group input:focus {
    outline: none;
    border-color: #c4623b;
    box-shadow: 0 0 0 3px rgba(196, 98, 59, 0.1);
    transform: translateY(-1px);
}

.form-group input:focus + .field-help {
    transform: translateY(2px);
    background: rgba(196, 98, 59, 0.08);
}

.form-group input::placeholder {
    color: #4b5563;
}

/* ====== Field Help Text - Always Visible ====== */
.field-help {
    display: flex;
    align-items: center;
    margin-top: 6px;
    padding: 8px 12px;
    background: rgba(196, 98, 59, 0.05);
    border-radius: 6px;
    border-left: 3px solid #c4623b;
    font-size: 0.85rem;
    color: #4b5563;
    line-height: 1.4;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    max-height: none;
    overflow: visible;
    pointer-events: auto;
}

/* Hover effect removed to keep help text always visible */
/*
.form-group:hover .field-help {
    opacity: 1;
    max-height: 50px;
    margin-top: 8px;
    pointer-events: auto;
}
*/

.field-help i {
    margin-right: 8px;
    color: #c4623b;
    font-size: 0.9rem;
}

/* ====== Validation Messages ====== */
.validation-message {
    margin-top: 6px;
    padding: 0;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    min-height: 0;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    overflow: hidden;
}

.validation-message:not(:empty) {
    padding: 6px 12px;
    min-height: 20px;
}

.validation-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border-left: 3px solid #dc2626;
    animation: shake 0.5s ease-in-out;
}

.validation-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border-left: 3px solid #16a34a;
    animation: slideIn 0.3s ease-out;
}

.validation-message.warning {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    border-left: 3px solid #d97706;
    animation: pulse 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes slideIn {
    0% { transform: translateY(-10px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ====== Password Toggle Button ====== */
.form-group input[type="password"] {
    padding-right: 50px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 16px;
    cursor: pointer;
    color: #6b7280;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    z-index: 20;
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    outline: none;
}

.password-toggle:hover {
    color: #c4623b;
}

.password-toggle i {
    pointer-events: none;
}

/* ====== Password Strength Indicator ====== */
.password-strength {
    margin-top: 6px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 6px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.strength-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.strength-fill.weak {
    width: 25%;
    background: #ef4444;
}

.strength-fill.fair {
    width: 50%;
    background: #f59e0b;
}

.strength-fill.good {
    width: 75%;
    background: #3b82f6;
}

.strength-fill.strong {
    width: 100%;
    background: #10b981;
}

.strength-text {
    font-size: 0.8rem;
    color: #4b5563;
    font-weight: 500;
}

/* ====== Input Validation States ====== */
.form-group input.valid {
    border-color: #16a34a;
    background: rgba(34, 197, 94, 0.02);
}

.form-group input.invalid {
    border-color: #dc2626;
    background: rgba(239, 68, 68, 0.02);
}

.form-group input.warning {
    border-color: #d97706;
    background: rgba(245, 158, 11, 0.02);
}

.form-group input:focus.valid {
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-group input:focus.invalid {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input:focus.warning {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

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

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    accent-color: #c4623b;
}

.checkbox-text {
    font-size: 0.9rem;
    color: #374151;
}

.forgot-password {
    font-size: 0.9rem;
    color: #c4623b;
    text-decoration: none;
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* ====== Login Button ====== */
.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #c4623b 0%, #6d7a42 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 98, 59, 0.3);
}

.login-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(196, 98, 59, 0.2);
}

.login-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

.login-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ====== Social Login ====== */
.social-login {
    text-align: center;
    margin-bottom: 20px;
}

.divider-text {
    font-size: 0.9rem;
    color: #4b5563;
    margin-bottom: 15px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(196, 98, 59, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.google-btn {
    color: #4285f4;
}

.social-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: #c4623b;
}

.social-btn:hover::before {
    opacity: 1;
}

.social-btn:active {
    transform: translateY(-1px) scale(1.02);
}

/* ====== Signup Link ====== */
.signup-link {
    text-align: center;
}

.signup-link p {
    font-size: 0.9rem;
    color: #4b5563;
}

.signup-link a {
    color: #c4623b;
    text-decoration: none;
    font-weight: 500;
}

.signup-link a:hover {
    text-decoration: underline;
}

/* ====== Sample Admin Account ====== */
.sample-account {
    margin-top: 30px;
    padding: 18px;
    background: #fffdf5;
    border: 1px solid rgba(196, 98, 59, 0.2);
    border-radius: 12px;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.05);
}

.sample-account h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-readable);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.sample-account h3 i {
    color: var(--tomato-red);
}

.sample-note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.sample-account p {
    margin: 6px 0;
    font-size: 0.95rem;
    color: #374151;
}

.sample-account code {
    background: rgba(196, 98, 59, 0.1);
    padding: 2px 6px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: #6b2f17;
    font-weight: 600;
}

.fill-form-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #c4623b 0%, #6d7a42 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.fill-form-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 98, 59, 0.4);
    background: linear-gradient(135deg, #d4734a 0%, #7d8a52 100%);
}

/* ====== Responsive Design ====== */
@media (max-width: 1200px) {
    .login-container {
        max-width: 480px;
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .left-panel {
        padding: 25px 15px;
        min-height: auto;
    }
    
    .login-container {
        max-width: 100%;
        padding: 25px 20px;
        margin: 0;
    }
    
    .right-panel {
        display: none;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group input {
        padding: 14px 16px;
    }
    
    .login-btn {
        padding: 14px;
        font-size: 1rem;
    }
}

/* ====== Right Panel ====== */
.right-panel {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(196, 98, 59, 0.1);
}

/* Half-circle overlapping effect */
.right-panel::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -100px;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(196, 98, 59, 0.8) 0%, rgba(109, 122, 66, 0.8) 100%);
    border-radius: 50%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1;
}

.promo-content {
    text-align: center;
    color: #1f2937;
    z-index: 2;
    position: relative;
    max-width: 400px;
}

.promo-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1f2937;
    text-shadow: none;
}

.promo-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 30px;
    text-shadow: none;
}

.cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.learn-more-btn {
    padding: 12px 24px;
    background: white;
    color: #c4623b;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.learn-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.play-btn {
    width: 45px;
    height: 45px;
    border: 2px solid white;
    border-radius: 50%;
    background: transparent;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: white;
    color: #c4623b;
    transform: translateY(-2px);
}

/* ====== Notifications ====== */
.notification {
    position: fixed;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.notification.show {
    top: 20px;
    opacity: 1;
}

.notification.success {
    background: rgba(34, 197, 94, 0.9);
    color: white;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.notification.error {
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.notification.info {
    background: rgba(59, 130, 246, 0.9);
    color: white;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

/* ====== Responsive Design ====== */
@media screen and (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }
    
    .left-panel {
        padding: 20px;
    }
    
    .right-panel {
        padding: 20px;
        min-height: 300px;
    }
    
    .right-panel::before {
        left: 50%;
        top: -50px;
        transform: translateX(-50%);
    }
    
    .promo-content h2 {
        font-size: 2rem;
    }
    
    .promo-content p {
        font-size: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }
    
    .login-header h1 {
        font-size: 1.3rem;
    }
    
    .promo-content h2 {
        font-size: 1.8rem;
    }
}
