/* ================================
   WORKDAYS - UNIFIED STYLES
   All CSS for the entire application
   ================================ */

/* ===== ROOT & GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #f8fafc;
    color: #2d3748;
}

/* ===== ANIMATIONS ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes dots {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

/* ===== LOGIN PAGE STYLES ===== */
.login-page-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
}

.bg-shape-1 {
    width: 300px;
    height: 300px;
    background: white;
    top: -100px;
    right: -50px;
    animation: float 6s ease-in-out infinite;
}

.bg-shape-2 {
    width: 200px;
    height: 200px;
    background: white;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite 1s;
}

.login-container {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    z-index: 10;
    animation: slideUp 0.6s ease-out;
}

.login-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 30px;
    text-align: center;
    color: white;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.9;
    font-weight: 500;
}

.login-body {
    padding: 40px 30px;
}

.demo-credentials {
    background: #edf2f7;
    border-radius: 8px;
    padding: 12px;
    margin-top: 16px;
    border-left: 3px solid #667eea;
}

.demo-credentials strong {
    display: block;
    margin-bottom: 4px;
    color: #2d3748;
}

.demo-credentials code {
    background: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #667eea;
    font-weight: 500;
}

/* ===== NAVIGATION STYLES ===== */
nav {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 1rem 2rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav .user-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

nav .welcome {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

nav .welcome .name {
    font-weight: 600;
    font-size: 14px;
}

nav .welcome .role {
    font-size: 12px;
    color: #718096;
}

nav .buttons {
    display: flex;
    gap: 1rem;
}

nav button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

nav .btn-admin {
    background: #f0f4ff;
    color: #667eea;
}

nav .btn-admin:hover {
    background: #667eea;
    color: white;
}

nav .btn-boss {
    background: #f0f8ff;
    color: #2563eb;
}

nav .btn-boss:hover {
    background: #2563eb;
    color: white;
}

nav .btn-home {
    background: #f0f4ff;
    color: #667eea;
}

nav .btn-home:hover {
    background: #667eea;
    color: white;
}

nav .btn-back {
    background: #f0f4ff;
    color: #667eea;
}

nav .btn-back:hover {
    background: #667eea;
    color: white;
}

nav .btn-logout {
    background: #fee;
    color: #dc2626;
}

nav .btn-logout:hover {
    background: #dc2626;
    color: white;
}

/* ===== MAIN CONTAINER ===== */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.container-wide {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* ===== HEADER ===== */
.header {
    margin-bottom: 2rem;
}

.header h1 {
    font-size: 28px;
    margin-bottom: 0.5rem;
}

.header p {
    color: #718096;
    font-size: 14px;
}

/* ===== CARDS ===== */
.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.card h2 {
    font-size: 18px;
    margin-bottom: 1.5rem;
    color: #2d3748;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===== GRID LAYOUTS ===== */
.grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stats-wide {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* ===== STAT CARDS ===== */
.stat-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-card .number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card .label {
    font-size: 13px;
    opacity: 0.9;
    font-weight: 500;
}

/* ===== FORM STYLES ===== */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #2d3748;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #f7fafc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.button-group {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-button,
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    flex: 1;
}

.login-button:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.login-button:active,
.btn-primary:active {
    transform: translateY(0);
}

.login-button:disabled,
.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: #e2e8f0;
    color: #2d3748;
    flex: 1;
}

.btn-secondary:hover {
    background: #cbd5e0;
}

.btn-danger {
    background: #fee;
    color: #dc2626;
}

.btn-danger:hover {
    background: #dc2626;
    color: white;
}

.btn-add {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.action-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-edit {
    background: #f0f4ff;
    color: #667eea;
}

.btn-edit:hover {
    background: #667eea;
    color: white;
}

.btn-delete {
    background: #fee;
    color: #dc2626;
}

.btn-delete:hover {
    background: #dc2626;
    color: white;
}

.btn-toggle {
    background: #f0f8ff;
    color: #2563eb;
}

.btn-toggle:hover {
    background: #2563eb;
    color: white;
}

.btn-view {
    background: #f0f4ff;
    color: #667eea;
}

.btn-view:hover {
    background: #667eea;
    color: white;
}

/* ===== WORKDAY ITEMS ===== */
.workday-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.workday-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e0;
}

.workday-info {
    flex: 1;
}

.workday-date {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.workday-notes {
    font-size: 13px;
    color: #718096;
    margin-bottom: 8px;
}

.workday-meta {
    font-size: 12px;
    color: #a0aec0;
}

.workday-actions {
    display: flex;
    gap: 8px;
}

.workdays-list {
    display: grid;
    gap: 1rem;
}

.performer-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.performer-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.performer-info {
    flex: 1;
}

.performer-name {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.performer-count {
    font-size: 13px;
    color: #718096;
}

.performer-medal {
    font-size: 24px;
    margin-left: 1rem;
}

.top-performers {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* ===== TABLES ===== */
.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}

th {
    padding: 12px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #718096;
}

td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 13px;
}

tbody tr:hover {
    background: #f7fafc;
}

.actions {
    display: flex;
    gap: 8px;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.admin {
    background: #fef3c7;
    color: #92400e;
}

.badge.boss {
    background: #dbeafe;
    color: #1e3a8a;
}

.badge.user {
    background: #e0e7ff;
    color: #3730a3;
}

.badge.active {
    background: #dcfce7;
    color: #166534;
}

.badge.inactive {
    background: #f3e8e8;
    color: #7c2d12;
}

/* ===== MODALS ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 200;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
}

.modal-header h2 {
    font-size: 18px;
    color: #2d3748;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #718096;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #2d3748;
}

/* ===== TABS ===== */
.tabs {
    display: flex;
    gap: 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.tab {
    padding: 12px 24px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.tab.active {
    color: #667eea;
    border-bottom-color: #667eea;
}

.tab:hover {
    color: #667eea;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* ===== ALERTS ===== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 13px;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
}

.alert.success {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #16a34a;
}

.alert.error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

.alert.info {
    background: #e0e7ff;
    color: #3730a3;
    border-left: 4px solid #667eea;
}

/* ===== EMPTY STATES ===== */
.empty-state {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.empty-state p {
    font-size: 14px;
}

/* ===== LOADING STATES ===== */
.loading {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

.loading-inline {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: white;
    margin-left: 4px;
    animation: dots 1.4s infinite;
}

.loading-inline:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-inline:nth-child(3) {
    animation-delay: 0.4s;
}

/* ===== PROGRESS BARS ===== */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ===== WORKDAY ITEM IN MODAL ===== */
.workday-item-modal {
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

.workday-item-modal:last-child {
    border-bottom: none;
}

.workday-date-modal {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.workday-notes-modal {
    font-size: 13px;
    color: #718096;
    margin-bottom: 4px;
}

.workday-meta-modal {
    font-size: 12px;
    color: #a0aec0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    nav .container {
        gap: 1rem;
    }

    nav .user-info {
        gap: 1rem;
    }

    nav .buttons {
        flex-direction: column;
        gap: 0.5rem;
    }

    nav button {
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container,
    .container-wide {
        padding: 0 1rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
    }

    .stats,
    .stats-wide {
        display: none !important;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card .number {
        font-size: 24px;
    }

    nav .container {
        flex-direction: column;
        gap: 1rem;
    }

    nav .logo {
        text-align: center;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    nav .user-info {
        width: 100%;
        gap: 1rem;
        justify-content: space-between;
    }

    nav .welcome {
        align-items: flex-start;
    }

    nav .buttons {
        flex-direction: row;
        width: 100%;
    }

    nav button {
        flex: 1;
        padding: 6px 8px;
        font-size: 11px;
    }

    .table-wrapper {
        font-size: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .monthly-table-horizontal {
        font-size: 11px;
        min-width: 100%;
    }

    th, td {
        padding: 6px 4px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .modal-content {
        max-width: 90%;
        padding: 16px;
    }

    .header h1 {
        font-size: 24px;
    }

    .card h2 {
        font-size: 16px;
    }

    .workday-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .workday-actions {
        width: 100%;
        margin-top: 1rem;
    }

    .workday-actions button {
        flex: 1;
    }

    .performer-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .performer-medal {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .actions {
        flex-direction: column;
        gap: 4px;
    }

    .action-btn {
        width: 100%;
    }

    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn,
    .btn-primary,
    .btn-secondary {
        flex: none;
        width: 100%;
    }

    .tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .tab {
        padding: 10px 16px;
        white-space: nowrap;
    }

    .login-container {
        margin: 1rem;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .login-body {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 20px;
    }

    .card h2 {
        font-size: 14px;
    }

    nav button {
        padding: 6px 8px;
        font-size: 10px;
    }

    .stat-card .number {
        font-size: 20px;
    }

    .stat-card .label {
        font-size: 12px;
    }

    .modal-content {
        max-width: 95%;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px; /* Prevent iOS zoom */
    }

    .monthly-table-horizontal {
        font-size: 10px;
    }

    .monthly-table-horizontal th,
    .monthly-table-horizontal td {
        padding: 4px 2px;
        min-width: auto;
    }

    .card {
        padding: 16px;
    }

    .container,
    .container-wide {
        padding: 0 0.5rem;
        margin: 1rem auto;
    }

    .workday-item {
        margin: 8px 0;
        padding: 12px;
    }

    .button-group {
        gap: 0.25rem;
    }

    .btn,
    .btn-primary,
    .btn-secondary {
        padding: 8px 12px;
        font-size: 12px;
    }
}

/* ===== UTILITY CLASSES ===== */
.w-100 {
    width: 100%;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.5rem !important;
}

.mb-2 {
    margin-bottom: 1rem !important;
}

.mb-3 {
    margin-bottom: 1.5rem !important;
}

.mt-1 {
    margin-top: 0.5rem !important;
}

.mt-2 {
    margin-top: 1rem !important;
}

.text-center {
    text-align: center;
}

.flex {
    display: flex;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ===== MONTHLY TABLE STYLES ===== */
.monthly-table-container {
    overflow-x: auto;
    margin-top: 1rem;
}

.monthly-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.monthly-table thead {
    background: #f1f5f9;
    border-bottom: 2px solid #e2e8f0;
}

.monthly-table th {
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
}

.monthly-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.monthly-table tbody tr:hover {
    background: #f8fafc;
}

.monthly-table .day-cell {
    font-weight: 500;
    color: #2d3748;
}

.monthly-table .status-cell {
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
}

.monthly-table .status-lavorato {
    background: #d1fae5;
    color: #065f46;
}

.monthly-table .status-malattia {
    background: #fee2e2;
    color: #991b1b;
}

.monthly-table .status-assenza {
    background: #fef3c7;
    color: #92400e;
}

.monthly-table .status-non_segnato {
    background: #f1f5f9;
    color: #64748b;
}

.monthly-table .hours-cell {
    font-weight: 600;
    color: #0369a1;
}

/* ===== HORIZONTAL MONTHLY TABLE STYLES ===== */
.monthly-table-horizontal {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    font-size: 13px;
}

.monthly-table-horizontal thead {
    background: #f1f5f9;
    border-bottom: 2px solid #e2e8f0;
}

.monthly-table-horizontal th {
    padding: 10px 6px;
    text-align: center;
    font-weight: 600;
    font-size: 12px;
    color: #475569;
    min-width: 40px;
}

.monthly-table-horizontal td {
    padding: 10px 6px;
    text-align: center;
    border: 1px solid #e2e8f0;
    font-size: 12px;
}

.monthly-table-horizontal tbody tr:hover {
    background: #f8fafc;
}

@media print {
    .html-only {
        display: none !important;
    }
}

.btn-download {
    background: #3b82f6;
}

.btn-download:hover {
    background: #2563eb;
}

