/* ─── BNB Booking Shortcode ───────────────────────────────────────────── */

.bk-shortcode-wrap {
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Étapes */
.bk-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}
.bk-step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #9ca3af;
}
.bk-step.active { color: #1A3C5E; font-weight: 700; }
.bk-step-num {
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 2px solid currentColor;
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.bk-step-sep { width: 40px; height: 2px; background: #e5e7eb; margin: 0 8px; }

/* Carte */
.bk-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 22px;
    margin-bottom: 16px;
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
}

/* Navigation mois */
.bk-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}
.bk-month-nav h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1A3C5E;
    margin: 0;
    text-transform: capitalize;
}
.bk-month-nav button {
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 5px 12px;
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
    line-height: 1;
}
.bk-month-nav button:hover { background: #f3f4f6; }

/* Grille calendrier */
.bk-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 4px;
}
.bk-cal-head {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    padding: 5px 0;
    text-transform: uppercase;
    letter-spacing: .4px;
}
.bk-cal-day {
    text-align: center;
    padding: 6px 2px;
    border-radius: 6px;
    font-size: 13px;
    min-height: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.bk-cal-day.past { color: #d1d5db; }
.bk-cal-day.has-slots {
    cursor: pointer;
    font-weight: 700;
    color: #1A3C5E;
    background: #EBF3FB;
    border: 1px solid #bfdbfe;
}
.bk-cal-day.has-slots:hover { background: #dbeafe; }
.bk-cal-day.selected {
    background: #1A3C5E !important;
    color: #fff !important;
    border-color: #1A3C5E !important;
}
.bk-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
}
.bk-dot-green { background: #16a34a; }
.bk-dot-red   { background: #ef4444; }

/* Jour complet (plus de créneau dispo) */
.bk-cal-day.no-slots {
    color: #9ca3af;
    cursor: default;
}

/* Créneaux */
.bk-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.bk-slot {
    padding: 9px 14px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: #1A3C5E;
    transition: all .12s;
    background: #fff;
}
.bk-slot:hover   { border-color: #1A3C5E; background: #EBF3FB; }
.bk-slot.selected { border-color: #1A3C5E; background: #1A3C5E; color: #fff; }

/* Récap */
.bk-recap-bar {
    background: #EBF3FB;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    color: #1A3C5E;
}

/* Formulaire */
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bk-field { margin-bottom: 14px; }
.bk-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}
.bk-field input,
.bk-field textarea {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid #d1d5db;
    border-radius: 7px;
    font-size: 14px;
    font-family: inherit;
    color: #1f2937;
    box-sizing: border-box;
    transition: border-color .12s;
}
.bk-field input:focus,
.bk-field textarea:focus {
    outline: none;
    border-color: #1A3C5E;
    box-shadow: 0 0 0 3px rgba(26,60,94,.1);
}
.bk-field textarea { resize: vertical; min-height: 75px; }

/* Boutons */
.bk-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    width: 100%;
    font-family: inherit;
    transition: all .12s;
}
.bk-btn-primary { background: #FF5960; color: #fff; }
.bk-btn-primary:hover:not(:disabled) { background: #e0444b; }
.bk-btn-primary:disabled { opacity: .45; cursor: not-allowed; }
.bk-btn-outline {
    background: #fff;
    color: #1A3C5E;
    border: 2px solid #1A3C5E;
}
.bk-btn-outline:hover { background: #EBF3FB; }

/* Notices */
.bk-notice {
    padding: 11px 15px;
    border-radius: 7px;
    font-size: 14px;
    margin-bottom: 14px;
    border-left: 4px solid;
}
.bk-error { background: #fef2f2; border-color: #ef4444; color: #991b1b; }
.bk-info  { background: #EBF3FB; border-color: #1A3C5E; color: #1A3C5E; }

@media (max-width: 480px) {
    .bk-row { grid-template-columns: 1fr; }
    .bk-step-sep { width: 20px; }
    .bk-step { font-size: 12px; }
}

/* ── Variables & classes standalone (standalone) ── */
:root {
    --bk-primary:  #1A3C5E;
    --bk-accent:   #FF5960;
    --bk-success:  #16a34a;
    --bk-danger:   #ef4444;
    --bk-muted:    #6b7280;
    --bk-border:   #e5e7eb;
    --bk-light:    #f3f4f6;
}
.bnbbk-wrap        { max-width:960px; margin:0 auto; padding:20px; }
.bnbbk-header      { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; }
.bnbbk-header h1   { margin:0; font-size:22px; font-weight:700; color:var(--bk-primary); }
.bnbbk-card        { background:#fff; border:1px solid var(--bk-border); border-radius:10px; margin-bottom:16px; overflow:hidden; }
.bnbbk-card__head  { display:flex; align-items:center; padding:12px 18px; border-bottom:1px solid var(--bk-border); font-weight:600; font-size:14px; color:var(--bk-primary); background:#fafafa; }
.bnbbk-card__body  { padding:18px; }
.bnbbk-table       { width:100%; border-collapse:collapse; font-size:13px; }
.bnbbk-table th    { background:#f9fafb; padding:8px 12px; text-align:left; border-bottom:1px solid var(--bk-border); font-weight:600; color:var(--bk-muted); font-size:11px; text-transform:uppercase; letter-spacing:.5px; }
.bnbbk-table td    { padding:10px 12px; border-bottom:1px solid var(--bk-border); vertical-align:middle; }
.bnbbk-btn         { display:inline-flex; align-items:center; gap:6px; padding:8px 16px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; border:none; text-decoration:none; transition:opacity .15s; }
.bnbbk-btn:hover   { opacity:.85; }
.bnbbk-btn-primary { background:var(--bk-primary); color:#fff; }
.bnbbk-btn-accent  { background:var(--bk-accent); color:#fff; }
.bnbbk-btn-outline { background:#fff; color:var(--bk-primary); border:1.5px solid var(--bk-border); }
.bnbbk-btn-sm      { padding:5px 10px; font-size:12px; }
.bnbbk-notice      { padding:10px 16px; border-radius:8px; font-size:13px; margin-bottom:14px; }
.bnbbk-notice.success { background:#f0fdf4; border:1px solid #86efac; color:var(--bk-success); }
.bnbbk-notice.error   { background:#fef2f2; border:1px solid #fca5a5; color:var(--bk-danger); }
.bnbbk-field       { margin-bottom:12px; }
.bnbbk-field label { display:block; font-size:12px; font-weight:600; color:#374151; margin-bottom:4px; }
.bnbbk-field input, .bnbbk-field select { padding:8px 10px; border:1px solid var(--bk-border); border-radius:6px; font-size:13px; width:100%; box-sizing:border-box; }
