/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4e73df;
    --primary-dark: #2e59d9;
    --secondary-color: #858796;
    --success-color: #1cc88a;
    --danger-color: #e74a3b;
    --warning-color: #f6c23e;
    --info-color: #36b9cc;
    --light-color: #f8f9fc;
    --dark-color: #5a5c69;
    --border-color: #e3e6f0;
    --shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15);
    --radius: 0.35rem;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
}

.container-fluid {
    display: flex;
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* Buttons */
.btn-primary-fh, .btn-secondary-fh, .btn-login-fh, .btn-register-fh, 
.btn-auth-fh, .btn-upload-fh, .btn-filter-fh, .btn-reset-fh {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary-fh {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary-fh:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary-fh {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary-fh:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-auth-fh {
    width: 100%;
    background-color: var(--primary-color);
    color: white;
    font-size: 1rem;
    padding: 0.875rem;
}

.btn-auth-fh:hover {
    background-color: var(--primary-dark);
}

.btn-upload-fh {
    background-color: var(--success-color);
    color: white;
    font-size: 1rem;
    padding: 1rem 2rem;
    margin-top: 1rem;
}

.btn-upload-fh:hover {
    background-color: #17a673;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-filter-fh {
    background-color: var(--primary-color);
    color: white;
}

.btn-reset-fh {
    background-color: var(--secondary-color);
    color: white;
}

.btn-reset-fh:hover {
    background-color: #717384;
}

.btn-action-fh, .btn-action-small-fh {
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
    padding: 0.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-action-small-fh {
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
}

.btn-action-fh:hover, .btn-action-small-fh:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.btn-danger-fh:hover {
    background-color: var(--danger-color);
    color: white;
}

.btn-link-fh {
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

/* Homepage Styles */
.homepage {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.navbar-fh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-fh {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-fh i {
    font-size: 2rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.hero-section-fh {
    padding: 5rem 5%;
    color: white;
    text-align: center;
}

.hero-title-fh {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero-description-fh {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
}

.features-grid-fh {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.feature-card-fh {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-card-fh:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-icon-fh {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 1.75rem;
}

.feature-card-fh h3 {
    color: white;
    margin-bottom: 1rem;
}

.feature-card-fh p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
}

.cta-buttons-fh {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
}

.footer-fh {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.7);
    background-color: rgba(0, 0, 0, 0.2);
}

/* Auth Pages */
.auth-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-container-fh {
    width: 100%;
    max-width: 420px;
}

.auth-card-fh {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
}

.auth-header-fh {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header-fh h2 {
    margin: 1rem 0 0.5rem;
}

.auth-header-fh p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.alert-error-fh, .alert-success-fh {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-error-fh {
    background-color: #fee;
    color: var(--danger-color);
    border: 1px solid #fcc;
}

.alert-success-fh {
    background-color: #eff8f0;
    color: var(--success-color);
    border: 1px solid #cfecce;
}

.auth-form-fh {
    margin-bottom: 2rem;
}

.input-group-fh {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-group-fh label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.input-group-fh input, 
.input-group-fh textarea,
.input-group-fh select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.input-group-fh input:focus,
.input-group-fh textarea:focus,
.input-group-fh select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.toggle-password-fh {
    position: absolute;
    right: 1rem;
    top: 2.5rem;
    background: none;
    border: none;
    color: var(--secondary-color);
    cursor: pointer;
    font-size: 1rem;
}

.form-options-fh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-fh {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-fh input {
    width: auto;
}

.forgot-password-fh {
    font-size: 0.875rem;
}

.auth-footer-fh {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    color: var(--secondary-color);
}

.auth-footer-fh p {
    margin-bottom: 0.5rem;
}

/* Dashboard Layout */
.dashboard-page {
    background-color: var(--light-color);
}

.sidebar-fh {
    width: 250px;
    background: white;
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
}

.nav-fh {
    padding: 2rem 0;
}

.nav-link-fh {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
}

.nav-link-fh:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.nav-link-fh.active {
    background-color: var(--primary-color);
    color: white;
    border-left: 4px solid var(--primary-dark);
}

.nav-link-fh i {
    width: 20px;
    text-align: center;
}

.badge-fh {
    position: absolute;
    right: 1.5rem;
    background-color: var(--danger-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 10px;
}

.main-content-fh {
    flex: 1;
    margin-left: 250px;
    padding: 2rem;
    min-height: 100vh;
}

/* Dashboard Components */
.dashboard-header-fh {
    margin-bottom: 2rem;
}

.dashboard-header-fh h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.dashboard-header-fh p {
    color: var(--secondary-color);
    margin-bottom: 0;
}

.stats-grid-fh {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card-fh {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.stat-card-fh:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.stat-icon-fh {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content-fh h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.stat-content-fh p {
    color: var(--secondary-color);
    margin-bottom: 0;
    font-size: 0.875rem;
}

.dashboard-grid-fh {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.card-fh {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-header-fh {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-body-fh {
    padding: 1.5rem;
}

/* File List Styles */
.file-list-fh {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.file-item-fh {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.file-item-fh:hover {
    background-color: var(--light-color);
    border-color: var(--primary-color);
}

.file-icon-fh {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.file-info-fh h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.file-info-fh p {
    display: flex;
    gap: 1rem;
    margin-bottom: 0;
    font-size: 0.875rem;
}

.file-meta-fh {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--secondary-color);
}

.file-meta-fh i {
    font-size: 0.75rem;
}

.file-actions-fh {
    margin-left: auto;
    display: flex;
    gap: 0.5rem;
}

/* Quick Actions */
.quick-actions-fh {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.quick-action-fh {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.quick-action-fh:hover {
    background-color: var(--light-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
}

.quick-icon-fh {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.quick-action-fh span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Upload Page Styles - UPDATED SECTION */
.upload-header-fh {
    margin-bottom: 2rem;
}

.upload-header-fh h1 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.upload-header-fh p {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 0;
}

.upload-container-fh {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .upload-container-fh {
        grid-template-columns: 1fr;
    }
}

.upload-card-fh {
    background: white;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.upload-icon-fh {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 2rem;
}

.upload-form-fh {
    max-width: 600px;
    margin: 0 auto;
}

.file-label-fh {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 1rem;
    text-align: center;
}

.file-label-fh:hover {
    border-color: var(--primary-color);
    background-color: var(--light-color);
}

.file-label-fh i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.file-label-fh span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.file-hint-fh {
    font-size: 0.875rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
}

.file-input-fh {
    display: none;
}

.file-name-fh {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--light-color);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    width: 100%;
    text-align: center;
    font-size: 0.95rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 50px;
}

.file-name-fh i {
    color: var(--primary-color);
}

.date-input-fh, .comments-input-fh {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.date-input-fh:focus, .comments-input-fh:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.comments-input-fh {
    min-height: 120px;
    resize: vertical;
    line-height: 1.5;
}

/* Form Row for inline elements */
.form-row-fh {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .form-row-fh {
        grid-template-columns: 1fr;
    }
}

/* Form Actions */
.form-actions-fh {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions-fh .btn-upload-fh {
    flex: 1;
}

.form-actions-fh .btn-secondary-fh {
    flex: 0 0 auto;
}

/* File Preview */
.file-preview-fh {
    background: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-top: 1.5rem;
    overflow: hidden;
}

.preview-header-fh {
    background: var(--primary-color);
    color: white;
    padding: 1rem 1.5rem;
}

.preview-header-fh h4 {
    margin: 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.preview-content-fh {
    padding: 1.5rem;
}

.preview-item-fh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.preview-item-fh:last-child {
    border-bottom: none;
}

.preview-label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.preview-value {
    color: var(--secondary-color);
    font-family: monospace;
    font-size: 0.9rem;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Upload Tips */
.upload-tips-fh {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2f7 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.upload-tips-fh h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tips-list-fh {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tips-list-fh li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.tips-list-fh li i {
    color: var(--success-color);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Upload Features */
.upload-features-fh {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 3rem;
}

@media (max-width: 992px) {
    .upload-features-fh {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .upload-features-fh {
        grid-template-columns: 1fr;
    }
}

.feature-item-fh {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.feature-item-fh:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.feature-icon-fh {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4e73df, #6610f2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.feature-item-fh h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.feature-item-fh p {
    color: var(--secondary-color);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Recent Uploads Sidebar - UPDATED */
.recent-uploads-fh {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.recent-header-fh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.recent-header-fh h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-all-fh {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
}

.btn-view-all-fh:hover {
    color: var(--primary-dark);
    background-color: var(--light-color);
    text-decoration: none;
}

.recent-list-fh {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.recent-item-fh {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
    cursor: pointer;
}

.recent-item-fh:hover {
    background-color: var(--light-color);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.recent-icon-fh {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.recent-info-fh {
    flex: 1;
    min-width: 0;
}

.recent-info-fh h5 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    color: var(--dark-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-meta-fh {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.recent-meta-fh span {
    font-size: 0.75rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.recent-meta-fh i {
    font-size: 0.7rem;
}

/* Storage Stats */
.storage-stats-fh {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.storage-stats-fh h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stats-grid-fh {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-item-fh {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
}

.stat-value-fh {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    line-height: 1;
}

.stat-label-fh {
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Input Hint */
.input-hint-fh {
    display: block;
    font-size: 0.75rem;
    color: var(--secondary-color);
    margin-top: 0.25rem;
    line-height: 1.4;
}

/* Upload Progress - SIMPLIFIED */
.upload-progress-fh {
    margin: 1.5rem 0;
    display: none;
}

.progress-bar-fh {
    width: 100%;
    height: 12px;
    background-color: var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill-fh {
    height: 100%;
    background: linear-gradient(90deg, var(--success-color), var(--info-color));
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
}

.progress-text-fh {
    font-size: 0.875rem;
    color: var(--secondary-color);
    text-align: center;
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Upload Information */
.upload-info-fh {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.upload-info-fh h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.info-list-fh {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list-fh li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--dark-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

.info-list-fh li i {
    color: var(--success-color);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

/* Files Page Styles */
.files-header-fh {
    margin-bottom: 2rem;
}

.files-container-fh {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 1.5rem;
}

.filters-card-fh {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.filters-card-fh h3 {
    margin-bottom: 1.5rem;
}

.filters-form-fh {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group-fh label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.filter-group-fh input,
.filter-group-fh select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.875rem;
}

.filter-buttons-fh {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.files-list-fh {
    background: white;
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.files-actions-fh {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.actions-buttons-fh {
    display: flex;
    gap: 0.75rem;
}

/* Files Table */
.table-responsive-fh {
    overflow-x: auto;
}

.files-table-fh {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.files-table-fh thead {
    background-color: var(--light-color);
    border-bottom: 2px solid var(--border-color);
}

.files-table-fh th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
}

.files-table-fh td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.files-table-fh tbody tr:hover {
    background-color: var(--light-color);
}

.file-cell-fh {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.file-cell-fh i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.file-name-fh {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.file-type-badge-fh {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: var(--light-color);
    color: var(--dark-color);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
}

.user-cell-fh {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-fh {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.comments-fh {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}

.no-comments-fh {
    color: var(--secondary-color);
    font-style: italic;
    font-size: 0.875rem;
}

.action-buttons-fh {
    display: flex;
    gap: 0.5rem;
}

/* Empty State */
.empty-state-fh {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--secondary-color);
}

.empty-state-fh i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

.empty-state-fh h4 {
    margin-bottom: 0.5rem;
}

.empty-state-fh p {
    margin-bottom: 1.5rem;
}

/* Modal */
.modal-fh {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 2rem;
}

.modal-content-fh {
    background: white;
    border-radius: var(--radius);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow);
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header-fh {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-modal-fh {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-color);
    cursor: pointer;
    line-height: 1;
}

.modal-body-fh {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.file-details-fh {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-row-fh {
    display: flex;
    justify-content: space-between;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.detail-row-fh:last-child {
    border-bottom: none;
}

.detail-row-fh strong {
    color: var(--dark-color);
}

.detail-row-fh span {
    color: var(--secondary-color);
    text-align: right;
    max-width: 300px;
}

.modal-footer-fh {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* Toast Notifications */
.toast-fh {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 300px;
    max-width: 400px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
    z-index: 9999;
    border-left: 4px solid #4e73df;
}

.toast-fh.show {
    transform: translateX(0);
}

.toast-error-fh {
    border-left-color: #e74a3b;
}

.toast-success-fh {
    border-left-color: #1cc88a;
}

.toast-info-fh {
    border-left-color: #36b9cc;
}

.toast-content-fh {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.toast-content-fh i {
    font-size: 18px;
}

.toast-error-fh .toast-content-fh i {
    color: #e74a3b;
}

.toast-success-fh .toast-content-fh i {
    color: #1cc88a;
}

.toast-info-fh .toast-content-fh i {
    color: #36b9cc;
}

.toast-close-fh {
    background: none;
    border: none;
    font-size: 20px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    margin-left: 15px;
    line-height: 1;
}

.toast-close-fh:hover {
    color: #4e73df;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-grid-fh,
    .upload-container-fh,
    .files-container-fh {
        grid-template-columns: 1fr;
    }
    
    .sidebar-fh {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar-fh.active {
        transform: translateX(0);
    }
    
    .main-content-fh {
        margin-left: 0;
    }
    
    .navbar-toggle-fh {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero-title-fh {
        font-size: 2.5rem;
    }
    
    .features-grid-fh {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-fh {
        flex-direction: column;
    }
    
    .stats-grid-fh {
        grid-template-columns: 1fr;
    }
    
    .quick-actions-fh {
        grid-template-columns: 1fr;
    }
    
    .auth-card-fh {
        padding: 1.5rem;
    }
    
    .upload-card-fh {
        padding: 1.5rem;
    }
    
    .upload-features-fh {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item-fh {
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title-fh {
        font-size: 2rem;
    }
    
    .navbar-fh {
        padding: 1rem;
    }
    
    .main-content-fh {
        padding: 1rem;
    }
    
    .files-actions-fh {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .actions-buttons-fh {
        justify-content: space-between;
    }
    
    .form-actions-fh {
        flex-direction: column;
    }
    
    .form-actions-fh .btn-upload-fh,
    .form-actions-fh .btn-secondary-fh {
        width: 100%;
    }
    
    .toast-fh {
        min-width: auto;
        max-width: calc(100% - 40px);
        left: 20px;
        right: 20px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.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; }
.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; }
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 1rem; }
.p-4 { padding: 1.5rem; }
.p-5 { padding: 3rem; }
.d-none { display: none; }
.d-flex { display: flex; }
.d-block { display: block; }
.d-inline-block { display: inline-block; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.flex-column { flex-direction: column; }
.flex-row { flex-direction: row; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.border { border: 1px solid var(--border-color); }
.border-top { border-top: 1px solid var(--border-color); }
.border-bottom { border-bottom: 1px solid var(--border-color); }
.rounded { border-radius: var(--radius); }
.rounded-circle { border-radius: 50%; }
.shadow { box-shadow: var(--shadow); }
.bg-light { background-color: var(--light-color); }
.bg-white { background-color: white; }
.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-success { color: var(--success-color); }
.text-danger { color: var(--danger-color); }
.text-warning { color: var(--warning-color); }
.text-info { color: var(--info-color); }
.text-dark { color: var(--dark-color); }
.text-muted { color: var(--secondary-color); }
.font-weight-normal { font-weight: 400; }
.font-weight-medium { font-weight: 500; }
.font-weight-bold { font-weight: 600; }
.font-weight-bolder { font-weight: 700; }
.font-small { font-size: 0.875rem; }
.font-large { font-size: 1.25rem; }
.font-xlarge { font-size: 1.5rem; }
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-fixed { position: fixed; }
.position-sticky { position: sticky; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.cursor-pointer { cursor: pointer; }
.user-select-none { user-select: none; }
.opacity-50 { opacity: 0.5; }
.opacity-75 { opacity: 0.75; }
.z-index-100 { z-index: 100; }
.z-index-1000 { z-index: 1000; }

/* Upload Options Styles - REMOVED CHUNKING REFERENCES */
.upload-options-fh {
    background: linear-gradient(135deg, #f8f9fc 0%, #eef2f7 100%);
    border: 2px dashed #d1d9e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    transition: all 0.3s ease;
}

.upload-options-fh:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(78, 115, 223, 0.1);
}

.upload-options-fh h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.upload-options-fh h4:before {
    content: '⚙️';
    font-size: 1.2rem;
}

.option-group-fh {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.option-group-fh .checkbox-fh {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e3e6f0;
    transition: all 0.2s ease;
}

.option-group-fh .checkbox-fh:hover {
    border-color: var(--primary-color);
    background-color: #f8f9fc;
}

.option-group-fh .checkbox-fh input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

.option-group-fh .checkbox-fh span {
    flex: 1;
    font-size: 0.9rem;
    color: var(--dark-color);
    line-height: 1.4;
}

.upload-stats-fh {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.stat-item-fh {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    transition: transform 0.2s ease;
}

.stat-item-fh:hover {
    transform: translateY(-2px);
}

.stat-item-fh i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item-fh span {
    font-size: 0.8rem;
    color: var(--secondary-color);
    line-height: 1.3;
}

.stat-item-fh strong {
    color: var(--dark-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .upload-stats-fh {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .option-group-fh .checkbox-fh {
        padding: 0.5rem;
    }
}