/* Modern CSS for OCR Processing Interface */

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

:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --border-radius: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 20px rgba(40, 167, 69, 0.5);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 0 30px rgba(40, 167, 69, 0.8);
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    color: var(--gray-800);
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
}

/* Step Progress Indicator */
.step-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

.step-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2px;
    background: #e5e7eb;
    transition: all 0.3s ease;
}

.step-item.active::after {
    background: #10b981;
}

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step-item.active .step-number {
    background: #10b981;
    color: white;
    transform: scale(1.1);
}

.step-item.completed .step-number {
    background: #059669;
    color: white;
}

.step-item.completed::after {
    background: #059669;
}

.step-item.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.step-item.disabled .step-number {
    background: var(--gray-400);
    color: var(--gray-600);
}

.step-item.disabled .step-title {
    color: var(--gray-500);
}

.step-title {
    font-weight: 600;
    color: #374151;
    text-align: center;
    font-size: 0.9rem;
}

.step-item.active .step-title {
    color: #10b981;
    font-weight: 700;
}

/* Step Container Styles */
.step-container {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 2px solid #f3f4f6;
    transition: all 0.3s ease;
}

.step-container.active {
    border-color: #10b981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.step-header h2 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.step-header p {
    color: #6b7280;
    font-size: 1rem;
}

/* Step Navigation Styles */
.step-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #f3f4f6;
}

.btn-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-nav-prev {
    background: #6b7280;
    color: white;
}

.btn-nav-prev:hover:not(:disabled) {
    background: #4b5563;
    transform: translateX(-2px);
}

.btn-nav-next {
    background: #10b981;
    color: white;
}

.btn-nav-next:hover:not(:disabled) {
    background: #059669;
    transform: translateX(2px);
}

.btn-nav:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.header h1 i {
    margin-right: 0.5rem;
}

.header p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

/* Header Logo Styles */
.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.header-text {
    text-align: left;
}

.header-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.header-text p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.session-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gray-50);
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
}

/* Authentication styles */
.auth-section {
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius-xl);
    border: 2px solid var(--gray-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.auth-form h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
}

.auth-form p {
    margin: 0 0 2rem 0;
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.5;
}

.form-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

#userEmail {
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    min-width: 300px;
    background: var(--white);
    color: var(--gray-900);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

#userEmail:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

#userEmail::placeholder {
    color: var(--gray-400);
    font-style: italic;
}

.btn-auth {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-auth:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #4c1d95 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-auth:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-auth:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-auth.loading {
    position: relative;
    color: transparent;
}

.btn-auth.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 var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Verification styles */
.verification-section {
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: var(--border-radius-xl);
    border: 2px solid var(--gray-200);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.verification-form {
    max-width: 400px;
    margin: 0 auto;
}

.verification-form h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
}

.verification-form p {
    margin: 0 0 0.5rem 0;
    color: var(--gray-600);
    font-size: 1rem;
}

.verification-instructions {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 1.5rem !important;
}

#verificationEmail {
    font-weight: 600;
    color: var(--primary-color);
}

#verificationCode {
    font-size: 1.25rem;
    text-align: center;
    letter-spacing: 0.1em;
    font-family: 'Courier New', monospace;
    padding: 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    background: var(--white);
    color: var(--gray-900);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    width: 100%;
    margin-bottom: 1rem;
}

#verificationCode:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

#verificationCode::placeholder {
    color: var(--gray-400);
    font-style: italic;
}

.verification-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.btn-verify {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    justify-content: center;
    min-width: 120px;
}

.btn-verify:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #4c1d95 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-verify:disabled {
    background: var(--gray-400);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-resend, .btn-back {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    min-width: 140px;
}

.btn-resend:hover {
    background: var(--blue-50);
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-back:hover {
    background: var(--gray-200);
    color: var(--gray-800);
    transform: translateY(-1px);
}

/* Responsive verification */
@media (max-width: 640px) {
    .verification-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-resend, .btn-back {
        width: 100%;
        max-width: 200px;
    }
}

/* User info display - Compact Header */
.user-info-compact {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--primary-color);
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.user-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.user-details-compact {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 0.85rem;
    color: var(--gray-600);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-actions {
    flex-shrink: 0;
}

.btn-logout-compact {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}

.btn-logout-compact:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: scale(1.05);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-logout-compact:active {
    transform: scale(0.95);
}

/* Legacy user info display - keep for compatibility */
.user-info {
    margin-top: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--border-radius-xl);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.user-details h3 {
    margin: 0 0 1.5rem 0;
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 700;
}

.user-data {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.user-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.user-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.user-label {
    font-size: 0.9rem;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    word-break: break-word;
    line-height: 1.4;
}

.btn-logout {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.btn-logout:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.session-label {
    font-weight: 600;
    color: var(--gray-700);
}

.session-token {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    color: var(--primary-color);
    background: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--gray-200);
}

.btn-copy {
    background: none;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.btn-copy:hover {
    color: var(--primary-color);
    background: var(--gray-100);
}

/* Upload Section */
/* Period and Year Selection */
.period-year-section {
    margin-bottom: 2rem;
}

.period-year-container {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
}

.period-year-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.period-year-field {
    display: flex;
    flex-direction: column;
}

.period-year-field label {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.period-year-field label i {
    color: var(--primary-color);
}

.period-year-select {
    padding: 0.75rem 1rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--gray-700);
    background-color: var(--white);
    cursor: pointer;
    transition: all 0.2s ease;
}

.period-year-select:hover {
    border-color: var(--primary-color);
}

.period-year-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.period-year-select option {
    padding: 0.5rem;
}

@media (max-width: 768px) {
    .period-year-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.upload-section {
    margin-bottom: 2rem;
}

.upload-container {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.upload-area {
    padding: 3rem 2rem;
    text-align: center;
    border: 2px dashed var(--gray-300);
    margin: 1rem;
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--primary-color);
    background: #dddcf2    ;
    background-opacity: 0.02;
    transform: translateY(-2px);
}

.upload-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.upload-area h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.upload-area p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.btn-select {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-select:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Files Section */
.files-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.files-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.files-list {
    margin-bottom: 2rem;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.file-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.file-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.file-icon {
    font-size: 1.5rem;
    width: 2rem;
    text-align: center;
}

.file-icon.image {
    color: var(--secondary-color);
}

.file-icon.pdf {
    color: var(--error-color);
}

.file-details {
    flex: 1;
}

.file-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.25rem;
}

.file-meta {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.file-status {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.file-status.ready {
    background: var(--gray-100);
    color: var(--gray-700);
}

.file-status.processing {
    background: var(--warning-color);
    background-opacity: 0.1;
    color: var(--warning-color);
}

.file-status.success {
    background: var(--success-color);
    background-opacity: 0.1;
    color: var(--success-color);
}

.file-status.error {
    background: var(--error-color);
    background-opacity: 0.1;
    color: var(--error-color);
}

.btn-remove {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
}

.btn-remove:hover {
    color: var(--error-color);
    background: var(--error-color);
    background-opacity: 0.1;
}

.process-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-process, .btn-clear {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-process {
    background: var(--success-color);
    color: var(--white);
}

.btn-process:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-process:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-clear {
    background: var(--error-color);
    color: var(--white);
}

.btn-clear:hover {
    background: #dc2626;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Status Section */
.status-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.status-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.status-item.processing {
    background: var(--warning-color);
    background-opacity: 0.1;
    border-left: 4px solid var(--warning-color);
}

.status-item.success {
    background: var(--success-color);
    background-opacity: 0.1;
    border-left: 4px solid var(--success-color);
}

.status-item.error {
    background: var(--error-color);
    background-opacity: 0.1;
    border-left: 4px solid var(--error-color);
}

/* Results Section */
.results-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.results-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.result-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
}

.result-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.result-preview {
    height: 150px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--gray-400);
}

.result-info {
    padding: 1rem;
}

.result-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
}

.result-meta {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.btn-download {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-download:hover {
    background: var(--primary-dark);
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-download-all, .btn-new-session {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-download-all {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-download-all:hover {
    background: #0891b2;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-new-session {
    background: var(--gray-600);
    color: var(--white);
}

.btn-new-session:hover {
    background: var(--gray-700);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Pre-Processing Section */
.preproc-section {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-bottom: 2rem;
}

.preproc-section h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preproc-desc {
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.preproc-controls {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.processed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.processed-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: visible;
    transition: all 0.2s ease;
    position: relative;
}

.processed-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.processed-preview {
    height: 160px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.processed-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.processed-info {
    padding: 0.75rem 1rem;
    position: relative;
    overflow: visible;
}

.processed-name {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    word-break: break-all;
}

.processed-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: visible;
}

/* 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: 1000;
}

.loading-spinner {
    text-align: center;
    color: var(--white);
}

.spinner {
    width: 4rem;
    height: 4rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

#loadingText {
    font-size: 1.125rem;
    font-weight: 600;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
}

.toast {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    padding: 1rem 1.5rem;
    margin-bottom: 0.5rem;
    border-left: 4px solid;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 300px;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left-color: var(--success-color);
}

.toast.error {
    border-left-color: var(--error-color);
}

.toast.warning {
    border-left-color: var(--warning-color);
}

.toast-icon {
    font-size: 1.25rem;
}

.toast.success .toast-icon {
    color: var(--success-color);
}

.toast.error .toast-icon {
    color: var(--error-color);
}

.toast.warning .toast-icon {
    color: var(--warning-color);
}

.toast-message {
    flex: 1;
    font-weight: 500;
}

.toast-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
}

.toast-close:hover {
    color: var(--gray-600);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 0.5rem;
    background: var(--gray-200);
    border-radius: 9999px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 9999px;
    transition: width 0.3s ease;
    width: 0%;
}

/* Image Preview Modal */
.modal-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: 2000;
    padding: 2rem;
}

.modal-container {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.25rem;
    transition: all 0.2s ease;
    font-size: 1.25rem;
}

.modal-close:hover {
    color: var(--gray-600);
    background: var(--gray-100);
}

.modal-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    overflow: auto;
}

.modal-image {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1rem;
}

.modal-info {
    text-align: center;
    color: var(--gray-600);
}

.modal-info p {
    margin: 0;
    font-size: 0.875rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.btn-close {
    background: var(--gray-500);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close:hover {
    background: var(--gray-600);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Result Items */
.result-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
}

.result-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.result-preview {
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.result-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.result-item:hover .result-preview img {
    transform: scale(1.05);
}

.result-preview .preview-icon {
    font-size: 3rem;
    color: var(--gray-400);
}

.result-preview .preview-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-item:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay i {
    color: var(--white);
    font-size: 2rem;
}

.result-info {
    padding: 1rem;
}

.result-name {
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.result-meta {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}

.result-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-preview {
    flex: 1;
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.btn-preview:hover {
    background: #0891b2;
}

.btn-download {
    flex: 1;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.75rem;
}

.btn-download:hover {
    background: var(--primary-dark);
}

/* Loading state for images */
.result-preview.loading {
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-preview.loading::after {
    content: '';
    width: 2rem;
    height: 2rem;
    border: 3px solid var(--gray-300);
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .process-controls, .results-actions {
        flex-direction: column;
    }
    
    .session-info {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .file-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .file-info {
        width: 100%;
    }
    
    .modal-overlay {
        padding: 1rem;
    }
    
    .modal-container {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-header, .modal-actions {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
    
    .modal-image {
        max-height: 50vh;
    }
}

/* Orario Reading Section Styles */
.orario-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
}

.orario-section h3 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.orario-section h3 i {
    color: var(--primary-color);
}

.orario-desc {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.orario-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-orario {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* Additional button styles for process controls */
.process-controls .btn-orario {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.process-controls .btn-orario:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.process-controls .btn-orario:active {
    transform: translateY(0);
}

/* Small Orario button for individual images */
.btn-orario-small {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    width: 100%;
}

.btn-orario-small:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-orario-small:active {
    transform: translateY(0);
}

.btn-orario-small:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-orario:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-orario:active {
    transform: translateY(0);
}

.btn-orario:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-calculate {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-calculate:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-calculate:active {
    transform: translateY(0);
}

.orario-results {
    background: var(--gray-50);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 1px solid var(--gray-200);
}

.orario-results h4 {
    color: var(--gray-800);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.orario-results h4 i {
    color: var(--secondary-color);
}

.orario-summary {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.summary-item {
    text-align: center;
    padding: 0.5rem;
}

.summary-item .label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.summary-item .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

.summary-item .value.success {
    color: var(--success-color);
}

.summary-item .value.warning {
    color: var(--warning-color);
}

.orario-table-container {
    overflow-x: auto;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-200);
    background: var(--white);
}

.orario-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.orario-table thead {
    background: var(--gray-100);
}

.orario-table th {
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 2px solid var(--gray-200);
}

.orario-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-200);
    color: var(--gray-700);
}

.orario-table tbody tr:hover {
    background: var(--gray-50);
}

.orario-table tbody tr:last-child td {
    border-bottom: none;
}

.orario-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.orario-range {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.orario-hours {
    font-weight: 600;
    color: var(--success-color);
}

.orario-empty {
    color: var(--gray-400);
    font-style: italic;
}

/* Loading animation for Orario reading */
.orario-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: var(--gray-600);
}

.orario-loading .spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive design for Orario section */
@media (max-width: 768px) {
    .orario-section {
        padding: 1.5rem;
    }
    
    .orario-controls {
        flex-direction: column;
    }
    
    .orario-summary {
        grid-template-columns: 1fr;
    }
    
    .orario-table {
        font-size: 0.75rem;
    }
    
    .orario-table th,
    .orario-table td {
        padding: 0.5rem;
    }
}

/* Orario Editor Styles */
.time-range {
    transition: all 0.2s ease;
    position: relative;
}

.time-range:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-range.modified {
    background: #f59e0b !important;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.time-range.editing {
    background: #3b82f6 !important;
    transform: scale(1.05);
}

.modal-container {
    max-height: 90vh;
    overflow-y: auto;
}

.orario-summary {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #f8f9fa;
    border-bottom: 2px solid #e5e7eb;
}

.btn-save {
    transition: all 0.2s ease;
}

.btn-save:hover {
    background: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.btn-close:hover {
    background: #4b5563 !important;
    transform: translateY(-1px);
}

/* Status indicators */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.status-confirmed {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.status-pending {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.status-modified {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Time Editor Popup */
.time-editor-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

/* Time Editor Button Styles */
.btn-confirm-time {
    background: #10b981 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border: none !important;
    border-radius: 0.375rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3) !important;
    min-width: 90px !important;
    justify-content: center !important;
}

.btn-confirm-time:hover {
    background: #059669 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4) !important;
}

.btn-cancel-time {
    background: #6b7280 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border: none !important;
    border-radius: 0.375rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(107, 114, 128, 0.3) !important;
    min-width: 90px !important;
    justify-content: center !important;
}

.btn-cancel-time:hover {
    background: #4b5563 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(107, 114, 128, 0.4) !important;
}

.btn-delete-time {
    background: #ef4444 !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border: none !important;
    border-radius: 0.375rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.375rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3) !important;
    min-width: 90px !important;
    justify-content: center !important;
}

.btn-delete-time:hover {
    background: #dc2626 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4) !important;
}

/* Time Modification Actions */
.time-modification-actions {
    margin-top: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    animation: slideDown 0.3s ease;
}

.btn-accept-modification {
    background: #10b981 !important;
    color: white !important;
    padding: 0.375rem 0.75rem !important;
    border: none !important;
    border-radius: 0.25rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3) !important;
    min-width: 70px !important;
    justify-content: center !important;
}

.btn-accept-modification:hover {
    background: #059669 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.4) !important;
}

.btn-reject-modification {
    background: #ef4444 !important;
    color: white !important;
    padding: 0.375rem 0.75rem !important;
    border: none !important;
    border-radius: 0.25rem !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.25rem !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(239, 68, 68, 0.3) !important;
    min-width: 70px !important;
    justify-content: center !important;
}

.btn-reject-modification:hover {
    background: #dc2626 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.4) !important;
}

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

/* Time Range Action Buttons */
.btn-accept-time, .btn-disable-time {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 0.25rem;
    padding: 0.2rem 0.4rem;
    font-size: 0.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.125rem;
    transition: all 0.2s ease;
    font-weight: 600;
    min-width: 60px;
    justify-content: center;
}

.btn-accept-time:hover {
    background: #059669;
    transform: translateY(-1px);
}

.btn-accept-time:disabled {
    background: #059669;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-disable-time {
    background: #6b7280;
}

.btn-disable-time:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

/* Disabled time range styles - HIGHEST PRIORITY */
.time-range.disabled {
    opacity: 0.5 !important;
    background: #9ca3af !important;
    cursor: not-allowed !important;
}

/* Confirmed time range styles - only when NOT disabled */
.time-range.confirmed:not(.disabled) {
    background: #10b981 !important;
    opacity: 1 !important;
}

/* Modified time range styles - only when NOT disabled */
.time-range.modified:not(.disabled) {
    background: #f59e0b !important;
    opacity: 1 !important;
}

/* Time Status Table Styles */
.time-status-container {
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    position: relative;
    overflow: visible;
}

.time-status-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.time-status-table {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: visible;
}

.status-lines {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    position: relative;
    overflow: visible;
}

.status-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    position: relative;
    overflow: visible;
}

.status-line .line {
    width: 20px;
    height: 3px;
    border-radius: 1px;
}

.status-line.confirmed .line {
    background: #10b981;
}

.status-line.unconfirmed .line {
    background: #ef4444;
}

.status-line.disabled .line {
    background: #9ca3af;
}

.time-summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
}

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

.summary-item .label {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.summary-item .value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

/* Total Summary Styles */
.total-summary {
    margin-top: 1.5rem;
    padding: 1rem;
    background: #f3f4f6;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
}

.total-summary h3 {
    margin: 0 0 0.75rem 0;
    color: #374151;
    font-size: 1.125rem;
    font-weight: 600;
}

.summary-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 0.75rem;
}

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

.stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
}

.error-message {
    padding: 0.75rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.375rem;
    color: #dc2626;
    font-size: 0.875rem;
    font-weight: 500;
}

.supervision-message {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 0.375rem;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.time-editor-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 400px;
    width: 85%;
    max-height: 80vh;
    overflow: hidden;
    animation: slideUp 0.3s ease;
    display: flex;
    flex-direction: column;
}

.time-editor-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-editor-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.time-editor-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-editor-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.time-editor-content {
    padding: 1.5rem;
    flex: 1;
    overflow-y: auto;
    max-height: calc(80vh - 120px);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.time-editor-content::-webkit-scrollbar {
    width: 6px;
}

.time-editor-content::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.time-editor-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.time-editor-content::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.time-editor-info {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #667eea;
}

.time-editor-info p {
    margin: 0.5rem 0;
    color: #374151;
}

.time-editor-form {
    margin-bottom: 2rem;
}

.time-selector-group {
    margin-bottom: 2rem;
}

.time-selector-group > label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #374151;
    font-size: 1.1rem;
}

.time-selector {
    display: flex;
    gap: 1rem;
    align-items: end;
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.time-selector:hover {
    border-color: #d1d5db;
    background: #f1f5f9;
}

.time-selector-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-selector-item label {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.9rem;
    text-align: center;
}

.time-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    background: white;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

.time-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    background-color: #f8faff;
}

.time-select:hover {
    border-color: #9ca3af;
    background-color: #f9fafb;
}

.time-select option {
    padding: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.time-select option:checked {
    background: #667eea;
    color: white;
}

/* Time selector animations */
.time-selector {
    position: relative;
    overflow: hidden;
}

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

.time-selector:hover::before {
    left: 100%;
}

.time-editor-preview {
    margin-top: 1rem;
}

.time-editor-preview label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.time-preview {
    background: #f3f4f6;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    border: 2px dashed #d1d5db;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-editor-actions {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

.btn-save-time, .btn-cancel-time, .btn-delete-time {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    min-width: 90px;
    justify-content: center;
}

.btn-save-time {
    background: #10b981;
    color: white;
}

.btn-save-time:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-cancel-time {
    background: #6b7280;
    color: white;
}

.btn-cancel-time:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.btn-delete-time {
    background: #ef4444;
    color: white;
}

.btn-delete-time:hover {
    background: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

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

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

/* Image Viewer Styles */
.image-viewer-section {
    position: relative;
}

.image-container-zoomable {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    position: relative;
    cursor: grab;
    user-select: none;
    min-height: 400px;
}

.image-container-zoomable:active {
    cursor: grabbing;
}

.image-container-zoomable img {
    display: block;
    user-select: none;
    pointer-events: none;
    transform-origin: center center;
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.zoom-controls {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 0.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.zoom-controls .zoom-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    min-width: 3.5rem;
    text-align: center;
}

.zoom-controls .btn-zoom {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    border: none;
    background: #2563eb;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.zoom-controls .btn-zoom.secondary {
    background: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.zoom-controls .btn-zoom.success {
    background: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.zoom-controls .btn-zoom.outline {
    background: transparent;
    color: #1f2937;
    border: 1px solid #cbd5f5;
    box-shadow: none;
}

.zoom-controls .btn-zoom:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.3);
}

.zoom-controls .btn-zoom.secondary:hover {
    box-shadow: 0 6px 14px rgba(14, 165, 233, 0.3);
}

.zoom-controls .btn-zoom.success:hover {
    box-shadow: 0 6px 14px rgba(16, 185, 129, 0.3);
}

.zoom-controls .btn-zoom.outline:hover {
    color: #0f172a;
    border-color: #94a3b8;
    background: rgba(148, 163, 184, 0.08);
}

.zoom-controls .btn-zoom:active {
    transform: scale(0.97);
}

.zoom-controls .btn-zoom i {
    font-size: 0.9rem;
}

/* Modal responsive adjustments */
@media (max-width: 1200px) {
    .modal-container {
        max-width: 95vw !important;
        width: 95vw !important;
    }
    
    .modal-content {
        flex-direction: column !important;
        height: 80vh !important;
    }
    
    .image-viewer-section {
        height: 40vh;
        min-height: 300px;
    }
    
    .data-section {
        height: 40vh;
        min-height: 300px;
    }
}

/* Ensure modal-content is always row on desktop */
.modal-content {
    display: flex !important;
    flex-direction: row !important;
    gap: 1rem;
    height: 75vh;
}

/* Scrollable table styles */
.data-section {
    position: relative;
}

.data-section .scrollable-container {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(75vh - 200px);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 #f1f5f9;
}

.data-section .scrollable-container::-webkit-scrollbar {
    width: 6px;
}

.data-section .scrollable-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.data-section .scrollable-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.data-section .scrollable-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Fixed summary bar */
.fixed-summary-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #1f2937;
    color: white;
    padding: 0.75rem;
    border-radius: 0.5rem 0.5rem 0 0;
    margin-bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Responsive design for time editor */
@media (max-width: 640px) {
    .time-editor-container {
        width: 95%;
        margin: 1rem;
    }
    
    .time-editor-content {
        padding: 1.5rem;
    }
    
    .time-editor-actions {
        flex-direction: column;
    }
    
    .btn-save-time, .btn-cancel-time, .btn-delete-time {
        width: 100%;
        justify-content: center;
    }
    
    .time-selector {
        flex-direction: column;
        gap: 1rem;
    }
    
    .time-selector-item {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .time-selector-item label {
        min-width: 60px;
        text-align: left;
    }
    
    .time-select {
        flex: 1;
    }
    
    .zoom-controls {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .zoom-btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Footer Styles */
.footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    margin-top: 3rem;
    padding: 2rem 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.footer-brand {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-color);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.4;
}

.footer-info p:first-child {
    font-weight: 500;
    color: var(--gray-700);
}

/* Responsive header logo */
@media (max-width: 768px) {
    .header-logo {
        width: 80px;
        height: 80px;
    }
    
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .header-text {
        text-align: center;
    }
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-logo-img {
        width: 60px;
        height: 60px;
    }
}

/* ============================================
   DASHBOARD STYLES
   ============================================ */

/* Dashboard Container */
.dashboard-container {
    padding: 2rem 0;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 3rem;
}

.dashboard-header h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.dashboard-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Dashboard Stats */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* Dashboard Actions */
.dashboard-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.btn-create-session {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn-create-session:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-create-session:active {
    transform: translateY(0);
}

/* Session Filters */
.session-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-200);
    color: var(--gray-700);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: var(--gray-50);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Sessions List */
.sessions-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.sessions-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
    font-size: 1.125rem;
}

.sessions-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.sessions-empty i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.sessions-empty h3 {
    font-size: 1.5rem;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.sessions-empty p {
    color: var(--gray-500);
}

/* Session Card */
.session-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.session-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.session-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.session-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.session-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.session-status-badge.completed {
    background: #d1fae5;
    color: #065f46;
}

.session-status-badge.in-progress {
    background: #fed7aa;
    color: #92400e;
}

.session-status-badge.sent {
    background: #dbeafe;
    color: #1e40af;
}

.session-status-badge.accepted {
    background: #d1fae5;
    color: #065f46;
    border: 2px solid #10b981;
}

.session-status-badge.pending-approval {
    background: #fef3c7;
    color: #92400e;
    border: 2px solid #f59e0b;
}

.session-date {
    font-size: 0.875rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 1rem;
}

.session-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.session-stat {
    background: var(--gray-50);
    padding: 0.75rem;
    border-radius: var(--border-radius);
    text-align: center;
}

.session-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.session-stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.session-warnings {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.session-warning-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--border-radius);
    font-size: 0.8125rem;
    font-weight: 500;
}

.session-warning-badge.student-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.session-warning-badge.student-warning i {
    color: #f59e0b;
}

.session-warning-badge.similarity-warning {
    background: #dbeafe;
    color: #1e40af;
    border: 1px solid #60a5fa;
}

.session-warning-badge.similarity-warning i {
    color: #3b82f6;
}

.session-warnings-section {
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.warnings-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.warning-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1rem;
    border-left: 4px solid var(--warning-color);
}

.warning-item-disabled {
    opacity: 0.7;
    background: var(--gray-50);
    border-left-color: var(--gray-400);
}

.warning-header {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.warning-filename {
    font-weight: 600;
    color: var(--gray-800);
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
}

.warning-disabled-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: system-ui, -apple-system, sans-serif;
}

.warning-disabled-badge i {
    color: #f59e0b;
}

.warning-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.warning-badge.clinic-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fbbf24;
}

.warning-badge.clinic-warning i {
    color: #f59e0b;
}

.session-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
}

.btn-session-action {
    flex: 1;
    padding: 0.625rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-view-details {
    background: var(--primary-color);
    color: var(--white);
}

.btn-view-details:hover {
    background: var(--primary-dark);
}

.btn-mark-complete {
    background: var(--success-color);
    color: var(--white);
}

.btn-mark-complete:hover {
    background: #059669;
}

.btn-session-action:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Session Details Container */
.session-details-container {
    padding: 2rem 0;
}

.session-details-header {
    margin-bottom: 2rem;
}

.btn-back-dashboard {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 1px solid var(--gray-300);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.btn-back-dashboard:hover {
    background: var(--gray-200);
    transform: translateX(-4px);
}

.session-details-header h2 {
    font-size: 2rem;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Session Info Card */
.session-info-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.session-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.session-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.session-info-label {
    font-size: 0.875rem;
    color: var(--gray-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.session-info-value {
    font-size: 1.25rem;
    color: var(--gray-900);
    font-weight: 700;
}

/* Session Files Section */
.session-files-section,
.session-cropped-section,
.session-orario-section {
    margin-bottom: 2rem;
}

.session-files-section h3,
.session-cropped-section h3,
.session-orario-section h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.session-files-grid,
.session-cropped-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.session-file-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.session-file-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.session-file-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--gray-100);
}

.session-file-icon {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.session-file-type {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.session-file-actions {
    margin-top: 0.5rem;
}

.btn-download {
    background: #3b82f6 !important;
    color: white !important;
    padding: 0.25rem 0.5rem !important;
    border: none !important;
    border-radius: 0.25rem !important;
    cursor: pointer !important;
    font-size: 0.875rem !important;
    transition: background-color 0.2s ease !important;
}

.btn-download:hover {
    background: #2563eb !important;
}

.session-file-info {
    padding: 1rem;
}

.session-file-name {
    font-size: 0.875rem;
    color: var(--gray-700);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Session Orario Data */
.session-orario-data {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.orario-file-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--gray-200);
}

.orario-file-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.orario-file-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.orario-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
}

.orario-summary-item {
    text-align: center;
}

.orario-summary-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.orario-summary-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 600;
    text-transform: uppercase;
}

.orario-entries {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.orario-entry {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.orario-entry.done {
    border-left-color: var(--success-color);
}

.orario-entry.not-done {
    border-left-color: var(--error-color);
}

.orario-entry-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.orario-entry-time {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
}

.orario-entry-hours {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Responsive Dashboard */
@media (max-width: 768px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .sessions-list {
        grid-template-columns: 1fr;
    }
    
    .session-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        justify-content: center;
    }
    
    .session-stats {
        grid-template-columns: 1fr;
    }
    
    .session-info-grid {
        grid-template-columns: 1fr;
    }
    
    .session-files-grid,
    .session-cropped-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

/* Help Button Styles */
.btn-help {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.3), 0 2px 4px -1px rgba(59, 130, 246, 0.2);
    position: relative;
    overflow: hidden;
}

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

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

.btn-help:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.4), 0 4px 6px -2px rgba(59, 130, 246, 0.3);
}

.btn-help:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 4px -1px rgba(59, 130, 246, 0.3);
}

.btn-help i {
    font-size: 1.125rem;
    transition: transform 0.3s ease;
}

.btn-help:hover i {
    transform: rotate(15deg) scale(1.1);
}

/* Help Box Styles */
.help-box {
    margin: 1.5rem 0;
    padding: 0;
    background: var(--white);
    border: none;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 10px 25px -5px rgba(59, 130, 246, 0.3), 0 8px 10px -6px rgba(59, 130, 246, 0.2);
    animation: helpBoxSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    position: relative;
}

.help-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6 0%, #06b6d4 50%, #3b82f6 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes helpBoxSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    50% {
        transform: translateY(5px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

.help-box-content {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.help-box-content i {
    font-size: 2rem;
    color: #3b82f6;
    margin-top: 0.125rem;
    flex-shrink: 0;
    animation: iconPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(59, 130, 246, 0.3));
}

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

.help-box-content p {
    color: #1e3a8a;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    animation: textFadeIn 0.5s ease-out 0.2s both;
}

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

/* Responsive Help Button */
@media (max-width: 768px) {
    .btn-help {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
    
    .help-box-content {
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .help-box-content i {
        font-size: 1.5rem;
    }
    
    .help-box-content p {
        font-size: 0.9375rem;
    }
}

/* Help Icon Styles */
.help-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: help;
    margin-left: 0.375rem;
    vertical-align: middle;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
    z-index: 1;
}

.help-icon:hover {
    background: #2563eb;
    transform: scale(1.1);
    z-index: 99999;
}

.help-icon-popup {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: #1f2937;
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    line-height: 1.5;
    width: max-content;
    max-width: 300px;
    min-width: 200px;
    z-index: 100000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    pointer-events: none;
    white-space: normal;
    word-wrap: break-word;
    text-align: left;
}

/* Adjust popup position for left/right edges */
.help-icon:first-child .help-icon-popup {
    left: 0;
    transform: translateX(0);
}

.help-icon:last-child .help-icon-popup {
    right: 0;
    left: auto;
    transform: translateX(0);
}

.help-icon-popup::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: white;
}

.help-icon:hover .help-icon-popup,
.help-icon.active .help-icon-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Hide other help icons when one popup is active */
body.help-popup-active .help-icon:not(:hover):not(.active) {
    opacity: 0;
    transition: opacity 2s ease;
    pointer-events: none;
}

/* Restore help icons when popup closes */
body:not(.help-popup-active) .help-icon {
    opacity: 1;
    transition: opacity 2s ease;
    pointer-events: auto;
}

/* Centered popup for modal help icons */
.help-icon-modal .help-icon-popup-centered {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
    margin-bottom: 0;
    max-width: 400px;
    z-index: 100001;
}

.help-icon-modal .help-icon-popup-centered::after {
    display: none;
}

/* Button with help icon container */
.btn-with-help {
    display: inline-flex;
    align-items: center;
    position: relative;
}

/* Responsive help icon */
@media (max-width: 768px) {
    .help-icon-popup {
        max-width: 250px;
        font-size: 0.8125rem;
        padding: 0.75rem 0.875rem;
    }
}

/* ============================================
   REPORT BUTTON & MODAL
   ============================================ */

.btn-report {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
}

.btn-report:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-report i {
    font-size: 1.2rem;
}

.btn-report span {
    font-weight: 600;
}

/* Report modal specific styles */
#reportModal .modal-container {
    animation: slideUpFadeIn 0.3s ease-out;
}

#reportModal .form-description {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

#reportModal .form-description p {
    margin: 0;
    color: #1e40af;
    line-height: 1.6;
}

#reportModal .form-description i {
    color: #3b82f6;
    margin-right: 0.5rem;
}

#reportModal .form-group {
    margin-bottom: 1.5rem;
}

#reportModal .form-group label {
    display: block;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

#reportModal .form-group label i {
    margin-right: 0.5rem;
    color: #6b7280;
}

#reportModal textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    transition: border-color 0.2s ease;
}

#reportModal textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.char-count {
    text-align: right;
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.file-upload-area {
    position: relative;
}

.file-upload-area input[type="file"] {
    position: absolute;
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    z-index: -1;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.file-upload-label i {
    font-size: 2.5rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.file-upload-label span {
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.25rem;
}

.file-upload-label small {
    font-size: 0.85rem;
    color: #6b7280;
}

.image-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.image-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e5e7eb;
    background: #f9fafb;
}

.image-preview-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.image-preview-name {
    padding: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-cancel {
    background: #f3f4f6;
    color: #374151;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-cancel:hover {
    background: #e5e7eb;
}

/* Modal confirm button (used in month/year edit popup) */
.btn-confirm {
    background: #3b82f6;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.35);
}

.btn-confirm:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
}

.btn-confirm:active {
    transform: translateY(0);
}

.btn-confirm:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    box-shadow: none;
}

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

/* Responsive */
@media (max-width: 768px) {
    .btn-report {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .btn-report span {
        display: none;
    }
    
    .btn-report i {
        margin: 0;
    }
}
