/* Common application styles shared across multiple pages */

/* ==================== FILE CARD STYLES ==================== */
/* Used in Admin.html and Interns.html */
.file-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.file-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* ==================== INPUT GROUP FIX ==================== */
/* Fix custom-file width in input-group to keep buttons on same line */
.input-group > .custom-file {
    flex: 1 1 auto;
    width: 1%;
}

/* ==================== COLLAPSE ICON STYLES ==================== */
/* Used in Admin.html for collapsible sections */
.collapse-icon {
    transition: transform 0.3s ease;
}

.collapsed .collapse-icon {
    transform: rotate(-90deg);
}

/* ==================== DARK MODE OVERRIDES ==================== */
/* Theme toggle icons */
.theme-icon-light { display: none; }
[data-bs-theme="dark"] .theme-icon-dark { display: none !important; }
[data-bs-theme="dark"] .theme-icon-light { display: inline !important; }

/* Timeline/Editor specific (not Bootstrap components) */
[data-bs-theme="dark"] .word-timeline,
[data-bs-theme="dark"] #sliders {
    background-color: var(--bs-tertiary-bg) !important;
}

[data-bs-theme="dark"] .timeline-title {
    background-color: var(--bs-body-bg);
}

/* Brand logo text */
[data-bs-theme="dark"] .brand-logo-wrap a {
    color: var(--bs-body-color) !important;
}

/* File cards hover shadow adjustment */
[data-bs-theme="dark"] .file-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4);
}

