/* ==================================================
   SALON BOOKING – PREMIUM FINAL (CLEAN VERSION)
   ================================================== */

/* ---------- WRAPPER ---------- */
#sd-salon-booking-wrap {
    max-width: 520px;
    margin: 80px auto;
    padding: 0 15px;
}

/* ---------- FORM CARD ---------- */
#sd-salon-booking-form {
    background: #0e0e0e;
    border-radius: 20px;
    padding: 34px 28px;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    color: #fff;
}

/* ---------- MULTI STEP ---------- */
.sd-multistep .step {
    display: none;
}
.sd-multistep .step.active {
    display: block;
}

/* ---------- TITLES ---------- */
.sd-multistep h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #d4af37;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ---------- LABELS ---------- */
.sd-multistep label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    color: #d4af37;
    letter-spacing: .6px;
    margin-bottom: 16px;
}

/* ---------- INPUTS ---------- */
.sd-multistep input,
.sd-multistep textarea {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: 14px;
    border: 1px solid #2a2a2a;
    background: linear-gradient(180deg, #1a1a1a, #121212);
    color: #fff;
    font-size: 15px;
    line-height: 48px;
    margin-top: 8px;
    box-sizing: border-box;
}

/* Textarea */
.sd-multistep textarea {
    height: auto;
    min-height: 90px;
    padding: 14px 16px;
    line-height: 1.6;
}

/* ---------- SELECT (CUSTOM ARROW – FIXED) ---------- */
.sd-multistep select,
.booking-status-select {
    width: 100%;
    height: 40px;
    padding: 0 44px 0 18px;
    border-radius: 30px;
    border: 1px solid;
    font-size: 13px;
    font-weight: 600;
    appearance: none;
    background-image: none;
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* Arrow */
.booking-status-wrap {
    position: relative;
}
.booking-status-wrap::after {
    content: "▾";
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    pointer-events: none;
    color: rgba(0,0,0,.6);
}

/* ---------- FOCUS ---------- */
.sd-multistep input:focus,
.sd-multistep textarea:focus,
.sd-multistep select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 2px rgba(212,175,55,.35);
}

/* ---------- ACTION BUTTONS ---------- */
.sd-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.sd-actions button {
    flex: 1;
    height: 48px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    letter-spacing: .8px;
    text-transform: uppercase;
    transition: all .3s ease;
}

.sd-actions .next,
.sd-actions .submit {
    background: linear-gradient(135deg, #d4af37, #f5e7a1);
    color: #3b2f1a;
}

.sd-actions .prev {
    background: transparent;
    border: 1px solid #555;
    color: #ccc;
}

.sd-actions button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.5);
}

/* ==================================================
   BOOKING CARDS
   ================================================== */

.booking-card {
    position: relative;
    background: linear-gradient(135deg, #0b0b0b, #151515);
    border-radius: 18px;
    padding: 22px 26px;
    margin-bottom: 26px;
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
    transition: transform .3s ease;
}

.booking-card:hover {
    transform: translateY(-3px);
}

/* Left status bar */
.booking-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 4px;
    border-radius: 4px;
}

/* ---------- STATUS COLORS ---------- */
.status-pending::before { background: #f1c40f; }
.status-confirmed::before { background: #2ecc71; }
.status-started::before { background: #3498db; }
.status-completed::before { background: #b2bec3; }
.status-skipped::before { background: #e67e22; }
.status-cancelled::before { background: #e74c3c; }

/* Dropdown colors */
.status-pending .booking-status-select {
    background: linear-gradient(135deg, #f1c40f, #f7e7a1);
    color: #3b2f1a;
}

.status-confirmed .booking-status-select {
    background: linear-gradient(135deg, #2ecc71, #6ee7b7);
    color: #063b24;
}

.status-started .booking-status-select {
    background: linear-gradient(135deg, #3498db, #74b9ff);
    color: #05243a;
}

.status-completed .booking-status-select {
    background: linear-gradient(135deg, #b2bec3, #ecf0f1);
    color: #2d3436;
}

.status-skipped .booking-status-select {
    background: linear-gradient(135deg, #e67e22, #f6b26b);
    color: #4a2c0a;
}

.status-cancelled .booking-status-select {
    background: linear-gradient(135deg, #e74c3c, #ff9f9f);
    color: #3a0505;
}

/* ---------- MOBILE ---------- */
@media (max-width: 480px) {
    #sd-salon-booking-form {
        padding: 26px 20px;
    }
}


.sd-access-wrapper {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.sd-access-card {
    max-width: 520px;
    width: 100%;
    background: #111;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.35);
    border: 1px solid rgba(255,255,255,0.08);
}

.sd-access-icon {
    font-size: 46px;
    margin-bottom: 15px;
    color: #c9a45c; /* gold tone */
}

.sd-access-card h2 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.sd-access-text {
    color: #ddd;
    font-size: 16px;
    margin-bottom: 10px;
}

.sd-access-text strong {
    color: #c9a45c;
}

.sd-access-sub {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

/* Variation colors */
.sd-access-card.sd-closed {
    border-left: 4px solid #c9a45c;
}

.sd-access-card.sd-restricted {
    border-left: 4px solid #d9534f;
}

.sd-access-card.sd-waiting {
    border-left: 4px solid #5bc0de;
}



.sd-access-card.sd-error {
    border-left: 4px solid #d9534f;
}

.sd-access-card.sd-warning {
    border-left: 4px solid #f0ad4e;
}

.sd-access-card.sd-info {
    border-left: 4px solid #5bc0de;
}

.sd-access-card.sd-success {
    border-left: 4px solid #5cb85c;
}
.sd-auth-wrapper {
    min-height: 65vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.sd-auth-card {
    width: 100%;
    max-width: 480px;
    background: linear-gradient(180deg, #0e0e0e, #000);
    border-radius: 20px;
    padding: 40px 35px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.55);
    text-align: center;
}

.sd-auth-title {
    color: #d6b25e;
    font-size: 18px;
    letter-spacing: 1.5px;
    margin-bottom: 30px;
    font-weight: 600;
}

.sd-auth-field label {
    display: block;
    text-align: left;
    color: #d6b25e;
    font-size: 14px;
    margin-bottom: 8px;
}

.sd-auth-field input {
    width: 100%;
    padding: 14px 18px;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,0.25);
    background: transparent;
    color: #fff;
    font-size: 15px;
    outline: none;
}

.sd-auth-field input::placeholder {
    color: #aaa;
}

.sd-auth-btn {
    width: 100%;
    margin-top: 30px;
    padding: 14px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(90deg, #d6b25e, #f2dc8f);
    color: #111;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sd-auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 25px rgba(214,178,94,0.45);
}

.sd-auth-error {
    margin-top: 15px;
    padding: 10px 14px;
    background: rgba(217, 83, 79, 0.15);
    color: #ffb3b0;
    border-radius: 10px;
    font-size: 13px;
    text-align: center;
}


.sd-reception-wrapper {
    max-width: 900px;
    margin: 60px auto;
}

.sd-reception-title {
    color: #d6b25e;
    font-size: 26px;
    margin-bottom: 20px;
}

.sd-reception-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.sd-reception-tabs button {
    padding: 10px 18px;
    border-radius: 20px;
    border: 1px solid #333;
    background: #111;
    color: #ccc;
    cursor: pointer;
}

.sd-reception-tabs button.active {
    background: linear-gradient(90deg, #d6b25e, #f2dc8f);
    color: #111;
    font-weight: 600;
}

.sd-tab-panel {
    display: none;
}

.sd-tab-panel.active {
    display: block;
}

.sd-booking-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sd-booking-card {
    background: #111;
    padding: 15px;
    border-radius: 12px;
    border-left: 4px solid #d6b25e;
    color: #ddd;
}

.sd-booking-card.muted {
    opacity: 0.7;
}

.sd-empty {
    padding: 20px;
    background: #111;
    border-radius: 12px;
    color: #888;
    text-align: center;
}

.sd-add-booking-form input,
.sd-add-booking-form select {
    width: 100%;
    margin-bottom: 12px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #333;
    background: #000;
    color: #fff;
}

.sd-add-booking-form button {
    padding: 14px;
    width: 100%;
    border-radius: 25px;
    background: linear-gradient(90deg, #d6b25e, #f2dc8f);
    border: none;
    font-weight: 600;
    cursor: pointer;
}


/* ===== STAFF BOOKINGS UI ===== */

.staff-bookings-wrapper {
    max-width: 1100px;
    margin: 60px auto;
    padding: 0 20px;
}

.staff-bookings-wrapper h2 {
    color: #d4af37;
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.booking-card {
    background: #111;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    color: #fff;
    box-shadow: 0 20px 45px rgba(0,0,0,0.4);
    transition: transform 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-4px);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.booking-header h3 {
    margin: 0;
    font-size: 20px;
    color: #d4af37;
    letter-spacing: 0.5px;
}

.booking-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    font-size: 14px;
}

.booking-meta strong {
    color: #d4af37;
}

/* Status dropdown styled as button */
.booking-status-wrap {
    position: relative;
}

.booking-status-select {
    appearance: none;
    padding: 10px 40px 10px 16px;
    border-radius: 30px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    background: linear-gradient(135deg, #d4af37, #f5e7a1);
    color: #3b2f1a;
}

.booking-status-wrap::after {
    content: "▾";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Status borders */
.status-pending { border-left: 4px solid #f1c40f; }
.status-confirmed { border-left: 4px solid #2ecc71; }
.status-started { border-left: 4px solid #3498db; }
.status-completed { border-left: 4px solid #95a5a6; }
.status-cancelled { border-left: 4px solid #e74c3c; }
.service-multiselect {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.service-item {
    background: #0f0f0f;
    color: #fff;
    border: 1px solid #2a2a2a;
    border-radius: 14px;
    padding: 12px 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.service-item:hover {
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212,175,55,0.4);
}

.service-item.active {
    background: linear-gradient(135deg, #d4af37, #b8962e);
    color: #000;
    font-weight: 600;
    border-color: #d4af37;
    box-shadow: 0 0 18px rgba(212,175,55,0.6);
}

.sd-label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}
/* Staff select box styling */
select[name="staff_id"] {
    width: 100%;
    height: 52px;
    padding: 0 44px 0 16px; /* space for arrow */
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    line-height: 52px;
    cursor: pointer;

    /* Remove default browser styling */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* Custom arrow */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

/* Option dropdown */
select[name="staff_id"] option {
    background: #000;
    color: #fff;
}
