/* Business Login Page Styles - YourPensya Business Portal */
@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@100..900&display=swap');

:root {
    /* Business-themed gradients (Teal/Green instead of Purple) */
    --primary-gradient: linear-gradient(135deg, #0891b2 0%, #059669 100%);
    --secondary-gradient: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
    --accent-gradient: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --white: #ffffff;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.15);
    --glow: 0 0 20px rgba(8, 145, 178, 0.3);
    
    /* Business accent colors */
    --business-primary: #0891b2;
    --business-secondary: #059669;
    --business-accent: #06b6d4;
    --business-success: #10b981;
    --business-warning: #f59e0b;
    --business-light: #f0fdfa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure Heebo font for ALL text elements */
*, *::before, *::after {
    font-family: 'Heebo', sans-serif !important;
}

/* Preserve FontAwesome icons in Login */
.fas, .far, .fab, .fal, .fa,
i[class*="fa-"], 
[class*="fa-"]::before,
button i, a i, span i,
.btn i, .input-icon i {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands", "FontAwesome" !important;
    font-weight: 900 !important;
}

/* Ultimate FontAwesome fix for Login */
[class^="fa-"], [class*=" fa-"],
[class^="fas"], [class*=" fas"],
[class^="far"], [class*=" far"],
[class^="fab"], [class*=" fab"],
[class^="fal"], [class*=" fal"],
i.fas, i.far, i.fab, i.fal, i.fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Pro", "Font Awesome 6 Brands" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
}

body {
    font-family: 'Heebo', sans-serif !important;
    /* Business-themed background gradient */
    background: linear-gradient(135deg, #0891b2 0%, #059669 50%, #06b6d4 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    direction: rtl;
    position: relative;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
}

/* Animated Background */
body::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
    z-index: 0;
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 0;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.login-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    min-width: 400px;
    max-width: 600px;
    padding: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
}

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

/* Login Header */
.login-header {
    background: var(--primary-gradient);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/><circle cx="50" cy="50" r="25" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/><circle cx="50" cy="50" r="10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></svg>');
    animation: rotate 30s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.logo-container {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 10px rgba(255, 255, 255, 0.1); }
}

.logo img {
    width: 40px;
    height: 40px;
    filter: brightness(0) invert(1);
}

.login-title {
    color: white;
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.login-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    position: relative;
    z-index: 2;
}

.login-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 400;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

/* Business Badge */
.business-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.business-badge i {
    font-size: 1rem;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: floatDot 6s ease-in-out infinite;
}

.floating-dot:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.floating-dot:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-dot:nth-child(3) {
    bottom: 25%;
    left: 25%;
    animation-delay: 4s;
}

@keyframes floatDot {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.5); opacity: 1; }
}

/* Login Form */
.login-form {
    padding: 2.5rem 2rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--business-primary);
}

.form-control {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
    direction: rtl;
    font-family: 'Heebo', sans-serif !important;
}

.form-control:focus {
    outline: none;
    border-color: var(--business-primary);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.1);
    transform: translateY(-2px);
}

.input-icon {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    z-index: 5;
    display: none; /* Hide input icons */
}

.form-group:focus-within .input-icon {
    color: var(--business-primary);
    transform: translateY(-50%) scale(1.1);
}

.input-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--secondary-gradient);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.form-group:focus-within .input-highlight {
    transform: scaleX(1);
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 16px;
    background: var(--primary-gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    font-family: 'Heebo', sans-serif !important;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(8, 145, 178, 0.3);
}

.login-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.3);
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-background {
    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;
    z-index: 1;
}

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

/* Alert Messages */
.alert {
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border: 1px solid;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

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

.alert.alert-success {
    background: #f0f9ff;
    border-color: var(--business-success);
    color: #065f46;
}

.alert.alert-danger {
    background: #fef2f2;
    border-color: #ef4444;
    color: #dc2626;
}

.alert.alert-warning {
    background: #fffbeb;
    border-color: var(--business-warning);
    color: #d97706;
}

/* Loading Indicator */
.loading {
    display: none;
    text-align: center;
    padding: 2rem 0;
    animation: fadeIn 0.3s ease-out;
}

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

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-left: 4px solid var(--business-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Help Section */
.help-section {
    background: var(--business-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(8, 145, 178, 0.1);
}

.help-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.help-item:last-child {
    margin-bottom: 0;
}

.help-item i {
    color: var(--business-primary);
    font-size: 1rem;
    min-width: 16px;
}

/* Footer */
.footer-text {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}

.admin-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.admin-link a {
    color: var(--business-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.admin-link a:hover {
    color: var(--business-secondary);
    transform: translateY(-1px);
}

/* Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .login-header {
        padding: 2rem 1.5rem;
    }
    
    .login-title {
        font-size: 1.8rem;
    }
    
    .login-form {
        padding: 2rem 1.5rem;
    }
    
    .help-section {
        padding: 1rem;
    }
    
    .help-item {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }
    
    .login-container {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .login-header {
        padding: 1.5rem 1rem;
    }
    
    .login-title {
        font-size: 1.6rem;
    }
    
    .login-subtitle {
        font-size: 1rem;
    }
    
    .login-description {
        font-size: 0.9rem;
    }
    
    .business-badge {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .login-form {
        padding: 1.5rem 1rem;
    }
    
    .form-control {
        padding: 0.875rem 0.875rem 0.875rem 2.5rem;
        font-size: 0.95rem;
    }
    
    .input-icon {
        right: 0.75rem;
    }
    
    .login-btn {
        padding: 0.875rem;
        font-size: 1rem;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .login-container {
        border: 2px solid var(--business-primary);
    }
    
    .form-control {
        border-width: 2px;
    }
    
    .form-control:focus {
        border-width: 3px;
    }
}

/* Compact Modern Password Change Modal Styles */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-2xl);
    direction: rtl;
}

/* Compact Modal Design */
.compact-modal {
    border-radius: 20px;
    border: none;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(8, 145, 178, 0.1),
        0 0 40px rgba(8, 145, 178, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98);
    overflow: hidden;
}

.compact-header {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    color: white;
    border: none;
    padding: 1.5rem;
    position: relative;
}

.compact-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.compact-header .modal-title {
    font-weight: 700;
    font-size: 1.25rem;
    position: relative;
    z-index: 2;
}

.compact-header .btn-close {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
}

.compact-header .btn-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.compact-body {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.compact-footer {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(8, 145, 178, 0.1);
    border-radius: 0 0 20px 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem;
}

/* Enhanced Modal Animation */
.modal.fade .modal-dialog {
    transform: scale(0.85) translateY(-20px);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.show .modal-dialog {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Business-themed Modal Backdrop */
.modal-backdrop {
    background: rgba(8, 145, 178, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-backdrop.show {
    opacity: 1;
    animation: businessBlurFade 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes businessBlurFade {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.compact-alert {
    background: rgba(219, 234, 254, 0.8);
    border: 1px solid rgba(8, 145, 178, 0.2);
    color: var(--business-primary);
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

/* Input Wrapper Styles */
.input-wrapper {
    position: relative;
    margin-bottom: 0.75rem;
}

.input-wrapper .form-control {
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all var(--transition-normal);
    background: var(--white);
    direction: rtl;
    text-align: right;
}

.input-wrapper .form-control:focus {
    outline: none;
    border-color: var(--business-primary);
    box-shadow: 0 0 0 4px rgba(8, 145, 178, 0.1);
    transform: translateY(-2px);
}

.toggle-password {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.toggle-password:hover {
    color: var(--business-primary);
    transform: translateY(-50%) scale(1.1);
}

.modal-header {
    background: var(--primary-gradient);
    color: white;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: none;
    padding: 1.5rem;
}

.modal-title {
    font-weight: 700;
    font-size: 1.25rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Enhanced Password Strength Indicator */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all var(--transition-normal);
    border-radius: 3px;
    position: relative;
}

.strength-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
    border-radius: 3px 3px 0 0;
}

.strength-fill.weak { 
    width: 25%; 
    background: var(--danger-color); 
}

.strength-fill.fair { 
    width: 50%; 
    background: var(--business-warning); 
}

.strength-fill.good { 
    width: 75%; 
    background: var(--business-primary); 
}

.strength-fill.strong { 
    width: 100%; 
    background: var(--business-success); 
}

.strength-fill.medium {
    width: 66%;
    background: var(--business-warning);
}

.strength-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-family: 'Heebo', sans-serif;
}

/* Password Requirements */
.password-requirements {
    background: var(--business-light);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(8, 145, 178, 0.1);
}

.password-requirements h6 {
    color: var(--business-primary);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

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

.requirement {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.requirement:last-child {
    margin-bottom: 0;
}

.requirement i {
    font-size: 0.5rem;
    color: var(--text-muted);
    transition: all var(--transition-normal);
}

.requirement.met {
    color: var(--business-success);
}

.requirement.met i {
    color: var(--business-success);
}

/* Input Group Styling */
.input-group .btn-outline-secondary {
    border-color: var(--border-color);
    color: var(--text-secondary);
}

.input-group .btn-outline-secondary:hover {
    background: var(--bg-tertiary);
    border-color: var(--business-primary);
    color: var(--business-primary);
}

.input-group .form-control:focus + .btn-outline-secondary {
    border-color: var(--business-primary);
    color: var(--business-primary);
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 1rem;
    }
    
    .password-requirements {
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .modal-header,
    .modal-footer {
        padding: 0.75rem;
    }
    
    .modal-title {
        font-size: 1.1rem;
    }
    
    .requirement {
        font-size: 0.85rem;
    }
}

/* Modal Animation Enhancement */
.modal.fade .modal-dialog {
    transform: translateY(-50px) scale(0.95);
    transition: all 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: translateY(0) scale(1);
}

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

/* Mobile Overflow Fix */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .particles {
        display: none !important;
    }
    
    .floating-elements {
        display: none !important;
    }
    
    body::before {
        animation: none !important;
        transform: none !important;
    }
    
    .login-container {
        margin: 10px !important;
        max-width: calc(100vw - 20px) !important;
        width: 100% !important;
    }
    
    .login-container:hover {
        transform: perspective(1000px) rotateX(0deg) translateY(0px) !important;
    }
}
