/* =========================================
   MODERN GIFTS WATCHER THEME - BLUE EDITION
   ========================================= */

:root {
    /* Color Palette - Blue Theme */
    --bg-main: #f0f4f8;
    --bg-surface: #ffffff;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-light: #eff6ff;
    --secondary: #64748b;
    --secondary-hover: #475569;
    --success: #10b981;
    --success-hover: #059669;
    --danger: #ef4444;
    --danger-hover: #dc2626;

    /* Text Colors */
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Shadows & Radii */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.2s ease-in-out;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-main);
    color: var(--text-dark);
    line-height: 1.5;
}

/* =========================================
   HEADER & LAYOUT
   ========================================= */
.main-content {
    flex: 1;
    background-color: var(--bg-main);
    padding-bottom: 60px;
}

.main-header {
    background: var(--bg-surface);
    color: var(--primary);
    padding: 25px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.footer {
    flex-shrink: 0;
    background-color: var(--bg-surface);
    color: var(--text-muted);
    text-align: center;
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid var(--border-color);
}

/* =========================================
   LOGIN PAGE (WISHERO SPLIT DESIGN)
   ========================================= */
.login-page-wrapper {
    flex: 1; /* Nahrazuje main-content, aby footer zůstal dole */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: var(--bg-main);
}

.login-split-card {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 900px;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Levá strana (Grafika a branding) */
.login-hero-side {
    flex: 1.2;
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    color: white;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.login-hero-side .hero-content {
    position: relative;
    z-index: 2;
}

/* Značka a logo na login stránce (Wishero) */
.login-brand {
    display: flex;
    align-items: center;
    gap: 18px; /* Mezera mezi logem a textem */
    margin-bottom: 10px;
}

.login-brand h1 {
    font-size: 46px;
    font-weight: 800;
    margin: 0; /* Margin odstraněn, řeší ho obal login-brand */
    letter-spacing: -1px;
}

/* Bílý podklad pro logo ("App Icon" styl) */
.login-logo-wrapper {
    background-color: var(--bg-surface); /* Čistě bílá */
    width: 56px;
    height: 56px;
    border-radius: var(--radius-lg); /* Větší zaoblení jako u iOS ikonek */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0; /* Zabrání smrsknutí ikony */
}

.login-logo-wrapper img {
    width: 42px;
    height: 42px;
}

.hero-tagline {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 35px;
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.hero-features li .emoji {
    font-size: 18px;
}

/* Dekorativní prvky v pozadí levé strany */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}
.hero-decoration.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -100px;
}
.hero-decoration.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: -50px;
}

/* Pravá strana (Formulář) */
.login-form-side {
    flex: 1;
    min-width: 320px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-surface);
}

.login-input label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; color: var(--text-dark); }
.login-input input { width: 100%; margin-bottom: 20px; }
.login-btn { width: 100%; padding: 12px; background: var(--primary); color: white; border: none; border-radius: var(--radius-md); cursor: pointer; font-weight: 600; font-size: 15px; transition: var(--transition); }
.login-btn:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.login-flash-messages { color: var(--danger); text-align: left; margin-bottom: 15px; font-weight: 500; font-size: 14px; }

.login-language-switcher { margin-top: 25px; text-align: center; }
.login-language-switcher select { width: 100%; margin: 0; }

/* =========================================
   NAVIGATION (TOP MENU)
   ========================================= */
.menu-top-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    height: 70px;
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Mírně zvětšená mezera pro lepší dýchání */
}

.logo {
    background-color: var(--bg-surface);
    border-radius: var(--radius-md);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px; /* Malý vnitřní okraj pro SVG */
}

.logo-img {
    height: 38px; /* Opticky vyladěná velikost pro SVG */
    width: 38px;
}

.logo-text {
    font-size: 22px; /* Mírně zvětšeno pro lepší vizuální dopad */
    font-weight: 800; /* Extra tučné */
    color: white;
    letter-spacing: -0.5px;
}

.menu-list { list-style: none; padding: 0; display: flex; gap: 5px; margin: 0; height: 100%; }
.menu-list li { display: flex; align-items: center; position: relative; height: 100%; }
.menu-list a { text-decoration: none; color: rgba(255, 255, 255, 0.8); font-weight: 600; padding: 8px 16px; border-radius: var(--radius-md); transition: var(--transition); cursor: pointer; }
.menu-list a:hover { color: white; background: rgba(255, 255, 255, 0.15); }

/* Oprava: Vyšší z-index pro submenu, aby testy viděly rozbalené položky */

/* =========================================
   MODERNÍ ROZBALOVACÍ MENU (DESKTOP)
   ========================================= */
.menu-dropdown {
    position: relative;
}

.menu-submenu {
    display: none;
    position: absolute;
    top: 100%; /* Dokonalé přilepení ke spodní hraně modré lišty */
    left: 0;
    background: var(--bg-surface);
    padding: 8px;
    /* Nahoře hranaté (plynulé napojení), dole kulaté */
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    list-style: none;
    min-width: 200px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    border-top: none; /* Odstraní horní rámeček pro hladké splynutí */
    z-index: 2000;
    transform-origin: top;
}

/* Neviditelný mostík pro 100% jistotu, že myš při přejezdu neuteče */
.menu-submenu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

/* Zobrazení s animací */
.menu-dropdown:hover .menu-submenu,
.menu-dropdown:focus-within .menu-submenu {
    display: block;
    animation: slideMenuDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Animace rozbalení */
@keyframes slideMenuDown {
    0% { opacity: 0; transform: scaleY(0.95); }
    100% { opacity: 1; transform: scaleY(1); }
}

/* Odkazy uvnitř submenu */
.menu-submenu a {
    display: block;
    color: var(--text-dark);
    padding: 10px 16px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Hover efekt na odkazech */
.menu-submenu a:hover {
    color: var(--primary);
    background: var(--primary-light);
    padding-left: 22px;
}

.menu-user-section { display: flex; align-items: center; gap: 15px; }

/* Snížení line-height pro text, aby se zbytečně nenatahoval */
.menu-user-info { font-weight: 500; font-size: 14px; color: rgba(255, 255, 255, 0.9); line-height: 1; }

/* Sjednocení vzhledu pro Logout tlačítko - přidán flex a fixní výška 36px */
.menu-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    box-sizing: border-box;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.menu-logout-btn:hover { background: var(--danger); border-color: var(--danger); color: white; }

/* Vyčištění starých marginů - o rozestup se stará rodič přes gap: 15px */
.language-switcher { display: flex; align-items: center; margin: 0; }

/* Sjednocení vzhledu pro Select - stejný flex a fixní výška 36px jako má Logout */
.language-select-header {
    display: inline-flex;
    align-items: center;
    height: 36px;
    box-sizing: border-box;
    margin: 0;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0 10px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    outline: none;
    transition: var(--transition);
}
.language-select-header option { color: var(--text-dark); background-color: white; }
.language-select-header:hover { background-color: rgba(255, 255, 255, 0.25); }

/* =========================================
   BUTTONS, INPUTS & FORMS
   ========================================= */
button, .submit-button, .save-button { padding: 10px 20px; border: none; background: var(--primary); color: white; cursor: pointer; border-radius: var(--radius-md); font-weight: 500; transition: var(--transition); font-family: inherit; }
button:hover, .submit-button:hover, .save-button:hover { background: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-reset, .cancel-button { background-color: var(--secondary) !important; text-decoration: none; color: white; padding: 10px 20px; border-radius: var(--radius-md); display: inline-block; }
.btn-reset:hover, .cancel-button:hover { background-color: var(--secondary-hover) !important; }
input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="url"], input[type="date"], select { padding: 10px 14px; border: 1px solid var(--border-color); border-radius: var(--radius-md); background-color: var(--bg-surface); font-family: inherit; font-size: 14px; transition: var(--transition); box-sizing: border-box; margin-bottom: 10px; }
input:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2); }
.checkbox-label { font-size: 15px; color: var(--text-dark); display: inline-flex; align-items: center; cursor: pointer; margin-bottom: 15px; font-weight: 500; }
input.small-checkbox { width: auto; padding: 0; margin: 0 8px 0 0; transform: scale(1.2); cursor: pointer; }

/* =========================================
   CONTAINERS & CARDS (Dashboard)
   ========================================= */
.container, .container-300, .container-1000 { background: var(--bg-surface); padding: 30px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); margin: 30px auto; border: 1px solid var(--border-color); }
.container-300 { max-width: 400px; }
.container-1000 { max-width: 1000px; }
.container h2, .table-container h2 { margin-top: 0; margin-bottom: 25px; font-weight: 700; color: var(--text-dark); }
.container-300.watchers-form form input, .container-300.watchers-form form select { width: 100%; }
.dashboard-container { display: flex; flex-direction: column; align-items: center; padding: 20px; }
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 25px; width: 100%; max-width: 1200px; margin-top: 20px; }
.card { background: var(--bg-surface); padding: 30px 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); text-align: center; transition: var(--transition); text-decoration: none; color: var(--text-dark); border: 1px solid var(--border-color); position: relative; overflow: hidden; }
.card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 4px; background-color: var(--primary); transform: scaleX(0); transition: transform 0.3s ease; transform-origin: left; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin: 0 0 10px 0; color: var(--primary); font-size: 20px; }
.card p { margin: 0; color: var(--text-muted); }

/* DASHBOARD - UPCOMING OCCASIONS */
.dashboard-occasions-container { max-width: 800px; margin-top: 20px; }
.occasions-list { display: flex; flex-direction: column; gap: 12px; }
.occasion-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; border-radius: var(--radius-md); text-decoration: none; color: var(--text-dark); transition: var(--transition); border: 1px solid transparent; }
.occasion-item.has-gifts { background-color: #dcfce7; border-color: #86efac; }
.occasion-item.no-gifts { background-color: #fee2e2; border-color: #fca5a5; }
.occasion-item:hover { transform: translateX(5px); box-shadow: var(--shadow-md); }
.occasion-info { flex: 1; }
.occasion-name { font-weight: 600; font-size: 16px; margin-bottom: 4px; }
.occasion-date { font-size: 14px; color: var(--text-muted); }
.days-until { color: var(--primary); font-weight: 600; margin-left: 8px; }
.occasion-status { font-size: 24px; }
.no-occasions { text-align: center; color: var(--text-muted); font-style: italic; padding: 20px; }

/* =========================================
   TABLES & LISTS
   ========================================= */
.table-container { margin: 30px auto; max-width: 95%; background: var(--bg-surface); padding: 25px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); border: 1px solid var(--border-color); overflow-x: auto; }
table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 15px; }
th, td { padding: 14px 16px; text-align: center; border-bottom: 1px solid var(--border-color); }
th { background: var(--primary); color: white; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }
th:first-child { border-top-left-radius: var(--radius-md); }
th:last-child { border-top-right-radius: var(--radius-md); }
.table-container th a { text-decoration: none; color: white; display: inline-flex; align-items: center; gap: 4px; }
.table-container th a:hover { color: rgba(255, 255, 255, 0.8); }
tbody tr { transition: var(--transition); }
tbody tr:hover { background-color: var(--bg-main); }
tbody td:first-child { font-weight: 500; }
.table-controls { background: var(--primary-light); padding: 15px; border-radius: var(--radius-md); margin-bottom: 20px; display: flex; flex-wrap: wrap; gap: 15px; align-items: center; justify-content: space-between; border: 1px solid rgba(37, 99, 235, 0.2); }
.table-controls .filters { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; align-items: center; }
.table-controls input, .table-controls select { margin-bottom: 0; height: 38px; }
.table-controls .sorting { display: flex; gap: 10px; align-items: center; }
.table-controls .btn-reset { padding: 8px 16px; }

/* Srovnání tlačítek Filter a Clear */
.table-controls .sorting {
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-controls .sorting button,
.table-controls .sorting .btn-reset {
    display: inline-flex; /* Zajistí, že text bude vždy uprostřed */
    align-items: center;
    justify-content: center;
    height: 40px; /* Pevná výška, která srovná odkaz i button */
    padding: 0 20px;
    margin: 0;
    box-sizing: border-box;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none; /* Odstraní podtržení u odkazu */
}

/* Pagination */
.pagination { text-align: center; margin-top: 25px; padding-top: 15px; border-top: none; }
.pagination a { margin: 0 5px; text-decoration: none; color: var(--primary); font-weight: 500; padding: 6px 12px; border-radius: var(--radius-md); transition: var(--transition); }
.pagination a:hover { background-color: var(--primary-light); }
.pagination span { margin: 0 10px; font-weight: 600; color: var(--text-dark); }

/* =========================================
   MODALS (Oprava overflow pro Playwright testy)
   ========================================= */
.modal, .gift-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    overflow-y: auto; /* DŮLEŽITÉ: Umožní scroll modalům, které jsou delší než obrazovka */
    padding: 20px 0; /* Malý odstup od okrajů prohlížeče */
    box-sizing: border-box;
}

.modal-content, .gift-modal-content {
    background-color: var(--bg-surface);
    margin: 20px auto; /* Upraveno pro lepší scrollovatelnost */
    padding: 30px;
    border: none;
    width: 90%;
    max-width: 450px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: slideDown 0.3s ease;
    border-top: 4px solid var(--primary);
}

/* Přidej toto pravidlo pro ochranu proti překrytí dlouhého textu a křížku */
.modal-content h3, .gift-modal-content h3 {
    margin-top: 0;
    color: var(--text-dark);
    font-size: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
    padding-right: 35px; /* DŮLEŽITÉ: Odsadí text nadpisu, aby nevlezl pod křížek */
}

/* NOVÉ: Styl pro zavírací křížek (X) vpravo nahoře */
.gift-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px; /* Zvětšení křížku */
    font-weight: bold;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1; /* Zabrání tomu, aby křížek rozhazoval výšku */
    z-index: 10;
}

.gift-modal-close:hover {
    color: var(--danger); /* Při najetí myší zčervená */
    transform: scale(1.1); /* Mírně se zvětší */
}

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

.modal-content h3, .gift-modal-content h3 { margin-top: 0; color: var(--text-dark); font-size: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; margin-bottom: 20px; }
.modal-content label { display: block; font-weight: 600; margin-bottom: 5px; font-size: 14px; }
.modal-buttons { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* =========================================
   GIFTS & PERSONS PAGE SPECIFICS
   ========================================= */
.table-actions-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.table-controls-wrapper { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; }
.per-page-form { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-muted); }
.per-page-form select { margin: 0; height: 38px; padding: 5px 10px; }
.link-icon { color: var(--primary); font-size: 1.4em; transition: var(--transition); }
.link-icon:hover { color: var(--primary-hover); }

.watcher-btn { position: relative; background: var(--bg-surface); color: var(--primary); border: 1px solid var(--primary); padding: 6px 12px; border-radius: var(--radius-md); cursor: pointer; font-size: 14px; transition: var(--transition); }
.watcher-btn:hover { background: var(--primary); color: white; }
.watcher-btn .badge { position: absolute; top: -8px; right: -8px; background: var(--danger); color: white; border-radius: 50%; padding: 2px 6px; font-size: 11px; font-weight: bold; box-shadow: var(--shadow-sm); }
.watcher-list { list-style: none; padding: 0; margin: 0; max-height: 300px; overflow-y: auto; }
.watcher-list-item { display: flex; justify-content: space-between; align-items: center; padding: 12px; border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 10px; background: var(--bg-main); }
.watcher-info { display: flex; gap: 12px; align-items: flex-start; }
.watcher-icon { text-decoration: none; font-size: 18px; margin-top: 2px; }

.event-info { font-size: 0.9em; min-width: 140px; }
.occasion-badge { display: inline-flex; flex-direction: column; padding: 4px 10px; border-radius: var(--radius-md); background-color: var(--primary-light); color: var(--primary-hover); font-weight: 500; }
.occasion-badge small { font-size: 0.85em; opacity: 0.8; }
.no-event { color: var(--text-muted); font-style: italic; }

.archive-toggle { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; color: var(--text-dark); }
.archived-row { background-color: var(--bg-main) !important; opacity: 0.6; }
.highlighted-row { background-color: #fffbeb !important; border-left: 4px solid #f59e0b; }

/* =========================================
   FLASH MESSAGES
   ========================================= */
.flash-messages { width: 100%; max-width: 600px; margin: 20px auto; text-align: center; }
.flash-message { padding: 12px 20px; margin-bottom: 10px; border-radius: var(--radius-md); font-weight: 500; box-shadow: var(--shadow-sm); }
.flash-message.success { background-color: #d1fae5; color: #065f46; border: 1px solid #34d399; }
.flash-message.danger, .flash-message.error { background-color: #fee2e2; color: #991b1b; border: 1px solid #f87171; }
.flash-message.info { background-color: var(--primary-light); color: var(--primary-hover); border: 1px solid #93c5fd; }

/* =========================================
   UTILITIES & ICONS
   ========================================= */
.edit-icon { color: var(--secondary); transition: var(--transition); font-size: 18px; cursor: pointer; }
.edit-icon:hover { color: var(--primary); }
.delete-icon { color: var(--danger); transition: var(--transition); font-size: 18px; margin-left: 10px; cursor: pointer; }
.delete-icon:hover { color: var(--danger-hover); }

/* Helper Classy */
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: #f59e0b; }
.italic { font-style: italic; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
.d-flex { display: flex; }
.gap-10 { gap: 10px; }
.btn-danger-sm { background: var(--danger); color: white; border: none; padding: 6px 10px; border-radius: var(--radius-md); cursor: pointer; font-size: 12px; transition: var(--transition); }
.btn-danger-sm:hover { background: var(--danger-hover); }
.action-cells { white-space: nowrap; }

/* =========================================
   MAIN CALENDAR
   ========================================= */
.calendar-container-wrapper { display: flex; justify-content: center; padding: 0 20px; }
.calendar-container { width: 100%; max-width: 1000px; background: var(--bg-surface); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 25px; border: 1px solid var(--border-color); }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.calendar-header span { font-size: 22px; font-weight: 700; color: var(--text-dark); }
.calendar-header button { background-color: var(--primary-light); color: var(--primary); border: 1px solid rgba(37, 99, 235, 0.2); padding: 8px 16px; font-size: 16px; }
.calendar-header button:hover { background-color: var(--primary); color: white; }
.calendar-weekdays { display: grid; grid-template-columns: repeat(7, 1fr); margin-bottom: 10px; }
.weekday { text-align: center; font-weight: 600; color: var(--text-muted); text-transform: uppercase; font-size: 13px; letter-spacing: 0.5px; }

/* Oddělení hl. kalendáře pro zamezení konfliktu výšek */
.calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day-cell {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    background-color: var(--bg-surface);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    /* Výchozí nastavení pro hlavní kalendář */
    min-height: 100px;
    justify-content: flex-start;
}
.day-cell.empty { background-color: transparent; border-color: transparent; }
.day-number { font-size: 14px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }

.day-cell.has-occasion { background-color: #dcfce7; border-color: #4ade80; }
/* Stav: Událost vytvořena, ale chybí alespoň jeden dárek (Varování) */
.day-cell.partial-occasion {
    background-color: #fee2e2 !important; /* Světle červená/růžová jako na dashboardu */
    border: 1px solid #fecaca;
    color: #991b1b;
}

/* Hover efekt pro červenou buňku */
.day-cell.partial-occasion:hover {
    background-color: #fecaca !important;
    border-color: #f87171;
}


/* Specifická červená barva POUZE pro události, kterým chybí dárek (platí pro červené i žluté buňky) */
.day-cell.partial-occasion .name-list li.missing-gift,
.calendar-overlay.partial-occasion li.missing-gift,
.day-cell.today-highlight .name-list li.missing-gift,
.calendar-overlay.today-active li.missing-gift {
    color: #991b1b;
    font-weight: 600; /* Zvýrazníme varování i tučností */
}

/* Události, které už dárek mají (.has-gift), zůstanou tmavé */
.day-cell.partial-occasion .name-list li.has-gift,
.calendar-overlay.partial-occasion li.has-gift,
.day-cell.today-highlight .name-list li.has-gift,
.calendar-overlay.today-active li.has-gift {
    color: var(--text-dark);
    font-weight: normal;
}

/* Události, které ještě nejsou vytvořené (.no-occasion-yet), vizuálně utlumíme jako nápovědu */
.day-cell .name-list li.no-occasion-yet,
.calendar-overlay li.no-occasion-yet {
    color: var(--text-muted) !important;
    opacity: 0.8;
}

.day-cell.no-occasion { background-color: #f1f5f9; }
.day-cell.today-highlight { border: 2px solid #eab308; background-color: #fef08a !important; }

/* --- ŠEDÝ STAV (Bez události) --- */
.day-cell.no-occasion.overlay-active,
.day-cell.no-occasion:hover {
    background-color: #e2e8f0 !important; /* Lehké ztmavení při najetí myší a rozbalení */
    border-color: #cbd5e1;
}
.calendar-overlay.no-occasion {
    background-color: #e2e8f0 !important;
    border-color: #cbd5e1 !important;
}

/* --- ZELENÝ STAV (Hotovo) --- */
.day-cell.has-occasion.overlay-active,
.day-cell.has-occasion:hover {
    background-color: #bbf7d0 !important; /* Tmavší zelená */
    border-color: #4ade80;
}
.calendar-overlay.has-occasion {
    background-color: #bbf7d0 !important;
    border-color: #4ade80 !important;
}

/* --- ČERVENÝ STAV (Chybí dárky) --- */
.day-cell.partial-occasion.overlay-active,
.day-cell.partial-occasion:hover {
    background-color: #fecaca !important; /* Tmavší červená */
    border-color: #f87171;
}
.calendar-overlay.partial-occasion {
    background-color: #fecaca !important;
    border-color: #f87171 !important;
}

/* --- ŽLUTÝ STAV (Dnešní den) --- */
.day-cell.today-highlight.overlay-active,
.day-cell.today-highlight:hover {
    background-color: #facc15 !important; /* Sytější žlutá */
    border-color: #eab308;
}
/* Pokud je overlay otevřen nad dneškem, musí mít jeho barvu */
.calendar-overlay.today-active {
    background-color: #facc15 !important;
    border-color: #eab308 !important;
}

.name-list { list-style: none; margin: 0; padding: 0; font-size: 12px; }
.name-list li { display: flex; align-items: center; justify-content: space-between; padding: 2px 0; line-height: 1.2; }
.event-icon { cursor: pointer; font-size: 14px; transition: transform 0.2s; }
.event-icon:hover { transform: scale(1.2); }
.more-events-btn { color: var(--primary); font-weight: 600; cursor: pointer; text-align: center; margin-top: 5px !important; }

.calendar-overlay {
    position: absolute;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    /* ZMĚNĚNO: z 0 5px 5px 5px na 8px, aby to perfektně lícovalo s .day-cell */
    padding: 0 8px 8px 8px;
    box-shadow: var(--shadow-lg);
    border-bottom-left-radius: var(--radius-md) !important;
    border-bottom-right-radius: var(--radius-md) !important;
    z-index: 900 !important;
}

.close-overlay-btn { text-align: center; color: var(--danger); font-weight: 600; cursor: pointer; border-top: 1px solid rgba(0,0,0,0.1); margin-top: 5px; padding-top: 5px !important; }

.gift-list-ul { list-style: none; padding: 0; margin-bottom: 20px; }
.gift-list-item { display: flex; justify-content: space-between; align-items: center; padding: 10px; border: 1px solid var(--border-color); border-radius: var(--radius-md); margin-bottom: 8px; background: var(--bg-main); }
.gift-link-icon { text-decoration: none; font-size: 16px; margin-right: 5px; }
.gift-desc { font-size: 12px; margin-top: 4px; }
.gift-delete-btn { background: transparent; border: none; color: var(--danger); cursor: pointer; font-size: 16px; padding: 0; transition: transform 0.2s; }
.gift-delete-btn:hover { transform: scale(1.2); }
.new-gift-form-box { background: var(--bg-main); padding: 15px; border-radius: var(--radius-md); border: 1px solid var(--border-color); margin-top: 15px; }

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(234, 179, 8, 0.7); }
    50% { box-shadow: 0 0 15px 5px rgba(234, 179, 8, 0); }
}

.btn-secondary { background-color: var(--secondary); color: white; border: none; padding: 10px 20px; border-radius: var(--radius-md); cursor: pointer; transition: var(--transition); }
.btn-secondary:hover { background-color: var(--secondary-hover); }

/* =========================================
   WATCHERS SPECIFICS (CHARTS, CALENDARS)
   ========================================= */
.watcher-chart-modal { max-width: 800px !important; }
.chart-icon { color: var(--success); transition: var(--transition); font-size: 18px; cursor: pointer; }
.chart-icon:hover { color: var(--success-hover); }
.modal-title-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; border-bottom: 1px solid var(--border-color); padding-bottom: 15px; }
.modal-title-row h3 { border: none !important; margin: 0 !important; padding: 0 !important; }
.modal-links { display: flex; align-items: center; gap: 10px; }

/* Zvýrazněný odkaz na produkt v modálu grafu */
/* Zvýrazněný odkaz na produkt v modálu grafu (čistý a malý) */
.product-external-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: var(--primary) !important;
    color: white !important;
    border: 1px solid var(--primary) !important;
    padding: 0 16px !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-sm) !important;
    height: 34px !important;
    box-sizing: border-box !important;
    line-height: normal !important;
    margin: 0 !important;
}

.product-external-link:hover {
    background-color: var(--primary-hover) !important;
    border-color: var(--primary-hover) !important;
    transform: translateY(-1px) !important;
    box-shadow: var(--shadow-md) !important;
}

.alza-buy-btn, .alza-buy-btn-modal { display: inline-block; background: linear-gradient(135deg, #ff6b35 0%, #f97316 100%); color: white !important; padding: 6px 12px; border-radius: var(--radius-md); text-decoration: none; font-weight: 600; font-size: 12px; transition: var(--transition); box-shadow: var(--shadow-sm); border: none; }
.alza-buy-btn-modal {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #ff6b35 0%, #f97316 100%) !important;
    color: white !important;
    border: none !important;
    padding: 0 16px !important;
    border-radius: var(--radius-md) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    transition: var(--transition) !important;
    box-shadow: var(--shadow-sm) !important;
    height: 34px !important;
    box-sizing: border-box !important;
    line-height: normal !important;
    margin: 0 !important;
}

.alza-buy-btn-modal:hover {
    transform: translateY(-1px) !important;
    box-shadow: var(--shadow-md) !important;
    background: linear-gradient(135deg, #ea580c 0%, #ff6b35 100%) !important;
}

.alza-buy-btn:hover, .alza-buy-btn-modal:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); background: linear-gradient(135deg, #ea580c 0%, #ff6b35 100%); }
.unavailable-warning { background-color: #fee2e2; color: #991b1b; padding: 10px 15px; border-radius: var(--radius-md); text-align: center; font-weight: 600; margin-bottom: 15px; border: 1px solid #f87171; }
.view-switch { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.view-btn { background: var(--bg-main); color: var(--text-dark); border: 1px solid var(--border-color); padding: 8px 16px; border-radius: var(--radius-md); font-weight: 500; }
.view-btn:hover { background: var(--border-color); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { border: 1px solid var(--border-color); padding: 8px; text-align: center; }
.price-table tr.best-price { background-color: #dcfce7; font-weight: bold; }
.price-table tr.worst-price { background-color: #fee2e2; font-weight: bold; }
.price-table tr.normal-price { background-color: #fef9c3; }

/* Override pro Watchers Price Kalendář */
#priceChart { width: 100%; max-height: 400px; margin-bottom: 10px; }
#priceCalendar .calendar-days { gap: 2px; }
#priceCalendar .day-cell {
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Vertikální centr */
    align-items: center;     /* Horizontální centr */
    padding: 5px;
    text-align: center;
}

#priceCalendar .day-cell strong {
    margin-bottom: 2px;
}

#priceCalendar .day-cell.best-price { background: #dcfce7; border-color: #22c55e; font-weight: bold; }
#priceCalendar .day-cell.worst-price { background: #fee2e2; border-color: #ef4444; }
#priceCalendar .day-cell.normal-price { background: #fef9c3; border-color: #eab308; }

/* Stylování přepínače počtu záznamů (Show: 10) */
.table-controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.per-page-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.per-page-form label {
    font-size: 14px;
    font-weight: 500;
    color: #64748b; /* Tlumená šedá barva textu, aby nerušila */
    margin: 0;
}

.per-page-form select {
    appearance: none; /* Odstraní výchozí ošklivou šipku prohlížeče */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    border: 1px solid #cbd5e1; /* Stejný rámeček jako mají filtry */
    border-radius: 6px;
    padding: 8px 32px 8px 12px; /* Více místa vpravo pro naši novou šipku */
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;

    /* Vlastní elegantní SVG šipka */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 16px;
}

.per-page-form select:hover {
    border-color: #94a3b8;
}

.per-page-form select:focus {
    border-color: #3b82f6; /* Modrá barva při rozkliknutí - stejná jako hlavní tlačítka */
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* =========================================
   JEDNOTNÉ MODERNÍ FORMULÁŘE (SaaS Design)
   ========================================= */
.modern-create-form {
    background: var(--bg-surface);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    margin: 30px auto;
    max-width: 1000px;
}

/* Nadpis formuláře s jemnou oddělovací linkou */
.modern-create-form h2 {
    margin-top: 0;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    font-size: 20px;
}

/* Mřížka pro inputy (Automaticky se roztáhnou vedle sebe) */
.modern-create-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

/* Třída pro pole, které má zabrat celou šířku (např. Výběr obchodu) */
.modern-create-form .form-grid .full-width {
    grid-column: 1 / -1;
}

/* Obal pro políčko a jeho popisek */
.modern-create-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px; /* Mezera mezi popiskem a políčkem */
}

/* Stylování popisků nad inputy */
.modern-create-form .form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted); /* Příjemná tlumená barva, aby to nekřičelo */
    margin: 0;
    padding-left: 2px;
}

/* Globální obal pro políčko a jeho popisek (Create form i Filtry) */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin: 0;
    padding-left: 2px;
    white-space: nowrap;
}

/* Úprava pruhu s filtry, aby se tlačítka zarovnala dolů k políčkům */
.table-controls, .table-controls .filters {
    align-items: flex-end !important;
}

/* Sjednocení velikostí políček */
.modern-create-form input:not([type="hidden"]):not([type="checkbox"]),
.modern-create-form select {
    width: 100%;
    height: 42px;
    margin: 0;
    box-sizing: border-box;
}

/* Akční panel (Tlačítko a checkboxy dole) */
.modern-create-form .form-actions {
    display: flex;
    justify-content: space-between; /* Checkbox vlevo, Tlačítko vpravo */
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color); /* Profi oddělení akcí */
}

/* Pokud formulář nemá checkbox, zarovnáme tlačítko rovnou doprava */
.modern-create-form .form-actions.justify-end {
    justify-content: flex-end;
}

.modern-create-form .submit-button {
    height: 42px;
    min-width: 180px;
    margin: 0;
}

.modern-create-form .checkbox-label {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Červená hvězdička pro povinná pole */
label.required::after {
    content: " *";
    color: #dc3545; /* Moderní tlumenější červená (bootstrap style) */
    font-weight: bold;
}

/* Odstranění otravných šipek u číselných polí (Chrome, Safari, Edge, Opera) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Odstranění šipek ve Firefoxu */
input[type="number"] {
    -moz-appearance: textfield;
}

/* Person Tags in Table */
.person-tag {
    display: inline-block;
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin: 2px;
}

/* =========================================
   ALZA INSPIRATOR CHIPS
   ========================================= */
.alza-chips-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.alza-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.alza-chip:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #f97316 100%);
    color: white;
    border-color: #f97316;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.alza-chip-icon {
    font-size: 16px;
}

/* =========================================
   MODERNÍ ŠTÍTEK PRO DÁREK (Watchers tabulka)
   ========================================= */
.gift-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background-color: #dcfce7;
    color: #166534;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid #bbf7d0;
    transition: var(--transition);
    white-space: nowrap;
}

.gift-link:hover {
    background-color: #bbf7d0;
    color: #15803d;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: #86efac;
}

.gift-link .bi-gift-fill {
    color: #16a34a !important;
}

/* =========================================
   SJEDNOCENÍ VZHLEDU MODÁLŮ (Edit Form)
   ========================================= */
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Jednotná mezera mezi všemi políčky */
}

/* Sjednocení velikostí všech inputů v modálech */
.modal-content input:not([type="hidden"]):not([type="checkbox"]),
.modal-content select {
    width: 100%;
    height: 42px;
    margin: 0;
    box-sizing: border-box;
}

/* Tlačítka v modálu s hezkým horním oddělovačem */
.modal-content .modal-buttons {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILNÍ ZAŘÍZENÍ)
   ========================================= */

/* Pomocné třídy pro desktop/mobilní rozdíly v menu */
.menu-user-actions { display: flex; gap: 15px; align-items: center; }
.submenu-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }

/* Hamburger tlačítko je na počítači schované */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
}

/* =========================================
   RESPONSIVE DESIGN (MOBILNÍ ZAŘÍZENÍ)
   ========================================= */

/* Pomocné třídy pro desktop/mobilní rozdíly v menu */
.menu-user-actions { display: flex; gap: 15px; align-items: center; }
.submenu-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; }

/* Hamburger tlačítko je na počítači schované */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    padding: 0;
}

@media (max-width: 768px) {
    /* --- 1. Horní menu (Navbar) --- */
    .menu-top-menu {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
        position: relative;
    }

    .logo-container {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
    }

    .menu-list {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 0;
        gap: 0;
    }

    .menu-list.active {
        display: flex;
    }

    .menu-list li {
        width: 100%;
        text-align: left;
    }

    .menu-list a {
        display: block;
        padding: 12px 16px;
        border-radius: 0;
        border-bottom: none;
    }

    /* Rozbalovací podmenu na mobilu */
    .menu-submenu {
        position: static !important;
        display: none !important;
        background: rgba(0,0,0,0.15) !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    .menu-dropdown.open .menu-submenu {
        display: block !important;
    }

    .menu-submenu a {
        color: rgba(255, 255, 255, 0.8) !important;
        background: transparent !important;
        border-radius: 0 !important;
        padding-left: 36px !important;
    }

    .menu-submenu a:hover {
        color: white !important;
        background: rgba(255, 255, 255, 0.1) !important;
        padding-left: 36px !important;
    }

    /* Spodní lišta se jménem a tlačítky */
    .menu-user-section {
        width: 100%;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
        padding-top: 10px;
        border-top: none;
    }

    .menu-user-info {
        display: block !important;
        font-size: 14px;
        font-weight: 600;
    }

    .menu-user-actions {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    /* --- 2. Tabulky (Scrollovatelné) --- */
    .table-container {
        padding: 15px;
        margin: 15px auto;
    }

    .table-container table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
    }

    .table-controls, .table-controls .filters, .table-controls-wrapper {
        flex-direction: column;
        align-items: stretch !important;
    }

    .per-page-form {
        justify-content: flex-end;
    }

    /* --- 3. Formuláře a Modály --- */
    .modern-create-form {
        padding: 15px;
        margin: 15px auto;
    }

    .modern-create-form .form-grid {
        grid-template-columns: 1fr;
    }

    .modal-content, .gift-modal-content {
        width: 95%;
        margin: 10px auto;
        padding: 20px;
    }

    /* --- 4. Dashboard Grid --- */
    .grid-container {
        grid-template-columns: 1fr;
    }

    /* --- 5. Hlavní nadpis --- */
    .main-header {
        padding: 15px;
        font-size: 22px;
        margin-bottom: 20px;
    }

    /* --- 6. Kalendář --- */
    .calendar-container-wrapper {
        padding: 0 10px;
    }

    .calendar-container {
        padding: 15px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .calendar-days,
    .calendar-weekdays,
    .calendar-header {
        min-width: 650px;
    }

    .day-cell {
        min-height: 80px;
        padding: 4px;
    }

    .name-list {
        font-size: 11px;
    }
}