/* =====================================================
   MENIU ZILNIC – FINAL CLEAN
===================================================== */

/* ===============================
   CONTAINER
=============================== */
.meniu-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
}

.meniu-container h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 26px;
}

/* ===============================
   TABS
=============================== */
.meniu-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.meniu-tabs a {
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    background: #f1f5f9;
    color: #333;
    font-weight: 500;
    transition: 0.2s;
}

.meniu-tabs a.active {
    background: #0ea5e9;
    color: #fff;
}

/* ===============================
   DATA
=============================== */
.meniu-data {
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
}

.meniu-zi.normal { color: #0d6efd; }
.meniu-zi.weekend { color: #dc2626; }

.meniu-azi {
    margin-left: 6px;
    color: #16a34a;
}

/* ===============================
   NAV
=============================== */
.meniu-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 15px 0 25px;
}

.meniu-nav a {
    padding: 8px 14px;
    border-radius: 20px;
    background: #f1f3f5;
    text-decoration: none;
    color: #333;
}

/* ===============================
   GRID
=============================== */
.meniu-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 680px;
    margin: 0 auto;
}

/* ===============================
   CARD
=============================== */
.meniu-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: 0.2s;
}

.meniu-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

/* accent */
.meniu-card::before {
    content: "";
    display: block;
    height: 3px;
    margin: -18px -20px 12px -20px;
    border-radius: 10px 10px 0 0;
}

/* culori pe mese */
.meniu-card.mic_dejun::before {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.meniu-card.pranz::before {
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

.meniu-card.cina::before {
    background: linear-gradient(90deg, #22c55e, #86efac);
}

/* tip meniu */
.meniu-card.standard {
    border-left: 4px solid #2563eb;
}

.meniu-card.diabet {
    border-left: 4px solid #16a34a;
    background: #f0fdf4;
}

/* ===============================
   TITLU
=============================== */
.meniu-card h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 18px;
}

/* ===============================
   LISTĂ
=============================== */
.meniu-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.meniu-card li {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    line-height: 1.4;
}

.meniu-card li:last-child {
    border-bottom: none;
}

/* ===============================
   DESERT
=============================== */
.meniu-desert {
    color: #16a34a;
    font-weight: 500;
}

/* ===============================
   OBS
=============================== */
.meniu-obs {
    margin-top: 10px;
    font-size: 13px;
    color: #64748b;
}

/* ===============================
   BADGE TIP
=============================== */
.meniu-tip {
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.meniu-tip.standard {
    background: #dbeafe;
    color: #1e40af;
}

.meniu-tip.diabet {
    background: #dcfce7;
    color: #166534;
}

/* ===============================
   FEEDBACK
=============================== */
.meniu-feedback {
    max-width: 680px;
    margin: 40px auto 0;
    padding: 25px;
    border-radius: 14px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.meniu-feedback h3 {
    margin-bottom: 8px;
}

.meniu-feedback-info {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 15px;
}

/* rating */
.rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 6px;
    margin-bottom: 15px;
}

.rating input { display: none; }

.rating label {
    font-size: 26px;
    color: #d1d5db;
    cursor: pointer;
}

.rating label:hover,
.rating label:hover ~ label {
    color: #fbbf24;
}

.rating input:checked ~ label {
    color: #f59e0b;
}

/* textarea */
.meniu-feedback textarea {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 600px) {

    .meniu-tabs {
        flex-direction: column;
    }

    .meniu-tabs a {
        width: 100%;
        text-align: center;
    }

    .meniu-nav {
        flex-wrap: wrap;
    }

    .meniu-card {
        padding: 16px;
    }
}

/* Rating Meniu */
.meniu-rating {
    text-align: center;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
}

.meniu-rating span {
    color: #64748b;
    margin-left: 6px;
    font-size: 14px;
}

.meniu-badge {
    margin-left: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.meniu-badge.success {
    background: #dcfce7;
    color: #166534;
}

.meniu-badge.warning {
    background: #fee2e2;
    color: #991b1b;
}

.feedback-message {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
}

.feedback-message.success {
    color: #16a34a;
}

.feedback-message.error {
    color: #dc2626;
}

.feedback-message.info {
    color: #2563eb;
}

/* ===============================
   RATING FIX iOS
=============================== */

.rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}

.rating input {
    position: absolute;
    opacity: 0;
}

.rating label {
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease;
}

/* hover (desktop) */
.rating label:hover,
.rating label:hover ~ label {
    color: #fbbf24;
}

/* selectat */
.rating input:checked ~ label {
    color: #f59e0b;
}

/* touch fix */
.rating label:active {
    transform: scale(1.1);
}

.rating label {
    font-size: 32px;
}

/* ===============================
   MAP SALA DE MESE
=============================== */
.meniu-harta {
    text-align: center;
    margin: 15px 0 20px;
}

.btn-harta {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.btn-harta:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

.meniu-harta {
    text-align: center;
    margin: 15px 0 20px;
}

.btn-harta {
    display: inline-block;
    background: #0d6efd;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s ease;
}

.btn-harta:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
}

@media (max-width: 768px) {

    .meniu-harta {
        position: sticky;
        top: 70px; /* sub header */
        z-index: 10;
        background: #fff;
        padding: 10px 0;
        margin: 10px 0;
    }

    .btn-harta {
        width: 90%;
        max-width: 400px;
    }
}

.meniu-locatie {
    text-align: center;
    margin: 10px 0 15px;
}

.meniu-label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: #555;
}

.meniu-chips {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.meniu-chips button {
    border: 1px solid #ccc;
    background: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    transition: 0.2s;
}

.meniu-chips button:hover {
    border-color: #0d6efd;
    color: #0d6efd;
}

.meniu-chips button.active {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}