/* ── Beauty Booking Plugin Styles ─────────────────────────────────────── */

.bb-wrap * { box-sizing: border-box; margin: 0; padding: 0; }

.bb-wrap {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: #2c3e50;
    line-height: 1.7;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Header */
.bb-title {
    font-size: 2.8rem;
    font-weight: 400;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.bb-highlight {
    font-size: 1.1rem;
    color: #4a5f6f;
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.bb-note {
    font-size: 1rem;
    color: #6B7C5F;
    font-style: italic;
    padding: 18px 24px;
    background: rgba(139,155,127,0.08);
    border-radius: 8px;
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
    line-height: 1.7;
}

/* Service Cards */
.bb-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.bb-service-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

.bb-service-card:hover {
    border-color: #8B9B7F;
    box-shadow: 0 5px 20px rgba(139,155,127,0.15);
    transform: translateY(-3px);
}

.bb-service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.bb-service-card p {
    font-size: 0.9rem;
    color: #6B7C5F;
    margin-bottom: 10px;
}

.bb-service-card span {
    font-size: 0.85rem;
    color: #8B9B7F;
    font-style: italic;
}

/* Booking Box */
.bb-booking-box {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.bb-booking-title {
    font-size: 1.9rem;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-weight: 400;
}

.bb-booking-sub {
    text-align: center;
    color: #6B7C5F;
    font-style: italic;
    margin-bottom: 30px;
}

/* Tabs */
.bb-tabs {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.bb-tab {
    padding: 11px 22px;
    border: 2px solid #8B9B7F;
    background: transparent;
    color: #8B9B7F;
    border-radius: 6px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bb-tab:hover { background: rgba(139,155,127,0.1); }
.bb-tab.active { background: #8B9B7F; color: #fff; }

/* Panels */
.bb-panel { display: none; }
.bb-panel.active { display: block; }

.bb-slots-title {
    text-align: center;
    color: #4a5f6f;
    font-size: 1rem;
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

/* Slots */
.bb-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(115px,1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.bb-slot {
    padding: 14px 8px;
    border: 1.5px solid #d0d8ca;
    background: #fff;
    color: #2c3e50;
    border-radius: 8px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.05rem;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

.bb-slot:hover:not(.bb-slot-full) {
    border-color: #8B9B7F;
    background: rgba(139,155,127,0.07);
}

.bb-slot.bb-slot-selected {
    border-color: #8B9B7F;
    background: #8B9B7F;
    color: #fff;
}

.bb-slot.bb-slot-full {
    background: #f4f4f4;
    color: #bbb;
    border-color: #e0e0e0;
    cursor: not-allowed;
    text-decoration: line-through;
}

.bb-slot-avail {
    display: block;
    font-size: 0.7rem;
    margin-top: 3px;
    opacity: 0.75;
}

.bb-slot-full .bb-slot-avail { text-decoration: none; }

/* Excluded Note */
.bb-excluded-note {
    background: #f9f6f0;
    border-left: 3px solid #c9b99a;
    padding: 14px 18px;
    border-radius: 4px;
    font-size: 0.92rem;
    color: #5a4a35;
    margin-bottom: 18px;
    line-height: 1.7;
}

.bb-excluded-note strong {
    display: block;
    margin-bottom: 4px;
    color: #3d3020;
}

/* Fee */
.bb-fee {
    text-align: center;
    font-size: 1rem;
    color: #4a5f6f;
    font-style: italic;
    margin-bottom: 10px;
}

.bb-fee strong { color: #2c3e50; }

/* Form */
.bb-form {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e8ecef;
    animation: bbFadeIn 0.3s ease;
}

@keyframes bbFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.bb-form-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 1px;
    font-weight: 400;
}

.bb-summary {
    background: rgba(139,155,127,0.08);
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 18px;
    font-size: 0.98rem;
    color: #4a5f6f;
    line-height: 2;
}

.bb-summary strong { color: #2c3e50; }

.bb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.bb-form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}

.bb-form-group label {
    font-size: 0.88rem;
    color: #6B7C5F;
    letter-spacing: 0.5px;
}

.bb-form-group input {
    padding: 11px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1rem;
    color: #2c3e50;
    outline: none;
    transition: border-color 0.2s;
    background: #fafafa;
    width: 100%;
}

.bb-form-group input:focus {
    border-color: #8B9B7F;
    background: #fff;
}

/* Pay Button */
.bb-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 32px;
    background: #8B9B7F;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 6px;
}

.bb-pay-btn:hover { background: #6B7C5F; }
.bb-pay-btn svg { width: 17px; height: 17px; fill: #fff; }

/* Messages */
.bb-msg {
    margin-top: 14px;
    padding: 12px 18px;
    border-radius: 6px;
    font-size: 0.98rem;
    display: none;
}

.bb-msg.success { background: #eaf5ea; color: #2d6a2d; display: block; }
.bb-msg.error   { background: #fdf0f0; color: #a33;    display: block; }

/* Modal / Overlay */
.bb-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.bb-overlay.open { display: flex; }

.bb-modal {
    background: #fff;
    border-radius: 12px;
    padding: 20px 14px 16px;
    max-width: 500px;
    width: 94%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    max-height: 82vh;
    overflow-y: auto;
}

.bb-modal h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.bb-modal p {
    font-size: 0.8rem;
    color: #6B7C5F;
    margin-bottom: 10px;
    line-height: 1.5;
}

.bb-pdf-box {
    background: #f5f5f5;
    border: 2px dashed #d0d8ca;
    border-radius: 8px;
    padding: 36px 20px;
    margin-bottom: 22px;
    color: #8B9B7F;
    font-size: 0.92rem;
    line-height: 1.9;
}

.bb-pdf-icon { font-size: 2.8rem; display: block; margin-bottom: 10px; }
.bb-pdf-box strong { display: block; font-size: 1rem; color: #2c3e50; margin-bottom: 8px; }

.bb-close-btn {
    padding: 8px 22px;
    background: #8B9B7F;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

.bb-close-btn:hover { background: #6B7C5F; }

.bb-close-x {
    position: absolute;
    top: 14px; right: 16px;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
}

.bb-close-x:hover { color: #2c3e50; }

/* Notes Section */
.bb-notes {
    background: #8B9B7F;
    color: #fff;
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 30px;
}

.bb-notes h3 {
    font-size: 1.7rem;
    text-align: center;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-weight: 400;
    color: #ffffff;
}

.bb-notes ul { list-style: none; }

.bb-notes ul li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
    color: #ffffff;
}

.bb-notes ul li:before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #ffffff;
}

/* Contact */
.bb-contact {
    background: rgba(139,155,127,0.08);
    border-radius: 8px;
    padding: 28px;
    text-align: center;
}

.bb-contact h3 {
    font-size: 1.5rem;
    margin-bottom: 14px;
    letter-spacing: 1px;
    font-weight: 400;
}

.bb-contact p { font-size: 1rem; color: #4a5f6f; margin-bottom: 6px; }
.bb-contact a { color: #8B9B7F; font-weight: 600; text-decoration: none; }
.bb-contact a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
    .bb-title { font-size: 2rem; letter-spacing: 2px; }
    .bb-booking-box { padding: 24px 16px; }
    .bb-form-row { grid-template-columns: 1fr; }
    .bb-slots { grid-template-columns: repeat(3, 1fr); }
    .bb-tabs { gap: 8px; }
    .bb-tab { padding: 9px 14px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
    .bb-slots { grid-template-columns: repeat(2, 1fr); }
}

/* ── Payment Modal: Requisites ────────────────────── */
.bb-modal {
    max-height: 90vh;
    overflow-y: auto;
}
.bb-req-list {
    margin: 14px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}
.bb-req-divider {
    height: 1px;
    background: #e8d5c0;
    margin: 5px 0;
}
.bb-req-row {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    align-items: center;
    gap: 8px;
    background: #fdfaf7;
    border: 1px solid #ede0cc;
    border-radius: 5px;
    padding: 8px 10px;
}
.bb-req-label {
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #aaa;
}
.bb-req-value {
    font-family: 'Courier New', monospace;
    font-size: .78rem;
    color: #2c2c2c;
    word-break: break-all;
}
.bb-copy {
    background: #c9a96e;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: .72rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.bb-copy:hover  { background: #b8945a; }
.bb-copy.copied { background: #5a8a5a; }

.bb-modal-note {
    margin-top: 10px;
    padding: 8px 11px;
    background: #fdf8ee;
    border-left: 3px solid #c9a96e;
    border-radius: 0 5px 5px 0;
    font-size: .78rem;
    color: #5a4a1a;
    line-height: 1.5;
    text-align: left;
}

/* ── Inline Payment Details ───────────────────── */
.bb-payment-details {
    margin-top: 24px;
    background: #fdfaf7;
    border: 1px solid #e8d5c0;
    border-radius: 10px;
    padding: 24px 20px 20px;
    text-align: left;
}
.bb-pd-title {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 4px;
    color: #2c3e50;
}
.bb-pd-sub {
    font-size: .82rem;
    color: #888;
    text-align: center;
    margin-bottom: 16px !important;
    line-height: 1.5;
}
.bb-pd-group-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #c9a96e;
    margin: 14px 0 6px;
}
.bb-pd-group-title:first-of-type { margin-top: 0; }
.bb-pd-note {
    margin-top: 14px;
    padding: 9px 12px;
    background: #fdf8ee;
    border-left: 3px solid #c9a96e;
    border-radius: 0 5px 5px 0;
    font-size: .8rem;
    color: #5a4a1a;
    line-height: 1.5;
}
