
/* ==========================================
   MODERN CLEAN DESIGN SYSTEM
   ========================================== */
:root {
    /* Modern Color Palette - Clean & Professional */
    --primary-blue: #2563eb;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;

    --accent-teal: #14b8a6;
    --accent-teal-dark: #0d9488;
    --accent-teal-light: #5eead4;

    --neutral-50: #f8fafc;
    --neutral-100: #f1f5f9;
    --neutral-200: #e2e8f0;
    --neutral-300: #cbd5e1;
    --neutral-400: #94a3b8;
    --neutral-500: #64748b;
    --neutral-600: #475569;
    --neutral-700: #334155;
    --neutral-800: #1e293b;
    --neutral-900: #0f172a;

    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);

    /* Activity Colors */
    --activity-work: #3b82f6;
    --activity-break: #f59e0b;
    --activity-lunch: #10b981;
    --activity-meeting: #8b5cf6;
    --activity-epub: #ec4899;
    --activity-proof: #f97316;
    --activity-calibr: #14b8a6;
    --activity-other: #64748b;
    --activity-leave: #ef4444;
}

/* ==========================================
   CENTRALIZED EMPLOYEE VIEW
   ========================================== */
.employee-view-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    padding: 2rem 0;
}

.employee-view-centered .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 2rem 0;
}

.employee-view-centered .timesheet-card {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--royal-gold);
}

.employee-view-centered .timesheet-table {
    width: auto;
    min-width: unset; /* Override default min-width if necessary */
    margin: 0 auto;
}

/* Make sure header stays aligned */
.employee-view-centered .timesheet-header {
    justify-content: center;
    text-align: center;
}

/* ==========================================
   CENTRALIZED EMPLOYEE VIEW
   ========================================== */
.employee-view-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 80vh;
    width: 100%;
}

.employee-view-centered .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.employee-view-centered .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    scroll-behavior: smooth;
}


.employee-view-centered .timesheet-card {
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border: 1px solid var(--royal-gold);
}

.employee-view-centered .timesheet-table {
    width: auto;
    min-width: unset; /* Override default min-width if necessary */
    margin: 0 auto;
}

/* Make sure header stays aligned */
.employee-view-centered .timesheet-header {
    justify-content: center;
    text-align: center;
}
body {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--neutral-700);
    background: var(--neutral-50);
    min-height: 100vh;
    overflow-x: hidden;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================
   LAYOUT
   ========================================== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--space-6);
    width: 100%;
}

/* ==========================================
   HEADER
   ========================================== */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--neutral-200);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
    gap: var(--space-6);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo img {
    border-radius: var(--radius-md);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    letter-spacing: -0.025em;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

#userInfoDisplay {
    color: var(--neutral-600);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--font-sans);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.5;
}

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

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

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

.btn-primary:hover {
    background: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
}

.btn-secondary {
    background: var(--white);
    color: var(--neutral-700);
    border-color: var(--neutral-300);
}

.btn-secondary:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-400);
}

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

.btn-danger:hover {
    background: #dc2626;
}

.btn-sm {
    padding: var(--space-1) var(--space-3);
    font-size: 0.8125rem;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
    padding: var(--space-8) 0;
}

/* ==========================================
   CARDS
   ========================================== */
.date-selector-card,
.timesheet-container {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.activity-tracker-card {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.date-selector {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-6);
    flex-wrap: wrap;
}

.date-selector h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    letter-spacing: -0.025em;
}

.date-controls {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.date-input {
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--neutral-700);
    transition: all var(--transition-base);
}

.date-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* ==========================================
   TABLE
   ========================================== */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    margin-top: var(--space-6);
    border: 1px solid var(--neutral-200);
}

.timesheet-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.8125rem;
    min-width: 2800px;
}

.timesheet-table thead {
    background: var(--neutral-900);
    color: var(--white);
    position: sticky;
    top: 0;
    z-index: 10;
}

.timesheet-table th {
    padding: var(--space-3) var(--space-4);
    text-align: center;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.timesheet-table th:last-child {
    border-right: none;
}

.timesheet-table tbody tr {
    background: var(--white);
    transition: all var(--transition-base);
    border-bottom: 1px solid var(--neutral-200);
}

.timesheet-table tbody tr:hover {
    background: var(--neutral-50);
}

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

.timesheet-table td {
    padding: var(--space-3);
    border-right: 1px solid var(--neutral-200);
    vertical-align: top;
}

.timesheet-table td:last-child {
    border-right: none;
}

.timesheet-table td:first-child {
    font-weight: 600;
    color: var(--neutral-900);
    text-align: center;
    position: sticky;
    left: 0;
    background: var(--neutral-900);
    color: var(--white);
    box-shadow: 2px 0 4px rgba(0, 0, 0, 0.05);
}

/* ==========================================
   ACTIVITY CELL STYLES
   ========================================== */
.activity-cell {
    min-height: 80px;
    min-width: 140px;
    padding: var(--space-3);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    background: var(--white);
}

.activity-cell.empty {
    border: 2px dashed var(--neutral-300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral-400);
    font-size: 0.75rem;
}

.activity-cell.empty:hover {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.02);
    color: var(--primary-blue);
}

.activity-cell.has-activity {
    border: 1px solid var(--neutral-200);
    background: var(--neutral-50);
}

.activity-cell.has-activity:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--neutral-300);
}

/* Activity Type Badge */
.activity-type-badge {
    display: inline-block;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--white);
    text-align: center;
}

.activity-type-badge.epub {
    background: var(--activity-epub);
}

.activity-type-badge.proof {
    background: var(--activity-proof);
}

.activity-type-badge.calibr {
    background: var(--activity-calibr);
}

.activity-type-badge.meeting {
    background: var(--activity-meeting);
}

.activity-type-badge.break {
    background: var(--activity-break);
}

.activity-type-badge.lunch {
    background: var(--activity-lunch);
}

.activity-type-badge.leave {
    background: var(--activity-leave);
}

.activity-type-badge.other {
    background: var(--activity-other);
}

/* Activity Description */
.activity-description {
    font-size: 0.75rem;
    color: var(--neutral-600);
    line-height: 1.4;
    word-break: break-word;
}

/* ==========================================
   CENTRALIZED EMPLOYEE VIEW
   ========================================== */

.employee-view-centered {
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 80vh;
    width: 100%;
}

.employee-view-centered .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 600px;
    box-shadow: var(--shadow-xl);
    transform: scale(0.95);
    transition: transform var(--transition-base);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-header {
    padding: var(--space-6);
    border-bottom: 1px solid var(--neutral-200);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--neutral-900);
    font-weight: 700;
    letter-spacing: -0.025em;
}

.modal-close {
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--neutral-400);
    transition: all var(--transition-base);
    padding: var(--space-2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--neutral-100);
    color: var(--neutral-700);
}

.modal-body {
    padding: var(--space-6);
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--space-5);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 500;
    color: var(--neutral-700);
    font-size: 0.875rem;
}

.form-input {
    width: 100%;
    padding: var(--space-2) var(--space-3);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--neutral-700);
    transition: all var(--transition-base);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-actions {
    display: flex;
    gap: var(--space-3);
    justify-content: flex-end;
    margin-top: var(--space-6);
    padding-top: var(--space-5);
    border-top: 1px solid var(--neutral-200);
}

/* ==========================================
   STATUS TOAST
   ========================================== */
.status-toast {
    position: fixed;
    bottom: var(--space-6);
    right: var(--space-6);
    padding: var(--space-4) var(--space-5);
    background: var(--white);
    color: var(--neutral-700);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    border: 1px solid var(--neutral-200);
    font-weight: 500;
    font-size: 0.875rem;
}

.status-toast.success {
    border-left: 4px solid var(--success);
}

.status-toast.error {
    border-left: 4px solid var(--error);
}

/* ==========================================
   ACTIVITY TRACKER
   ========================================== */
.activity-tracker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--neutral-200);
}

.activity-tracker-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.activity-tracker-title h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--neutral-900);
    letter-spacing: -0.025em;
}

.clear-tracker-btn {
    background: var(--white);
    border: 1px solid var(--neutral-300);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    cursor: pointer;
    color: var(--neutral-600);
    transition: all var(--transition-base);
}

.clear-tracker-btn:hover {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.05);
    color: var(--error);
}

.activity-tracker-list {
    max-height: 450px;
    overflow-y: auto;
}

.activity-tracker-item {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-3);
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    transition: all var(--transition-base);
}

.activity-tracker-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
    border-color: var(--neutral-300);
}

.activity-tracker-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
    flex-shrink: 0;
    font-size: 0.875rem;
}

.activity-tracker-icon.type-work {
    background: var(--activity-work);
}

.activity-tracker-icon.type-break {
    background: var(--activity-break);
}

.activity-tracker-icon.type-lunch {
    background: var(--activity-lunch);
}

.activity-tracker-icon.type-meeting {
    background: var(--activity-meeting);
}

.activity-tracker-icon.type-epub {
    background: var(--activity-epub);
}

.activity-tracker-icon.type-proof {
    background: var(--activity-proof);
}

.activity-tracker-icon.type-calibr {
    background: var(--activity-calibr);
}

.activity-tracker-icon.type-other {
    background: var(--activity-other);
}

.activity-tracker-icon.type-leave {
    background: var(--activity-leave);
}

.activity-tracker-details {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-4);
}

.activity-tracker-content {
    flex: 1;
    min-width: 0;
}

.activity-tracker-employee {
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: var(--space-1);
    font-size: 0.875rem;
}

.activity-tracker-description {
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

.activity-tracker-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--space-1);
    font-size: 0.75rem;
    color: var(--neutral-500);
}

.activity-tracker-time {
    font-weight: 500;
    color: var(--neutral-700);
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-100);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--neutral-400);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neutral-500);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    text-align: center;
    padding: var(--space-8) 0;
    margin-top: var(--space-12);
    color: var(--neutral-600);
    font-size: 0.8125rem;
    border-top: 1px solid var(--neutral-200);
    background: var(--white);
}

.footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-base);
}

.footer a:hover {
    color: var(--primary-blue-dark);
}

.foot {
    color: var(--neutral-900);
    font-weight: 600;
}

.foot1 {
    color: var(--error);
}

.foot2 {
    color: var(--accent-teal);
}

/* ==========================================
   LEAVE STYLES
   ========================================== */
.full-day-leave-cell {
    background: rgba(239, 68, 68, 0.05) !important;
    color: var(--error);
    text-align: center;
    font-weight: 600;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

.full-day-leave {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.leave-badge {
    background: var(--white);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    border: 1px solid var(--error);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.clear-leave-btn {
    background: var(--white);
    border: 1px solid var(--error);
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--error);
    opacity: 0;
    transition: all var(--transition-base);
}

.full-day-leave-cell:hover .clear-leave-btn {
    opacity: 1;
}

/* ==========================================
   PRELOADER
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--neutral-900);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.employee-view-centered .timesheet-card {
    width: auto;
    min-width: fit-content;
    max-width: 95vw;
    margin: 2rem auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2) !important;
    border: 1px solid var(--royal-gold) !important;
}


.employee-view-centered .timesheet-table {
    margin: 0 auto;
    width: auto;
}

.employee-view-centered .date-selector-card {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

.employee-view-centered .timesheet-table {
    margin: 0 auto;
    width: auto;
}

.employee-view-centered .date-selector-card {
    max-width: 800px;
    margin: 0 auto 2rem auto;
}
.preloader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

.preloader-logo {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-xl);
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
    border: 2px solid var(--primary-blue);
    animation: logoPulse 2s infinite ease-in-out;
    object-fit: cover;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.loading-progress {
    width: 40%;
    height: 100%;
    background: var(--primary-blue);
    position: absolute;
    top: 0;
    left: -40%;
    animation: progressSlide 1.5s infinite ease-in-out;
    border-radius: var(--radius-full);
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes progressSlide {
    0% {
        left: -40%;
    }

    50% {
        left: 30%;
        width: 60%;
    }

    100% {
        left: 100%;
        width: 40%;
    }
}

/* ==========================================
   EMPTY STATE
   ========================================== */
.empty-state {
    display: none;
    text-align: center;
    padding: var(--space-12);
}

.empty-state.show {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.empty-state h3 {
    font-family: var(--font-display);
    color: var(--neutral-900);
    font-size: 1.25rem;
    font-weight: 700;
}

.empty-state p {
    color: var(--neutral-600);
    font-size: 0.875rem;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-4);
    }

    .date-selector {
        flex-direction: column;
        align-items: flex-start;
    }

    .header-content {
        flex-direction: column;
        height: auto;
        padding: var(--space-4) 0;
        gap: var(--space-4);
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .header-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .btn {
        font-size: 0.8125rem;
        padding: var(--space-2) var(--space-3);
    }
}