/* Neexus Appointments — Booking Widget Styles */

.neexus-booking-widget {
    font-family: system-ui, -apple-system, sans-serif;
    max-width: 600px;
}

.nb-hidden { display: none !important; }

.nb-step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #111827;
}

/* Profissionais */
.nb-professionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: .75rem;
}

.nb-prof-card {
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}

.nb-prof-card:hover {
    border-color: #111827;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.nb-prof-name {
    font-weight: 600;
    margin-bottom: .25rem;
}

.nb-prof-approval {
    font-size: .8rem;
    color: #6b7280;
}

.nb-prof-price {
    font-size: .875rem;
    font-weight: 500;
    color: #111827;
    margin-top: .5rem;
}

.nb-badge-super {
    font-size: .7rem;
    background: #fef3c7;
    color: #92400e;
    border-radius: 4px;
    padding: 1px 5px;
}

/* Calendário */
.nb-calendar-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1rem;
}

.nb-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
    font-weight: 600;
}

.nb-prev-month, .nb-next-month {
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #6b7280;
    padding: 0 .5rem;
    line-height: 1;
}

.nb-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
    font-size: .85rem;
}

.nb-day-label {
    font-size: .75rem;
    color: #9ca3af;
    padding: .25rem 0;
}

.nb-day-btn {
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    padding: .35rem 0;
    font-size: .85rem;
    transition: background .1s;
}

.nb-day-btn:hover { background: #f3f4f6; }
.nb-day-btn.nb-selected { background: #111827; color: #fff; border-color: #111827; }
.nb-day-empty { color: #d1d5db; padding: .35rem 0; font-size: .85rem; }

/* Slots */
.nb-slots-title {
    font-weight: 600;
    margin-bottom: .5rem;
    font-size: .9rem;
}

.nb-slot-btn {
    display: inline-block;
    margin: .25rem;
    padding: .4rem .75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    font-size: .875rem;
    transition: background .1s;
}

.nb-slot-btn:hover { background: #f3f4f6; }
.nb-slot-btn.nb-selected { background: #111827; color: #fff; border-color: #111827; }

/* Botões de ação */
.nb-confirm-btn {
    display: inline-block;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    margin-right: .75rem;
    transition: opacity .15s;
}

.nb-confirm-btn:hover { opacity: .85; }
.nb-confirm-btn:disabled { opacity: .5; cursor: not-allowed; }

.nb-back-btn {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    font-size: .875rem;
    margin-top: 1rem;
}

.nb-proceed-btn {
    background: #111827;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .5rem 1.25rem;
    cursor: pointer;
    font-size: .875rem;
}

/* Summary */
.nb-summary-box {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
    font-size: .9rem;
    line-height: 2;
    margin-bottom: .5rem;
}

/* Feedback */
.nb-feedback { padding: .75rem 1rem; border-radius: 8px; margin-top: 1rem; font-size: .875rem; }
.nb-feedback-error   { background: #fee2e2; color: #991b1b; }
.nb-feedback-success { background: #d1fae5; color: #065f46; }

/* Loading */
.nb-loading-text { color: #9ca3af; font-size: .875rem; }

@media (max-width: 480px) {
    .nb-calendar-container { grid-template-columns: 1fr; }
    .nb-professionals-grid { grid-template-columns: 1fr; }
}
