/* Lunch Manager – Admin štýly */

.lm-wrap { max-width: 1200px; }
.lm-wrap h1 { margin-bottom: 20px; }

/* Date bar */
.lm-date-bar {
    background: #f0f4ff;
    border-left: 4px solid #2271b1;
    padding: 10px 16px;
    margin-bottom: 24px;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
}

/* Badges */
.lm-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}
.lm-badge-green  { background: #d4edda; color: #155724; }
.lm-badge-red    { background: #f8d7da; color: #721c24; }
.lm-badge-orange { background: #fff3cd; color: #856404; }
.lm-badge-blue   { background: #d0e8ff; color: #1a5a9e; }

/* Štatistické kartičky */
.lm-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.lm-stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-top: 4px solid #ccc;
}
.lm-stat-card.lm-blue   { border-top-color: #2271b1; }
.lm-stat-card.lm-green  { border-top-color: #00a32a; }
.lm-stat-card.lm-orange { border-top-color: #f0a500; }
.lm-stat-card.lm-red    { border-top-color: #d63638; }
.lm-stat-card.lm-purple { border-top-color: #8b5cf6; }
.lm-stat-card.lm-gray   { border-top-color: #888; }

.lm-stat-number {
    font-size: 32px;
    font-weight: 700;
    color: #1d2327;
    line-height: 1.2;
}
.lm-stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 6px;
}

/* Rýchle akcie */
.lm-quick-actions {
    background: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lm-quick-actions h2 { margin-top: 0; font-size: 16px; }

.lm-action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Tlačidlá */
.lm-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.15s;
}
.lm-btn:hover { opacity: 0.85; }
.lm-btn-primary   { background: #2271b1; color: #fff; }
.lm-btn-secondary { background: #00a32a; color: #fff; }
.lm-btn-outline   { background: #fff; color: #2271b1; border: 1px solid #2271b1; }
.lm-btn-danger    { background: #d63638; color: #fff; }
.lm-btn-sm        { padding: 4px 12px; font-size: 12px; }

/* Sekcie */
.lm-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.lm-section h2 { margin-top: 0; font-size: 16px; }

/* Tabuľky */
.lm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.lm-table th {
    background: #f6f7f7;
    padding: 10px 12px;
    text-align: left;
    border-bottom: 2px solid #e0e0e0;
    font-weight: 600;
}
.lm-table td {
    padding: 9px 12px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}
.lm-table tr:hover td { background: #f9fbff; }
.lm-table tr:last-child td { border-bottom: none; }

/* Formuláre */
.lm-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.lm-form-group { margin-bottom: 16px; }
.lm-form-group label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 13px; }
.lm-form-group input,
.lm-form-group select,
.lm-form-group textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.lm-form-group textarea { min-height: 80px; resize: vertical; }

/* Menu grid */
.lm-menu-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.lm-menu-day {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 12px;
    border: 1px solid #e0e0e0;
}
.lm-menu-day h3 {
    margin: 0 0 10px;
    font-size: 14px;
    color: #2271b1;
    border-bottom: 1px solid #ddd;
    padding-bottom: 6px;
}
.lm-menu-item {
    background: #fff;
    border-radius: 4px;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #e0e0e0;
    font-size: 13px;
}
.lm-menu-item .course-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 3px;
}
.lm-menu-item.soup  { border-left: 3px solid #e67e22; }
.lm-menu-item.main  { border-left: 3px solid #2271b1; }

/* Mobilná responzivita */
@media (max-width: 782px) {
    .lm-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .lm-menu-grid  { grid-template-columns: 1fr; }
    .lm-form-grid  { grid-template-columns: 1fr; }
}
