/* Professional Login Page Styles */

/* Global Professional Styles */
.professional-login {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0f172a;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Professional Background */
.professional-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.bg-gradient-primary {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #0f172a 0%, 
        #1e293b 25%, 
        #334155 50%, 
        #475569 75%, 
        #64748b 100%);
    opacity: 0.95;
}

.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    animation: patternFloat 20s ease-in-out infinite;
}

@keyframes patternFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(120deg); }
    66% { transform: translateY(5px) rotate(240deg); }
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(1px);
    animation: floatShape 15s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 10%;
    animation-delay: 5s;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 20%;
    left: 15%;
    animation-delay: 10s;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.shape-4 {
    width: 80px;
    height: 80px;
    top: 30%;
    left: 50%;
    animation-delay: 7s;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0px) translateX(0px) rotate(0deg); }
    25% { transform: translateY(-20px) translateX(10px) rotate(90deg); }
    50% { transform: translateY(10px) translateX(-15px) rotate(180deg); }
    75% { transform: translateY(-10px) translateX(5px) rotate(270deg); }
}

/* Main Professional Container */
.professional-container {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    position: relative;
    z-index: 1;
}

/* Left Panel - Login Form (now on the right side) */
.login-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(203, 213, 225, 0.3);
    position: relative;
}

.login-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.login-card {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 2;
    animation: slideInRight 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Brand Header */
.brand-header {
    margin-bottom: 3rem;
    text-align: left;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.logo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-icon:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
}

.logo-icon i {
    font-size: 1.8rem;
    color: white;
    animation: iconPulse 3s ease-in-out infinite;
}

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

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e293b 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text span {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Welcome Section */
.welcome-section {
    margin-bottom: 2.5rem;
    text-align: left;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 1rem 0;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.welcome-section p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* Professional Form */
.professional-form {
    margin-bottom: 2rem;
}

.form-field {
    margin-bottom: 1.5rem;
    position: relative;
}

.field-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    letter-spacing: 0.025em;
}

.field-label i {
    font-size: 0.85rem;
    color: #6b7280;
}

.input-container {
    position: relative;
}

.professional-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 400;
    background: white;
    color: #1e293b;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

.professional-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.professional-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.professional-input:hover:not(:focus) {
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 1px;
}

.professional-input:focus + .input-border {
    width: 100%;
}

/* Password Field */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input {
    padding-right: 3.5rem;
}

.password-toggle-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #6b7280;
    border-radius: 8px;
    transition: all 0.2s ease;
    z-index: 2;
}

.password-toggle-btn:hover {
    color: #374151;
    background: #f8fafc;
}

.password-toggle-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    padding: 0.25rem;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.checkbox-container:hover {
    background: #f8fafc;
}

.checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.checkbox-container input:checked + .checkbox-custom {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: #3b82f6;
    transform: scale(1.05);
}

.checkbox-container input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    animation: checkmarkSlide 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes checkmarkSlide {
    from {
        opacity: 0;
        transform: rotate(45deg) translateY(3px);
    }
    to {
        opacity: 1;
        transform: rotate(45deg) translateY(0);
    }
}

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

.forgot-password-link {
    font-size: 0.9rem;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.forgot-password-link:hover {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.05);
    text-decoration: underline;
}

/* Professional Buttons */
.professional-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.professional-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 ease;
}

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

.professional-btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    width: 100%;
    padding: 1.125rem 1.5rem;
    font-size: 1.05rem;
    position: relative;
}

.professional-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.professional-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.professional-btn-outline {
    background: transparent;
    color: #3b82f6;
    border-color: #3b82f6;
}

.professional-btn-outline:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-1px);
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: opacity 0.3s ease;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.professional-btn.loading .btn-content {
    opacity: 0;
}

.professional-btn.loading .btn-loading {
    opacity: 1;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Social Divider */
.social-divider {
    text-align: center;
    margin: 2rem 0 1.5rem;
    position: relative;
}

.social-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.social-divider span {
    background: white;
    color: #64748b;
    padding: 0 1.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
}

/* Social Auth */
.social-auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1rem;
    border: 2px solid #e2e8f0;
    background: white;
    color: #374151;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

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

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

.social-btn:hover {
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.google-btn:hover {
    border-color: #db4437;
    color: #db4437;
}

.microsoft-btn:hover {
    border-color: #00a1f1;
    color: #00a1f1;
}

/* Form Footer */
.form-footer {
    text-align: center;
    margin-bottom: 2rem;
}

.form-footer p {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #64748b;
}

.link-primary {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.link-primary:hover {
    color: #2563eb;
    background: rgba(59, 130, 246, 0.05);
    text-decoration: underline;
}

.link-secondary {
    color: #6b7280;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.link-secondary:hover {
    color: #374151;
    background: #f8fafc;
}

/* Security Badge */
.security-badge {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

.security-items {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.security-item i {
    font-size: 1.25rem;
    color: #10b981;
}

.security-item span {
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

/* Right Panel - Information (now on the left side) */
.info-panel {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 3rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.info-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    animation: panelPattern 25s ease-in-out infinite;
}

@keyframes panelPattern {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.info-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
    animation: slideInLeft 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Hero Section */
.hero-section {
    margin-bottom: 3rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
    backdrop-filter: blur(10px);
    animation: badgeGlow 3s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
    50% { box-shadow: 0 0 30px rgba(59, 130, 246, 0.5); }
}

.hero-badge i {
    font-size: 1rem;
    animation: badgeIconSpin 4s linear infinite;
}

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

.hero-section h3 {
    font-size: 2.25rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.6;
    font-weight: 400;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

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

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.stat-icon i {
    font-size: 1.25rem;
    color: white;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Features List */
.features-list {
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.feature-icon i {
    font-size: 1rem;
    color: white;
}

.feature-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin: 0 0 0.5rem 0;
}

.feature-content p {
    font-size: 0.9rem;
    color: #cbd5e1;
    margin: 0;
    line-height: 1.5;
}

/* Testimonial */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
    position: relative;
}

.testimonial-content {
    margin-bottom: 1.5rem;
}

.quote-icon {
    margin-bottom: 1rem;
}

.quote-icon i {
    font-size: 2rem;
    color: #3b82f6;
    opacity: 0.7;
}

.testimonial-content blockquote {
    font-size: 1rem;
    color: #e2e8f0;
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info strong {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.author-info span {
    color: #94a3b8;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.5rem;
}

.rating {
    display: flex;
    gap: 0.25rem;
}

.rating i {
    color: #fbbf24;
    font-size: 0.8rem;
}

/* Demo CTA */
.demo-cta {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.demo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.demo-header i {
    font-size: 1.5rem;
    color: #10b981;
}

.demo-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.demo-cta p {
    color: #cbd5e1;
    margin: 0 0 1.5rem 0;
    font-size: 0.95rem;
}

.demo-btn {
    background: rgba(16, 185, 129, 0.2);
    border-color: #10b981;
    color: #10b981;
}

.demo-btn:hover {
    background: #10b981;
    color: white;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 11000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-container {
    position: relative;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    padding: 2rem;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.modal-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: #f1f5f9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
}

.modal-close:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.success-modal .modal-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    animation: successPulse 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon i {
    font-size: 2rem;
    color: white;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.modal-body {
    margin-bottom: 2rem;
}

.modal-body p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Verification Notice */
.verification-notice {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-left: 4px solid #f59e0b;
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    animation: slideInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.verification-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.verification-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.verification-icon i {
    font-size: 1.25rem;
    color: white;
}

.verification-text {
    flex: 1;
}

.verification-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.verification-text p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 12000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(8px);
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-spinner-large {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.spinner-ring {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 4px solid transparent;
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(2) {
    animation-delay: 0.5s;
    border-top-color: rgba(255, 255, 255, 0.7);
}

.spinner-ring:nth-child(3) {
    animation-delay: 1s;
    border-top-color: rgba(255, 255, 255, 0.4);
}

#loading-text {
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* Error States */
.form-field.error .professional-input {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

.form-field.error .input-border {
    background: #ef4444;
    width: 100%;
}

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

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 3px solid #ef4444;
    animation: fadeInUp 0.3s ease-out;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .professional-container {
        grid-template-columns: 1fr;
    }
    
    .login-panel {
        border-left: none;
        border-top: 1px solid rgba(203, 213, 225, 0.3);
        order: 2;
    }
    
    .info-panel {
        padding: 2rem 1.5rem;
        order: 1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .stat-card {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-section h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .professional-container {
        min-height: auto;
    }
    
    .login-panel {
        padding: 1.5rem 1rem;
    }
    
    .login-card {
        max-width: 100%;
    }
    
    .welcome-section h2 {
        font-size: 1.75rem;
    }
    
    .brand-logo {
        justify-content: center;
        text-align: center;
    }
    
    .welcome-section {
        text-align: center;
    }
    
    .form-options {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .social-auth-container {
        grid-template-columns: 1fr;
    }
    
    .security-items {
        flex-direction: column;
        gap: 1rem;
    }
    
    .info-panel {
        padding: 1.5rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-section h3 {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .demo-cta {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .login-panel {
        padding: 1rem 0.75rem;
    }
    
    .brand-header {
        margin-bottom: 2rem;
    }
    
    .welcome-section {
        margin-bottom: 2rem;
    }
    
    .welcome-section h2 {
        font-size: 1.5rem;
    }
    
    .professional-input {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .professional-btn-primary {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .form-footer {
        margin-bottom: 1.5rem;
    }
    
    .info-panel {
        padding: 1rem 0.75rem;
    }
    
    .hero-section {
        margin-bottom: 2rem;
    }
    
    .hero-section h3 {
        font-size: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .features-list {
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-card {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .demo-cta {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        border-radius: 16px;
    }
    
    .verification-notice {
        padding: 1rem 1.25rem;
        border-radius: 12px;
    }
    
    .verification-content {
        flex-direction: column;
        text-align: center;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .professional-input {
        border-width: 3px;
    }
    
    .professional-btn {
        border-width: 3px;
    }
    
    .login-panel {
        border-left-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus management for accessibility */
.professional-input:focus-visible,
.professional-btn:focus-visible,
.checkbox-container:focus-visible,
.social-btn:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
    .login-panel {
        background: rgba(15, 23, 42, 0.98);
    }
    
    .professional-input {
        background: #1e293b;
        color: #e2e8f0;
        border-color: #475569;
    }
    
    .professional-input::placeholder {
        color: #64748b;
    }
    
    .welcome-section h2 {
        color: #e2e8f0;
    }
    
    .field-label {
        color: #cbd5e1;
    }
    
    .checkbox-text {
        color: #cbd5e1;
    }
    
    .modal-content {
        background: #1e293b;
        color: #e2e8f0;
    }
    
    .modal-header h2 {
        color: #e2e8f0;
    }
    
    .verification-notice {
        background: #1e293b;
    }
    
    .verification-text h4 {
        color: #e2e8f0;
    }
}