.select2-container .select2-selection--single .select2-selection__rendered {
    display: inline;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    background: transparent;
    border: 1px solid rgb(84 133 228 / 0%);
    top: 0;
    right: 0;
}
.select2-container .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    color: #3454D1;
    background-color: rgba(84, 133, 228, .075);
}
.age-btn.active {
    background-color: #0D6EFD;
    color: #fff;
}
 /* Age Categories Button Styling */
.age-categories {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.age-btn {
    padding: 22px 20px;
    border: 1px solid #8597A5;
    border-radius: 35px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 14px;
    color: #2F4355;
    background: #F4F4F4;
}
/* Hover effect */
.age-btn:hover {
    border-color: #7F7F7F;
    color: white;
    background: #7F7F7F; /* subtle hover background */
}
/* Active (when clicked/selected) */
.age-btn.active {
    border-color: #3D576E;
    background: #3D576E;
    color: #fff;
}
/* Choose your categories */
.selected-tag {
    background-color: #F2F4F6;
    border: 1px solid #D1D5DB;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: default;
}
.selected-tag .remove-tag {
    color: #666;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
}
.selected-tag .remove-tag:hover {
    color: #000;
}
.category-dropdown {
    background: #fff;
    max-height: 300px;
    overflow-y: auto;
    z-index: 10;
}
.category-dropdown .parent-toggle:hover {
    background-color: #F5F5F5;
}


/* ============================================
   Admin Common Styles
   ============================================ */

/* Spinner Animation */
.spin {
    animation: spin 1s linear infinite;
}
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   Booking View Styles
   ============================================ */

/* Party Cards */
.booking-party-card {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    transition: all 0.2s ease;
}
.booking-party-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}
.booking-party-card .party-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    flex-shrink: 0;
    margin-right: 1rem;
    text-transform: uppercase;
}
.booking-party-card .party-avatar.customer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.booking-party-card .party-avatar.provider {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}
.booking-party-card .party-info {
    flex-grow: 1;
    min-width: 0;
}
.booking-party-card .party-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
    margin-bottom: 2px;
}
.booking-party-card .party-name {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-party-card .party-email {
    font-size: 0.875rem;
    color: #3454d1;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.booking-party-card .party-email:hover {
    text-decoration: underline;
}
.booking-party-card .party-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 1rem;
}

/* Section Headers */
.booking-section-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e9ecef;
}
.booking-section-header .section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    font-size: 1rem;
}
.booking-section-header h6 {
    margin: 0;
    font-weight: 600;
    color: #212529;
}

/* Download Buttons */
.booking-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.booking-download-btn i {
    margin-right: 0.5rem;
}
.booking-download-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
}
.booking-download-btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    color: #fff;
}
.booking-download-btn.secondary {
    background: #fff;
    color: #495057;
    border: 1px solid #dee2e6;
}
.booking-download-btn.secondary:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    color: #212529;
}

/* Status Badges */
.booking-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.booking-status-badge.synced {
    background: #d1fae5;
    color: #065f46;
}
.booking-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

/* Integration Card */
.booking-integration-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}
.booking-integration-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-bottom: 1px solid #e9ecef;
    padding: 0.875rem 1rem;
}
.booking-integration-card .integration-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    color: #fff;
}
.booking-integration-card .integration-logo.xero {
    background: linear-gradient(135deg, #13b5ea 0%, #0d9ccf 100%);
}

/* Info Row */
.booking-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0;
    border-bottom: 1px solid #f1f3f4;
}
.booking-info-row:last-child {
    border-bottom: none;
}
.booking-info-row .info-label {
    font-size: 0.8125rem;
    color: #6c757d;
}
.booking-info-row .info-value {
    font-size: 0.8125rem;
    color: #212529;
    font-weight: 500;
}
