/* TradesAid Global Styles */

/* CSS Variables (Design System) */
:root {
    --primary-color: #1e3a8a;
    --primary-dark: #1e40af;
    --secondary-color: #3b82f6;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --success-color: #22c55e;
    --background-color: #f8fafc;
    --surface-color: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --transition: all 0.2s ease-in-out;
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* Global Resets */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

a:hover {
    color: var(--primary-dark);
}

/* Global Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Global Form Styles */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background-color: var(--surface-color);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Global Card Styles */
.card {
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
}

.card-body {
    padding: 1.5rem;
}

/* Improved loading and error states */
#blazor-error-ui {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    bottom: 0;
    box-shadow: var(--shadow-lg);
    display: none;
    left: 0;
    padding: 1rem 1.5rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    color: white;
    font-weight: 500;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

#blazor-error-ui .dismiss {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
    float: right;
    font-weight: bold;
    padding: 0.5rem 0.75rem;
    transition: var(--transition);
}

#blazor-error-ui .dismiss:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Loading states */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Focus states for accessibility */
.btn:focus-visible,
.form-control:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Responsive utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Utility classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* Legacy compatibility */
.app-container {
    margin: auto;
    max-width: 1200px;
    padding: 0 1rem;
    overflow: visible;
}

.btn-delete-user {
    background: var(--danger-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-delete-user:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* Validation styles - Bootstrap compatible */
.validation-message {
    color: var(--danger-color);
    display: none;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    width: 100%;
    font-weight: 500;
}

.invalid ~ .validation-message { 
    display: block; 
}

.form-control.invalid {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23ef4444' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
    background-position: right calc(0.375em + 0.1875rem) center;
    background-repeat: no-repeat;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
    border-color: var(--danger-color);
    padding-right: calc(1.5em + 0.75rem);
}

.form-control.invalid:focus {
    border-color: var(--danger-color);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

textarea.form-control.invalid {
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
    padding-right: calc(1.5em + 0.75rem);
}

.form-check-input.invalid ~ .form-check-label { 
    color: var(--danger-color); 
}

.form-check-input.invalid ~ .validation-message { 
    display: block; 
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    /* Adjust font sizes */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 0.75rem;
    }
    
    /* Mobile-first adjustments */
    body {
        font-size: 0.9rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.25rem; }
    h3 { font-size: 1.125rem; }
    
    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
    
    .form-control {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-header {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 0.5rem;
    }
    
    body {
        font-size: 0.875rem;
    }
    
    h1 { font-size: 1.375rem; }
    h2 { font-size: 1.125rem; }
    h3 { font-size: 1rem; }
    
    .btn {
        padding: 0.5rem 0.875rem;
        font-size: 0.8rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .form-control {
        padding: 0.625rem;
        font-size: 0.875rem;
    }
    
    .card-header {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    /* Stack elements vertically on small screens */
    .d-flex {
        flex-direction: column !important;
        gap: 0.5rem;
    }
    
    .text-center { text-align: center !important; }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
        box-shadow: var(--shadow-sm);
    }
    
    a:hover {
        color: var(--primary-color);
    }
    
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        min-width: 44px;
    }
    
    .form-control {
        min-height: 44px;
    }
}

/* High DPI screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Landscape mobile orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .card {
        margin: 0.5rem 0;
    }
    
    .card-header {
        padding: 0.5rem 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Dark mode support - disabled for now to fix login visibility */
@media (prefers-color-scheme: dark) and (display: none) {
    :root {
        --background-color: #1a1a1a;
        --surface-color: #2d2d2d;
        --text-primary: #ffffff;
        --text-secondary: #b3b3b3;
        --border-color: #404040;
    }
    
    .card {
        background: var(--surface-color);
        border-color: var(--border-color);
    }
    
    .form-control {
        background: var(--surface-color);
        border-color: var(--border-color);
        color: var(--text-primary);
    }
    
    .form-control::placeholder {
        color: var(--text-secondary);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Print styles */
@media print {
    body {
        background: white !important;
        color: black !important;
    }
    
    .btn,
    .card {
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    a {
        text-decoration: underline !important;
    }
    
    /* Hide interactive elements */
    .btn,
    .loading-spinner,
    #blazor-error-ui {
        display: none !important;
    }
}

/* ===== REGISTRATION PAGE STYLES ===== */
/* Modern Registration Page Styles */
.registration-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.registration-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.registration-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
}

.registration-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.registration-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.4);
}

.registration-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.registration-logo {
    width: 200px;
    height: auto;
    margin-bottom: 1.5rem;
    filter: brightness(0.7) contrast(1.1) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.registration-logo:hover {
    transform: scale(1.02);
    filter: brightness(1.0) contrast(1.4) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    background: rgba(255, 255, 255, 0.12);
}

.registration-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.registration-subtitle {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
    font-weight: 500;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.form-label i {
    color: #667eea;
    width: 16px;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background: rgba(255, 255, 255, 1);
}

.form-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.registration-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    min-height: 56px;
}

.registration-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.registration-btn:disabled {
    background: linear-gradient(135deg, #9ca3af 0%, #6b7280 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 4px rgba(156, 163, 175, 0.3);
}

.registration-btn:disabled .fa-spinner {
    animation: spin 1s linear infinite;
}

.btn-text {
    font-weight: 700;
    letter-spacing: 0.025em;
}

.disclaimer-section {
    margin: 1.5rem 0;
}

.disclaimer-card {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.1);
}

.disclaimer-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.disclaimer-header i {
    color: #f59e0b;
    font-size: 1.25rem;
}

.disclaimer-header h4 {
    color: #92400e;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

.disclaimer-content {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.disclaimer-content p {
    margin-bottom: 0.75rem;
}

.disclaimer-content strong {
    font-weight: 700;
}

.disclaimer-content ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.disclaimer-content li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.disclaimer-contact {
    font-size: 0.85rem;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.disclaimer-contact a {
    color: #f59e0b;
    text-decoration: none;
    font-weight: 600;
}

.disclaimer-contact a:hover {
    text-decoration: underline;
}

.disclaimer-agreement {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f59e0b;
}

.disclaimer-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: #92400e;
}

.signin-section {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.signin-text {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.signin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #667eea;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #667eea;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(102, 126, 234, 0.05);
    cursor: pointer;
    font-family: inherit;
}

.signin-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Responsive Design for Registration Page */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .registration-card {
        padding: 2rem 1.5rem;
        margin: 0.5rem;
    }
    
    .registration-title {
        font-size: 2rem;
    }
    
    .registration-logo {
        width: 170px;
    }
}

@media (max-width: 480px) {
    .registration-card {
        padding: 1.5rem 1rem;
    }
    
    .registration-title {
        font-size: 1.75rem;
    }
    
    .registration-logo {
        width: 150px;
    }
    
    .form-input {
        padding: 0.875rem 1rem;
    }
    
    .registration-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow-lg);
    border-left: 4px solid;
    max-width: 400px;
    min-width: 300px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    animation: slideInRight 0.3s ease-out;
    pointer-events: auto;
    transition: var(--transition);
}

.toast.success {
    border-left-color: var(--success-color);
    color: #065f46;
}

.toast.error {
    border-left-color: var(--danger-color);
    color: #991b1b;
}

.toast.info {
    border-left-color: var(--secondary-color);
    color: #1e40af;
}

.toast.warning {
    border-left-color: var(--warning-color);
    color: #92400e;
}

.toast-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.toast.success .toast-icon {
    color: var(--success-color);
}

.toast.error .toast-icon {
    color: var(--danger-color);
}

.toast.info .toast-icon {
    color: var(--secondary-color);
}

.toast.warning .toast-icon {
    color: var(--warning-color);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.toast-message {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

.toast-close {
    background: none;
    border: none;
    color: inherit;
    opacity: 0.6;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: var(--transition);
    flex-shrink: 0;
}

.toast-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.removing {
    animation: slideOutRight 0.3s ease-in forwards;
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Loading Spinner Enhancement */
.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Button Loading State Enhancement */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    opacity: 0.7;
}

.btn-loading i.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Success Button State */
.add-btn.success {
    background: linear-gradient(135deg, var(--success-color), #16a34a) !important;
    color: white !important;
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.add-btn.success:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.add-btn.success i {
    color: white !important;
}

/* Improved Focus States for Accessibility */
button:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Better Disabled State */
button:disabled,
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Progress Bar Enhancement */
.progress-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    height: 8px;
}

.progress-fill {
    background: linear-gradient(90deg, var(--accent-color), var(--secondary-color));
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}