/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2ecc71;
    --primary-dark: #27ae60;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --dark-bg: #2c3e50;
    --light-bg: #ecf0f1;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --sidebar-width: 280px;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container Layout */
.container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, var(--dark-bg) 0%, #34495e 100%);
    color: var(--text-light);
    padding: 2rem 0;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.logo {
    padding: 0 1.5rem 2rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
}

/* User dropdown */
.user-dropdown {
    position: relative;
    margin: 0 1rem 1rem;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.6rem 0.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
}

.user-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-dropdown-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.user-dropdown-name {
    flex: 1;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-chevron {
    font-size: 1.1rem;
    transition: transform 0.2s;
    line-height: 1;
}

.user-dropdown.open .user-dropdown-chevron {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    overflow: hidden;
    margin-top: 0.35rem;
}

.user-dropdown.open .user-dropdown-menu {
    display: flex;
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s;
}

.user-dropdown-item:hover {
    background: #f0f0f0;
}

.user-dropdown-item.active {
    font-weight: 600;
    color: var(--primary-color, #4f46e5);
}

.user-dropdown-item-icon {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.user-dropdown-logout-form {
    margin: 0;
}

.nav-menu {
    list-style: none;
    flex: 1;
}

.nav-item {
    margin-bottom: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-left-color: var(--primary-color);
    padding-left: 2rem;
}

.nav-link.active {
    background: rgba(46, 204, 113, 0.2);
    border-left-color: var(--primary-color);
}

.nav-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.nav-text {
    font-size: 1rem;
    font-weight: 500;
}

.nav-section-label {
    margin: 1rem 1.5rem 0.6rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.sidebar-footer {
    padding: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    border-top: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-auth-form {
    margin-bottom: 0.85rem;
}

.sidebar-auth-button,
.sidebar-auth-link {
    display: inline-block;
    width: 100%;
    border-radius: 8px;
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-auth-button {
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.09);
    color: var(--text-light);
}

.sidebar-auth-button:hover,
.sidebar-auth-link:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-1px);
}

.sidebar-auth-link {
    border: 1px solid rgba(46, 204, 113, 0.45);
    color: #d6f5e4;
    background: rgba(46, 204, 113, 0.15);
    margin-bottom: 0.85rem;
}

.auth-page {
    min-height: calc(100vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: white;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.auth-card h1 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #5f6b73;
    margin-bottom: 1.25rem;
}

.auth-error {
    background: #fcebea;
    border: 1px solid #f5c6c4;
    color: #b42318;
    padding: 0.7rem 0.85rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.auth-submit {
    margin-top: 0.25rem;
}

/* Main Content */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    padding: 2rem;
    background: var(--light-bg);
}

/* Welcome Section */
.welcome-section {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-header {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease;
}

.welcome-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease;
}

.feature-card-link {
    text-decoration: none;
    color: inherit;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    animation: fadeIn 1s ease;
}

.cta-section h2 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

/* Menu Collection Styles */
.menu-collection-section {
    max-width: 1400px;
    margin: 0 auto;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.page-header h1 {
    color: var(--primary-dark);
    font-size: 2rem;
    margin: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.btn-secondary {
    background: #95a5a6;
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    filter: saturate(1.05);
}

/* Filter Styles */
.filter-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: center;
}

.search-bar {
    flex: 1;
    position: relative;
}

.search-bar .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #95a5a6;
    pointer-events: none;
}

.search-bar input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    font-size: 1rem;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    background: white;
    transition: border-color 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-filter-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background: white;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-filter-toggle svg {
    width: 18px;
    height: 18px;
}

.btn-filter-toggle:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
}

.filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    background: var(--accent-color);
    border-radius: 10px;
}

.filter-panel {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: #7f8c8d;
    margin-bottom: 0.4rem;
}

.filter-group select {
    width: 100%;
    padding: 0.6rem 0.75rem;
    font-size: 0.95rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.btn-clear-filters {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2980b9 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

/* Table Styles */
.table-container {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.menu-table {
    width: 100%;
    border-collapse: collapse;
}

.menu-table thead {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #34495e 100%);
    color: white;
}

.menu-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
}

.menu-table td {
    padding: 1rem;
    border-bottom: 1px solid #ecf0f1;
}

.menu-table tbody tr {
    transition: background 0.2s ease;
}

.menu-table tbody tr:hover {
    background: #f8f9fa;
}

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

.no-data {
    text-align: center;
    color: #95a5a6;
    font-style: italic;
    padding: 2rem !important;
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: #d4edda;
    color: #155724;
}

.badge-secondary {
    background: #e2e3e5;
    color: #383d41;
}

/* Action Button Styles */
.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-icon svg {
    width: 16px;
    height: 16px;
}

.btn-edit {
    background: #ebf5fb;
    color: #2980b9;
}

.btn-edit:hover {
    background: #2980b9;
    color: white;
}

.btn-delete {
    background: #fdedec;
    color: #c0392b;
}

.btn-delete:hover {
    background: #c0392b;
    color: white;
}

.btn-icon-disabled,
.btn-icon:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.35);
}

.btn-icon-disabled:hover,
.btn-icon:disabled:hover {
    background: #fdedec;
    color: #c0392b;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideDown 0.3s ease;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid #ecf0f1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s ease;
}

.close:hover {
    transform: scale(1.2);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    border-top: 2px solid #ecf0f1;
    background: #f8f9fa;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group-inline input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    flex-shrink: 0;
}

.form-group-inline label {
    display: inline;
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    margin-top: 1.8rem;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.75rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.totp-qr-wrapper {
    display: inline-flex;
    padding: 0.5rem;
    border: 2px solid #ecf0f1;
    border-radius: 10px;
    background: white;
}

.totp-qr-image {
    width: 220px;
    height: 220px;
    display: block;
}

/* Week Planner Styles */
.week-planner-section {
    max-width: 1400px;
    margin: 0 auto;
}

.page-description {
    color: white;
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.95;
}

.week-planner-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    animation: fadeInUp 0.5s ease;
}

.form-section-title {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--primary-color);
}

.form-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Days Grid */
.days-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Days Table */
.days-table {
    width: 100%;
    border-collapse: collapse;
}

.days-table thead {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #34495e 100%);
    color: white;
}

.days-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.95rem;
    vertical-align: middle;
}

.days-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.days-table tbody tr {
    transition: background 0.2s ease;
}

.days-table tbody tr:hover {
    background: #f8f9fa;
}

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

.day-cell {
    font-weight: 600;
}

.day-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    vertical-align: middle;
}

.day-name {
    color: var(--text-dark);
    font-size: 1rem;
    vertical-align: middle;
}

.days-table select {
    width: 100%;
    max-width: 400px;
    padding: 0.75rem;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: white;
    cursor: pointer;
}

.days-table select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.days-table select:hover {
    border-color: #d0d3d4;
}

/* Week Planner: searchable menu select */
.searchable-select {
    position: relative;
    min-width: 220px;
    max-width: 360px;
}

.searchable-select-button {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    border: 1px solid #d0d7de;
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 42px;
    cursor: pointer;
    color: #111827;
    font-weight: 500;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.searchable-select-button:hover {
    border-color: #93c5fd;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.12);
}

.searchable-select.is-open .searchable-select-button {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.16);
    transform: translateY(-1px);
}

.searchable-select-button-label {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.searchable-select-button-icon {
    color: #4b5563;
    font-size: 0.82rem;
    line-height: 1;
    transition: transform 0.15s ease;
}

.searchable-select.is-open .searchable-select-button-icon {
    transform: rotate(180deg);
}

.searchable-select-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 15;
    background: #fff;
    border: 1px solid #d0d7de;
    border-radius: 12px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
    padding: 10px;
    animation: searchableSelectIn 0.16s ease-out;
}

.searchable-select-dropdown[hidden] {
    display: none;
}

.searchable-select-search {
    width: 100%;
    margin-bottom: 8px;
    border: 1px solid #d1d5db;
    border-radius: 9px;
    padding: 9px 10px;
    font-size: 0.93rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.searchable-select-search:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.searchable-select-list {
    max-height: 180px;
    overflow-y: auto;
    display: grid;
    gap: 4px;
    padding-right: 2px;
}

.searchable-select-list::-webkit-scrollbar {
    width: 8px;
}

.searchable-select-list::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 999px;
}

.searchable-select-option {
    text-align: left;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: #111827;
    transition: background-color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.searchable-select-option:hover,
.searchable-select-option.is-selected {
    background: #eff6ff;
    border-color: #93c5fd;
    transform: translateY(-1px);
}

.searchable-select-empty {
    font-size: 0.9rem;
    color: #6b7280;
    padding: 6px 4px;
}

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

.checkbox-cell {
    text-align: center;
}

.checkbox-cell input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.day-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.day-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.day-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}

.day-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label-day {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.checkbox-label-day:hover {
    background: #f8f9fa;
}

.checkbox-label-day input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.checkbox-label-day span {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-actions button {
    min-width: 180px;
}

/* Week Planner Result Styles */
.week-planner-result {
    margin-top: 2rem;
    animation: fadeInUp 0.5s ease;
}

.days-table tfoot {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: bold;
}

.days-table tfoot th {
    padding: 1rem;
    font-size: 1.1rem;
    vertical-align: middle;
}

/* Mobile Header */
.mobile-header {
    display: none;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #34495e 100%);
    color: var(--text-light);
    position: sticky;
    top: 0;
    z-index: 1001;
}

.mobile-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.sidebar-overlay.open {
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .menu-collection-section,
    .week-planner-section {
        max-width: 100%;
    }

    .form-row-three {
        grid-template-columns: 1fr 1fr;
    }

    .menu-table th:nth-child(2),
    .menu-table td:nth-child(2) {
        max-width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
    }

    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        width: 280px;
        height: 100vh;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .sidebar.open {
        left: 0;
    }

    .main-content {
        margin-left: 0;
        padding: 1rem;
    }

    .container {
        flex-direction: column;
    }

    /* Welcome page */
    .welcome-header {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
        border-radius: 12px;
    }

    .welcome-header h1 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    .cta-section {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .cta-section h2 {
        font-size: 1.2rem;
    }

    .cta-section p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }

    .cta-button {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }

    /* Page header */
    .page-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1rem;
    }

    .page-header h1 {
        font-size: 1.3rem;
    }

    .page-header .btn-primary {
        width: 100%;
    }

    .page-description {
        font-size: 0.9rem;
        margin-top: 0.25rem;
    }

    /* Filter section */
    .filter-section {
        flex-direction: column;
        gap: 0.5rem;
    }

    .search-bar input {
        padding: 0.6rem 0.8rem 0.6rem 2.5rem;
        font-size: 0.95rem;
    }

    .btn-filter-toggle {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .filter-panel {
        padding: 1rem;
    }

    .filter-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }

    .form-row-three {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 1rem;
        border-radius: 10px;
    }

    .form-section-title {
        font-size: 1.15rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }

    .form-actions {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.75rem;
        border-radius: 10px;
    }

    .form-actions button {
        min-width: 100%;
    }

    /* Modal - full screen on mobile */
    .modal-content {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        animation: none;
    }

    .modal-header {
        padding: 1rem;
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 1rem;
        overflow-y: auto;
        flex: 1;
    }

    .modal-footer {
        padding: 0.75rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
        position: sticky;
        bottom: 0;
        z-index: 1;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .form-group textarea {
        min-height: 60px;
    }

    .checkbox-label {
        margin-top: 0.5rem;
    }

    .checkbox-group {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    /* Menu table: card layout on mobile */
    .table-container {
        background: none;
        box-shadow: none;
        overflow: visible;
        border-radius: 0;
    }

    .menu-table {
        border: none;
    }

    .menu-table thead {
        display: none;
    }

    .menu-table tbody {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .menu-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        background: white;
        border-radius: 12px;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .menu-table tbody tr[style*="display: none"] {
        display: none !important;
    }

    .menu-table td {
        border-bottom: none;
        padding: 0.4rem 0;
    }

    .menu-table td::before {
        content: attr(data-label);
        display: block;
        font-weight: 700;
        font-size: 0.75rem;
        text-transform: uppercase;
        color: #7f8c8d;
        margin-bottom: 0.2rem;
    }

    /* Name spans full width */
    .menu-table td:nth-child(1) {
        grid-column: 1 / -1;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--primary-dark);
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #ecf0f1;
    }

    /* Description spans full width */
    .menu-table td:nth-child(2) {
        grid-column: 1 / -1;
        max-width: none;
        white-space: normal;
    }

    /* Actions span full width */
    .menu-table td:last-child {
        grid-column: 1 / -1;
        padding-top: 0.5rem;
        border-top: 1px solid #ecf0f1;
    }

    .menu-table td:last-child .action-buttons {
        justify-content: flex-end;
    }

    .menu-table td[style*="text-align"] {
        text-align: left !important;
    }

    /* Days table responsive */
    .days-table {
        font-size: 0.9rem;
    }

    .days-table th,
    .days-table td {
        padding: 0.75rem 0.5rem;
    }

    .day-icon {
        font-size: 1.2rem;
        margin-right: 0.4rem;
    }

    .days-table select {
        font-size: 0.9rem;
        padding: 0.6rem;
    }

    /* Message box */
    .message-box {
        padding: 1.5rem 1.25rem;
        max-width: 95%;
        border-radius: 14px;
    }

    .message-icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .message-icon {
        width: 36px;
        height: 36px;
    }

    .message-title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }

    .message-text {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.75rem;
    }

    .welcome-header {
        padding: 1.25rem 0.75rem;
        margin-bottom: 1rem;
    }

    .welcome-header h1 {
        font-size: 1.2rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .cta-section {
        padding: 1.25rem 0.75rem;
    }

    .cta-section h2 {
        font-size: 1.1rem;
    }

    .page-header {
        padding: 0.75rem;
        gap: 0.5rem;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }

    .page-header h1 {
        font-size: 1.2rem;
    }

    .btn-primary,
    .btn-clear-filters {
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    .filter-section {
        margin-bottom: 0.5rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .filter-panel {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .form-card {
        padding: 0.75rem;
        border-radius: 8px;
    }

    .form-section-title {
        font-size: 1.05rem;
        margin-bottom: 0.75rem;
    }

    .form-actions {
        padding: 0.5rem;
    }

    /* Menu table cards tighter */
    .menu-table tbody tr {
        padding: 0.75rem;
        gap: 0.4rem;
        border-radius: 10px;
    }

    .menu-table td:nth-child(1) {
        font-size: 1rem;
    }

    /* Days table card layout on small phones */
    .days-table thead {
        display: none;
    }

    .days-table tbody {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .days-table tbody tr {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.4rem;
        background: white;
        border-radius: 8px;
        padding: 0.75rem;
        border: 1px solid #e9ecef;
    }

    .days-table tbody tr td:first-child {
        grid-column: 1 / -1;
        font-size: 1rem;
        padding-bottom: 0.3rem;
        border-bottom: 1px solid #ecf0f1;
    }

    .days-table td {
        border-bottom: none;
        padding: 0.2rem 0;
    }

    .days-table tfoot {
        display: block;
        margin-top: 0.5rem;
        border-radius: 8px;
        overflow: hidden;
    }

    .days-table tfoot tr {
        display: flex;
        justify-content: space-between;
        padding: 0.6rem 0.75rem;
    }

    .days-table tfoot th {
        padding: 0;
        font-size: 0.95rem;
    }

    .checkbox-group {
        grid-template-columns: 1fr 1fr;
        padding: 0.5rem;
    }

    .message-button {
        padding: 0.65rem 1.5rem;
        font-size: 0.9rem;
    }

    .message-button-group {
        width: 100%;
    }

    .message-button-group .message-button {
        flex: 1;
        min-width: 0;
    }
}

/* Custom Message Box Modal */
.message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.message-modal.show {
    background-color: rgba(0, 0, 0, 0.6);
}

.message-modal.show .message-box {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.message-box {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 480px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.message-icon-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.message-icon {
    width: 48px;
    height: 48px;
    stroke-width: 2.5;
}

@keyframes iconPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.message-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 1rem;
    color: var(--text-dark);
}

.message-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 2rem;
    color: #555;
}

.message-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    min-width: 150px;
}

.message-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.message-button:active {
    transform: translateY(-1px);
}

/* Button Group for Confirmation Dialog */
.message-button-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.message-button-cancel {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.3);
}

.message-button-cancel:hover {
    background: linear-gradient(135deg, #5a6268 0%, #545b62 100%);
    box-shadow: 0 8px 25px rgba(108, 117, 125, 0.4);
}

.message-button-confirm {
    background: linear-gradient(135deg, #17a2b8 0%, #3498db 100%);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

.message-button-confirm:hover {
    background: linear-gradient(135deg, #138496 0%, #2980b9 100%);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.5);
}

/* Success Message Style */
.message-box.message-success .message-icon-container {
    background: linear-gradient(135deg, #d4edda 0%, #a3d9a5 100%);
    color: #28a745;
    box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.message-box.message-success .message-title {
    color: #28a745;
}

.message-box.message-success .message-button {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.message-box.message-success .message-button:hover {
    background: linear-gradient(135deg, #218838 0%, #1aa87e 100%);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.5);
}

/* Error Message Style */
.message-box.message-error .message-icon-container {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #dc3545;
    box-shadow: 0 8px 20px rgba(220, 53, 69, 0.3);
    animation: iconShake 0.5s ease;
}

@keyframes iconShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.message-box.message-error .message-title {
    color: #dc3545;
}

.message-box.message-error .message-button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.message-box.message-error .message-button:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.5);
}

/* Warning Message Style */
.message-box.message-warning .message-icon-container {
    background: linear-gradient(135deg, #fff3cd 0%, #ffe69c 100%);
    color: #ff9800;
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
    animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-15px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(-8px); }
}

.message-box.message-warning .message-title {
    color: #ff9800;
}

.message-box.message-warning .message-button {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #333;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.message-box.message-warning .message-button:hover {
    background: linear-gradient(135deg, #e0a800 0%, #e68900 100%);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

/* Info Message Style */
.message-box.message-info .message-icon-container {
    background: linear-gradient(135deg, #d1ecf1 0%, #b8daff 100%);
    color: #17a2b8;
    box-shadow: 0 8px 20px rgba(23, 162, 184, 0.3);
}

.message-box.message-info .message-title {
    color: #17a2b8;
}

.message-box.message-info .message-button {
    background: linear-gradient(135deg, #17a2b8 0%, #3498db 100%);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

.message-box.message-info .message-button:hover {
    background: linear-gradient(135deg, #138496 0%, #2980b9 100%);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.5);
}

/* Print Styles */
@media print {
    * {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: white !important;
        color: #2c3e50 !important;
        font-family: 'Segoe UI', Arial, sans-serif;
        font-size: 11pt;
        line-height: 1.5;
        margin: 0;
        padding: 0;
    }

    .sidebar,
    .mobile-header,
    .sidebar-overlay,
    .week-planner-form,
    .form-actions,
    .message-modal,
    .nav-menu,
    .page-header,
    .page-description {
        display: none !important;
    }

    .container {
        display: block;
    }

    .main-content {
        margin: 0;
        padding: 0;
        background: white !important;
    }

    .week-planner-section {
        max-width: 100%;
    }

    .week-planner-result {
        display: block !important;
        margin: 0;
    }

    .week-planner-result .form-card {
        box-shadow: none;
        border: none;
        padding: 0;
        background: white;
        border-radius: 0;
    }

    .week-planner-result .form-section-title {
        color: #27ae60;
        font-size: 18pt;
        font-weight: 300;
        letter-spacing: 0.5pt;
        margin: 0 0 1rem 0;
        padding: 0 0 0.6rem 0;
        border-bottom: 2pt solid #27ae60;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .week-planner-result .table-container {
        box-shadow: none;
        border: none;
        border-radius: 0;
        overflow: visible;
    }

    .days-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0;
    }

    .days-table thead {
        background: none !important;
    }

    .days-table th {
        background: #27ae60 !important;
        color: white !important;
        font-weight: 600;
        font-size: 9.5pt;
        text-transform: uppercase;
        letter-spacing: 0.5pt;
        padding: 8pt 10pt;
        border: none;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .days-table th:first-child {
        border-radius: 4pt 0 0 0;
    }

    .days-table th:last-child {
        border-radius: 0 4pt 0 0;
    }

    .days-table td {
        padding: 7pt 10pt;
        border: none;
        border-bottom: 0.5pt solid #e0e0e0;
        font-size: 10pt;
        vertical-align: middle;
        color: #333;
    }

    .days-table tbody tr {
        background: none !important;
    }

    .days-table tbody tr:nth-child(even) {
        background: #f7faf8 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

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

    .day-cell {
        font-weight: 600;
        color: #2c3e50 !important;
    }

    .days-table tfoot {
        background: none !important;
        color: black !important;
    }

    .days-table tfoot th {
        background: #f0f0f0 !important;
        color: #2c3e50 !important;
        font-size: 10.5pt;
        font-weight: 700;
        border: none;
        border-top: 1.5pt solid #27ae60;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .days-table tfoot th:first-child {
        border-radius: 0 0 0 4pt;
    }

    .days-table tfoot th:last-child {
        border-radius: 0 0 4pt 0;
    }

    .day-icon {
        display: none;
    }

    .badge {
        background: none !important;
        border: none;
        padding: 0;
        font-weight: normal;
    }

    .badge-success {
        color: #27ae60 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .badge-secondary {
        color: #999 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    @page {
        margin: 18mm 15mm;
        size: A4 portrait;
    }
}
