/* =============================================
   JNS Horaires d'ouverture — Widget Front-end
   ============================================= */

.jns-widget {
    font-family: inherit;
    max-width: 440px;
}

.jns-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.jns-badge--normal {
    background-color: #eaf4fb;
    color: #1a6a9a;
    border: 1px solid #b3d6ed;
}

.jns-badge--vacances {
    background-color: #fff8e1;
    color: #b07d00;
    border: 1px solid #ffe082;
}

.jns-statut {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 16px;
    border-left: 4px solid transparent;
}

.jns-ouvert {
    background-color: #f0faf4;
    border-color: #2ecc71;
}

.jns-ferme {
    background-color: #fff5f5;
    border-color: #e74c3c;
}

.jns-statut__label {
    font-size: 1.15em;
    margin: 0 0 6px;
}

.jns-ouvert .jns-statut__label strong { color: #27ae60; }
.jns-ferme  .jns-statut__label strong { color: #c0392b; }

.jns-statut__detail {
    font-size: 0.9em;
    color: #555;
    margin: 0;
}

.jns-semaine { margin-top: 10px; }

.jns-semaine__titre {
    font-size: 0.95em;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.jns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9em;
}

.jns-table th,
.jns-table td {
    padding: 8px 12px;
    text-align: left;
    border-bottom: 1px solid #e8e8e8;
}

.jns-table th {
    background-color: #f5f5f5;
    font-weight: 600;
    color: #444;
}

.jns-table tr.jns-today td {
    background-color: #fffde7;
    font-weight: 700;
    color: #333;
}

.jns-table tr.jns-today td:first-child::before {
    content: "▶ ";
    color: #f39c12;
}

.jns-horaire-jour { display: inline; }
