/* ==============================================
   DIRECTORIST HOURLY BOOKING - FRONTEND STYLES
   Brand Color: #e95d06
   Version: 1.0.1
   ============================================== */

/* ==============================================
   1. BASE STYLES & RESETS
   ============================================== */
.dhb-booking-wrapper,
.dhb-booking-shortcode,
.dhb-booking-form-wrapper {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.dhb-booking-wrapper *,
.dhb-booking-shortcode *,
.dhb-booking-form-wrapper * {
    box-sizing: border-box;
}

/* ==============================================
   2. MAIN BOOKING WRAPPER
   ============================================== */
.dhb-booking-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #fdf8f4 100%);
    padding: 35px 30px;
    margin: 40px 0;
    border-radius: 16px;
    border: 1px solid rgba(233, 93, 6, 0.1);
    box-shadow: 
        0 8px 32px rgba(233, 93, 6, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.dhb-booking-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e95d06 0%, #ff8c42 100%);
    border-radius: 16px 16px 0 0;
}

/* ==============================================
   3. BOOKING HEADER
   ============================================== */
.dhb-booking-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(233, 93, 6, 0.15);
    position: relative;
}

.dhb-booking-header h3 {
    margin: 0 0 12px 0;
    color: #1a1a1a;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #e95d06 0%, #ff7b2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dhb-hourly-rate {
    margin: 0;
    color: #4a5568;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dhb-hourly-rate strong {
    color: #e95d06;
    font-size: 28px;
    font-weight: 800;
}

/* ==============================================
   4. FORM CONTROLS
   ============================================== */
.dhb-form-row {
    margin-bottom: 28px;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dhb-form-group {
    position: relative;
}

.dhb-form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #2d3748;
    font-size: 17px;
    letter-spacing: -0.3px;
}

.dhb-form-group label::after {
    content: ' *';
    color: #e95d06;
    font-weight: 800;
}

.dhb-form-group .dashicons {
    color: #e95d06;
    margin-right: 8px;
    vertical-align: middle;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* Datepicker & Select Styling */
.dhb-datepicker,
.dhb-duration-select,
.dhb-form-control {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #2d3748;
    font-weight: 500;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23e95d06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 20px;
    cursor: pointer;
}

.dhb-datepicker:hover,
.dhb-duration-select:hover,
.dhb-form-control:hover {
    border-color: #cbd5e0;
    transform: translateY(-2px);
}

.dhb-datepicker:focus,
.dhb-duration-select:focus,
.dhb-form-control:focus {
    border-color: #e95d06;
    box-shadow: 
        0 0 0 4px rgba(233, 93, 6, 0.15),
        0 4px 20px rgba(233, 93, 6, 0.1);
    outline: none;
    transform: translateY(-2px);
}

/* ==============================================
   5. TIME SLOTS GRID - AWESOME DESIGN
   ============================================== */
.dhb-time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.dhb-time-slot {
    padding: 20px 15px;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 16px;
    color: #4a5568;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 85px;
}

.dhb-time-slot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e95d06 0%, #ff8c42 100%);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.dhb-time-slot:hover {
    border-color: #e95d06;
    background: linear-gradient(135deg, #fff8f3 0%, #fff0e6 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 8px 25px rgba(233, 93, 6, 0.15),
        0 2px 8px rgba(0, 0, 0, 0.05);
}

.dhb-time-slot:hover::before {
    transform: translateY(0);
}

.dhb-time-slot.selected {
    background: linear-gradient(135deg, #e95d06 0%, #ff8c42 100%);
    color: white;
    border-color: #e95d06;
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 12px 30px rgba(233, 93, 6, 0.25),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.dhb-time-slot.selected::before {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.3);
}

.dhb-time-slot.selected::after {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    color: #e95d06;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dhb-no-slots {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
    font-size: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
    grid-column: 1 / -1;
}

/* ==============================================
   6. BOOKING SUMMARY - MODERN CARD
   ============================================== */
.dhb-booking-summary {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
    padding: 30px;
    border-radius: 16px;
    border: 2px solid rgba(233, 93, 6, 0.1);
    margin: 35px 0;
    position: relative;
    overflow: hidden;
}

.dhb-booking-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #e95d06 0%, #ff8c42 100%);
}

.dhb-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(233, 93, 6, 0.1);
}

.dhb-summary-row:last-child {
    border-bottom: none;
}

.dhb-label {
    color: #4a5568;
    font-size: 16px;
    font-weight: 600;
}

.dhb-value {
    color: #2d3748;
    font-size: 18px;
    font-weight: 700;
}

.dhb-total-row {
    font-weight: 800;
    font-size: 20px;
    padding-top: 25px;
    margin-top: 5px;
    border-top: 3px solid rgba(233, 93, 6, 0.2);
}

.dhb-commission-row {
    color: #718096;
    font-size: 15px;
}

.dhb-commission-row .dhb-label::before {
    content: '🎯 ';
}

.dhb-grand-total {
    background: linear-gradient(135deg, #fff8f3 0%, #ffefe6 100%);
    padding: 25px 30px !important;
    margin: 20px -30px -30px -30px;
    border-radius: 0 0 14px 14px;
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #e95d06 !important;
    border-top: 3px solid #e95d06 !important;
}

.dhb-grand-total .dhb-label {
    color: #e95d06;
    font-size: 20px;
}

.dhb-grand-total .dhb-value {
    color: #e95d06;
    font-size: 28px;
    font-weight: 900;
}

/* ==============================================
   7. BOOK NOW BUTTON - SHOWSTOPPER
   ============================================== */
.dhb-form-actions {
    margin-top: 35px;
    position: relative;
}

.dhb-add-to-cart-btn {
    width: 100%;
    padding: 24px;
    background: linear-gradient(135deg, #e95d06 0%, #ff7b2c 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 30px rgba(233, 93, 6, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.1);
}

.dhb-add-to-cart-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.dhb-add-to-cart-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #d85405 0%, #f06a1a 100%);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 
        0 16px 40px rgba(233, 93, 6, 0.4),
        0 8px 20px rgba(0, 0, 0, 0.15);
}

.dhb-add-to-cart-btn:hover:not(:disabled)::before {
    left: 100%;
}

.dhb-add-to-cart-btn:disabled {
    background: linear-gradient(135deg, #cbd5e0 0%, #a0aec0 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    opacity: 0.7;
}

.dhb-btn-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
}

.dhb-btn-text::before {
    content: '📅';
    font-size: 24px;
}

.dhb-btn-price {
    font-size: 28px;
    font-weight: 900;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #ffe6d5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ==============================================
   8. LOADING & MESSAGES
   ============================================== */
.dhb-loading {
    text-align: center;
    padding: 30px;
    color: #718096;
    font-size: 16px;
    font-weight: 600;
    display: none;
}

.dhb-loading .spinner-border {
    margin-right: 12px;
    color: #e95d06;
    vertical-align: middle;
}

.dhb-messages {
    margin-top: 25px;
    padding: 20px;
    border-radius: 12px;
    display: none;
    font-size: 16px;
    font-weight: 500;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dhb-messages.success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border: 2px solid #b1dfbb;
}

.dhb-messages.error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 2px solid #f1b0b7;
}

/* ==============================================
   9. POLICY INFO
   ============================================== */
.dhb-policy-info {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(233, 93, 6, 0.1);
    text-align: center;
}

.dhb-policy-info small {
    color: #718096;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.dhb-policy-info .dashicons {
    color: #e95d06;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ==============================================
   10. STATUS BADGES
   ============================================== */
.dhb-status {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    gap: 8px;
}

.dhb-status::before {
    font-size: 14px;
}

.dhb-status-pending {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
}

.dhb-status-pending::before {
    content: '⏳';
}

.dhb-status-confirmed {
    background: linear-gradient(135deg, #d4edda 0%, #b8e0c2 100%);
    color: #155724;
}

.dhb-status-confirmed::before {
    content: '✅';
}

.dhb-status-cancelled {
    background: linear-gradient(135deg, #f8d7da 0%, #f2b5bc 100%);
    color: #721c24;
}

.dhb-status-cancelled::before {
    content: '❌';
}

.dhb-status-completed {
    background: linear-gradient(135deg, #cce5ff 0%, #a8d0ff 100%);
    color: #004085;
}

.dhb-status-completed::before {
    content: '🎉';
}

/* ==============================================
   11. SHORTCODE SPECIFIC STYLES
   ============================================== */
.dhb-booking-shortcode {
    margin: 40px 0;
    animation: fadeIn 0.6s ease-out;
}

.dhb-booking-shortcode.dhb-align-left {
    text-align: left;
}

.dhb-booking-shortcode.dhb-align-center {
    text-align: center;
}

.dhb-booking-shortcode.dhb-align-right {
    text-align: right;
}

.dhb-shortcode-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(233, 93, 6, 0.15);
}

.dhb-shortcode-title {
    margin: 0 0 15px 0;
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #e95d06 0%, #ff7b2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dhb-shortcode-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(233, 93, 6, 0.1);
    text-align: center;
}

.dhb-security-notice {
    margin: 0;
    font-size: 13px;
    color: #718096;
    font-weight: 500;
}

.dhb-security-notice .dashicons {
    color: #e95d06;
    margin-right: 6px;
    vertical-align: middle;
}

/* Minimal style for shortcode */
.dhb-booking-form-wrapper.dhb-style-minimal {
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(233, 93, 6, 0.08);
}

.dhb-booking-form-wrapper.dhb-style-minimal .dhb-booking-header {
    border-bottom: none;
    margin-bottom: 20px;
}

/* ==============================================
   12. ERROR & NOTICE STATES
   ============================================== */
.dhb-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #f1b0b7;
    margin: 20px 0;
    font-weight: 500;
}

.dhb-notice {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #b1dfbb;
    margin: 20px 0;
    font-weight: 500;
}

.dhb-no-booking {
    text-align: center;
    padding: 40px 20px;
    color: #718096;
    font-size: 16px;
    background: #f7fafc;
    border-radius: 12px;
    border: 2px dashed #cbd5e0;
}

/* ==============================================
   13. VENDOR DASHBOARD STYLES
   ============================================== */
.dhb-vendor-bookings,
.dhb-vendor-earnings {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin: 30px 0;
}

.dhb-vendor-bookings h2,
.dhb-vendor-earnings h2 {
    color: #1a1a1a;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid #e95d06;
}

.dhb-vendor-bookings table,
.dhb-vendor-earnings table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 25px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.dhb-vendor-bookings th,
.dhb-vendor-earnings th {
    background: linear-gradient(135deg, #fff8f3 0%, #ffefe6 100%);
    padding: 18px 20px;
    text-align: left;
    border-bottom: 2px solid #e95d06;
    font-weight: 800;
    color: #2d3748;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dhb-vendor-bookings td,
.dhb-vendor-earnings td {
    padding: 16px 20px;
    border-bottom: 1px solid #edf2f7;
    color: #4a5568;
    font-weight: 500;
}

.dhb-vendor-bookings tr:hover td,
.dhb-vendor-earnings tr:hover td {
    background: #fff8f3;
}

.dhb-earnings-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    margin: 35px 0;
}

.dhb-stat {
    background: linear-gradient(135deg, #ffffff 0%, #fff8f3 100%);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(233, 93, 6, 0.1);
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(233, 93, 6, 0.1);
    position: relative;
    overflow: hidden;
}

.dhb-stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(233, 93, 6, 0.15);
}

.dhb-stat h3 {
    margin: 0 0 15px 0;
    color: #718096;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.dhb-stat-amount {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    color: #e95d06;
    text-shadow: 0 2px 10px rgba(233, 93, 6, 0.15);
}

/* ==============================================
   14. DIRECTORIST FORM INTEGRATION
   ============================================== */
.directorist-booking-fields-section {
    margin: 40px 0;
    animation: fadeIn 0.5s ease-out;
}

.directorist-booking-fields-section .directorist-card {
    border: 2px solid rgba(233, 93, 6, 0.1);
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fdf8f4 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.directorist-booking-fields-section .directorist-card__header {
    background: linear-gradient(135deg, #e95d06 0%, #ff7b2c 100%);
    padding: 25px 30px;
    color: white;
}

.directorist-booking-fields-section .directorist-card__header--title {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 800;
    color: white;
}

.directorist-booking-fields-section .directorist-card__header--text {
    margin: 0;
    opacity: 0.95;
    font-size: 16px;
    font-weight: 500;
}

.directorist-booking-fields-section .directorist-card__body {
    padding: 30px;
}

.directorist-booking-fields-section .directorist-form-label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: #2d3748;
    font-size: 17px;
    letter-spacing: -0.3px;
}

.directorist-booking-fields-section .directorist-form-element {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.directorist-booking-fields-section .directorist-form-element:focus {
    border-color: #e95d06;
    box-shadow: 0 0 0 4px rgba(233, 93, 6, 0.15);
}

.directorist-booking-fields-section .directorist-form-description {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #718096;
}

.directorist-booking-fields-section .directorist-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.directorist-booking-fields-section .directorist-col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
    box-sizing: border-box;
}

.directorist-booking-fields-section .directorist-alert {
    padding: 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    border: 2px solid;
}

.directorist-booking-fields-section .directorist-alert-info {
    background: linear-gradient(135deg, #cce5ff 0%, #b8d6ff 100%);
    border-color: #b1d5ff;
    color: #004085;
}

/* Weekly schedule styles */
.dhb-weekly-schedule {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

.dhb-day-row {
    display: flex;
    align-items: center;
    padding: 15px;
    margin: 10px 0;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.dhb-day-row:hover {
    border-color: #e95d06;
    box-shadow: 0 4px 12px rgba(233, 93, 6, 0.1);
    transform: translateY(-2px);
}

.dhb-day-row label {
    flex: 0 0 120px;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dhb-day-row input[type="checkbox"] {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    border: 2px solid #cbd5e0;
    cursor: pointer;
}

.dhb-day-row input[type="checkbox"]:checked {
    background-color: #e95d06;
    border-color: #e95d06;
}

.dhb-day-row input[type="time"] {
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dhb-day-row input[type="time"]:focus {
    border-color: #e95d06;
    box-shadow: 0 0 0 3px rgba(233, 93, 6, 0.1);
}

.dhb-day-row span {
    color: #718096;
    font-weight: 500;
}

/* ==============================================
   15. UTILITY CLASSES & RESPONSIVE
   ============================================== */
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.w-100 { width: 100% !important; }
.text-center { text-align: center !important; }
.text-muted { color: #6c757d !important; }

/* Button utilities */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.5rem;
}

.btn-primary {
    color: white;
    background: linear-gradient(135deg, #e95d06 0%, #ff7b2c 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(233, 93, 6, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d85405 0%, #f06a1a 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 93, 6, 0.3);
}

.btn-lg {
    padding: 1.125rem 2.25rem;
    font-size: 1.125rem;
    border-radius: 0.625rem;
}

/* Spinner */
.spinner-border {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: -0.125em;
    border: 0.25em solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spinner-border 0.75s linear infinite;
}

.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.2em;
}

@keyframes spinner-border {
    to { transform: rotate(360deg); }
}

/* ==============================================
   16. RESPONSIVE DESIGN
   ============================================== */
@media (max-width: 1200px) {
    .dhb-time-slots {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 768px) {
    .dhb-booking-wrapper,
    .dhb-booking-form-wrapper,
    .directorist-booking-fields-section .directorist-card__body,
    .dhb-vendor-bookings,
    .dhb-vendor-earnings {
        padding: 25px 20px;
    }
    
    .dhb-booking-header h3 {
        font-size: 28px;
    }
    
    .dhb-hourly-rate {
        font-size: 18px;
    }
    
    .dhb-hourly-rate strong {
        font-size: 24px;
    }
    
    .dhb-time-slots {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .dhb-time-slot {
        padding: 18px 12px;
        font-size: 15px;
        min-height: 75px;
    }
    
    .dhb-earnings-stats {
        grid-template-columns: 1fr;
    }
    
    .dhb-stat-amount {
        font-size: 36px;
    }
    
    .dhb-add-to-cart-btn {
        flex-direction: column;
        gap: 15px;
        padding: 22px;
    }
    
    .dhb-btn-text {
        font-size: 16px;
    }
    
    .dhb-btn-price {
        font-size: 26px;
    }
    
    .dhb-booking-summary {
        padding: 25px;
    }
    
    .directorist-booking-fields-section .directorist-col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .dhb-form-group label {
        font-size: 16px;
    }
    
    .dhb-datepicker,
    .dhb-duration-select,
    .dhb-form-control {
        padding: 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .dhb-booking-wrapper,
    .dhb-booking-form-wrapper {
        padding: 20px 15px;
        border-radius: 12px;
    }
    
    .dhb-booking-header h3 {
        font-size: 24px;
    }
    
    .dhb-time-slots {
        grid-template-columns: 1fr;
    }
    
    .dhb-time-slot {
        padding: 20px 15px;
    }
    
    .dhb-stat-amount {
        font-size: 32px;
    }
    
    .dhb-grand-total .dhb-value {
        font-size: 24px;
    }
    
    .dhb-btn-price {
        font-size: 24px;
    }
    
    .dhb-add-to-cart-btn {
        padding: 20px;
    }
    
    .dhb-vendor-bookings table,
    .dhb-vendor-earnings table {
        display: block;
        overflow-x: auto;
    }
    
    .dhb-day-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .dhb-day-row label {
        flex: none;
        width: 100%;
    }
    
    .dhb-day-row > div {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .dhb-day-row input[type="time"] {
        width: 100%;
    }
}

/* ==============================================
   17. FLATPICKR CUSTOMIZATION
   ============================================== */
.flatpickr-calendar {
    border-radius: 16px !important;
    border: 2px solid #e2e8f0 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
    z-index: 999999 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:hover {
    background: #e95d06 !important;
    border-color: #e95d06 !important;
}

.flatpickr-day.today {
    border-color: #e95d06 !important;
}

.flatpickr-day:hover {
    background: #fff8f3 !important;
    border-color: #e95d06 !important;
}

.flatpickr-months .flatpickr-month {
    background: linear-gradient(135deg, #e95d06 0%, #ff7b2c 100%) !important;
    color: white !important;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
    color: white !important;
    font-weight: 600 !important;
}

.flatpickr-weekday {
    color: #e95d06 !important;
    font-weight: 700 !important;
}

/* ==============================================
   18. ANIMATIONS & TRANSITIONS
   ============================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.dhb-add-to-cart-btn:not(:disabled):hover {
    animation: pulse 0.5s ease-in-out;
}

/* ==============================================
   19. ACCESSIBILITY
   ============================================== */
.dhb-time-slot:focus,
.dhb-datepicker:focus,
.dhb-duration-select:focus,
.dhb-form-control:focus,
.dhb-add-to-cart-btn:focus {
    outline: 3px solid rgba(233, 93, 6, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .dhb-booking-wrapper,
    .dhb-booking-form-wrapper {
        border: 3px solid #e95d06;
    }
    
    .dhb-time-slot {
        border: 2px solid #4a5568;
    }
    
    .dhb-time-slot.selected {
        border: 3px solid #e95d06;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .dhb-booking-wrapper,
    .dhb-booking-form-wrapper,
    .dhb-form-row,
    .dhb-time-slot,
    .dhb-add-to-cart-btn,
    .dhb-stat,
    .dhb-day-row {
        transition: none !important;
        animation: none !important;
    }
}

/* ==============================================
   20. PRINT STYLES
   ============================================== */
@media print {
    .dhb-booking-wrapper,
    .dhb-booking-form-wrapper {
        box-shadow: none !important;
        border: 2px solid #000 !important;
        page-break-inside: avoid;
    }
    
    .dhb-add-to-cart-btn,
    .dhb-time-slot,
    .dhb-loading,
    .dhb-messages {
        display: none !important;
    }
    
    .dhb-booking-summary {
        background: none !important;
        border: 2px solid #000 !important;
    }
}

.alert-warning {
    background-color: #fff3cd;
    border-color: #ffeaa7;
    color: #856404;
}

.dhb-time-slot.booked {
    background-color: #f8d7da !important;
    border-color: #f5c6cb !important;
    color: #721c24 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    text-decoration: line-through;
    position: relative;
}

.dhb-time-slot.booked::after {
    content: "Booked";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    background: #721c24;
    color: white;
    padding: 2px 10px;
    font-size: 10px;
    border-radius: 3px;
    opacity: 0.8;
}

/* Bank Account Styles */
.dhb-bank-account-wrapper {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.dhb-alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.dhb-alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.dhb-alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.dhb-alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.dhb-form-group {
    margin-bottom: 20px;
}

.dhb-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.dhb-current-account {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    border: 1px solid #e9ecef;
}

.dhb-account-details p {
    margin: 10px 0;
}

.dhb-status-verified {
    background: #d4edda;
    color: #155724;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
}

/* Payout History Styles */
.dhb-payouts-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.dhb-payouts-table th,
.dhb-payouts-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.dhb-payouts-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.dhb-payout-history {
    margin-top: 30px;
}

/* Admin Payout Styles */
.dhb-payout-form {
    display: inline-block;
}

.dhb-payout-message {
    margin-top: 10px;
}