/* ============================================
   Appointment Edit Page - Extracted from Blade
   Source: resources/views/admin/appointments/edit.blade.php
============================================ */

/* Invoice-style form controls */
.add-service-panel {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}

.table-bordered th {
    background: #f8f9fa;
    font-weight: 600;
    color: #495057;
}

.form-control-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}

/* Better button styling */
.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* Empty state styling */
.empty-state-small {
    padding: 40px 20px;
    text-align: center;
    color: #6c757d;
}

/* Service Type Button Styles */
.service-type-btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 2px;
}

.service-type-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}



/* Facility Type Button Styles */
.facility-type-btn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 2px;
}

.facility-type-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.facility-type-btn.btn-success {
    background-color: rgb(126, 223, 255) !important;
    border-color: rgb(0, 137, 135) !important;
}

#packagesBtn {
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.2s ease;
    border-width: 2px;
}

#packagesBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#packagesBtn.btn-primary {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
}

/* Service List Styles */
.service-list-header {
    background: linear-gradient(135deg, #cff4fc 0%, #d1ecf1 100%) !important;
    border: 1px solid #b6e3f0 !important;
}

.service-list-header h6 {
    color: #0c5460;
}

.service-item-row {
    transition: all 0.2s ease;
    background: #fff;
}

.service-item-row:hover {
    background: #e7f6fc !important;
    transform: translateX(5px);
    border-left: 3px solid #0dcaf0 !important;
}

.service-item-row:last-child {
    border-bottom: none !important;
}

.service-list-body {
    background: #f8fbfc !important;
}

.service-list-body::-webkit-scrollbar {
    width: 8px;
}

.service-list-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}



.service-list-body::-webkit-scrollbar-thumb:hover {
    background: #0aa8cc;
}

/* Show-page scaffold (scoped to this view) */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.appointment-show-like.page-load-anim {
    animation: fadeSlideUp 180ms ease-out;
}

.appointment-show-like .summary-card {
    background-color: #ffffff;
    color: #1a202c;
    border: 1px solid #ddd;
    border-radius: 10px;
}

.appointment-show-like .info-card {
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    transition: box-shadow 0.2s ease;
}

.appointment-show-like .info-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.appointment-show-like .section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.appointment-show-like .info-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    gap: 12px;
}

.appointment-show-like .info-row:last-child {
    border-bottom: none;
}

.appointment-show-like .info-label {
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
}

.appointment-show-like .info-value {
    font-weight: 600;
    color: #111827;
    text-align: right;
}

.appointment-show-like .status-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 600;
    display: inline-block;
}

.appointment-show-like .status-pending {
    background: #fef3c7;
    color: #92400e;
}

.appointment-show-like .status-confirmed {
    background: #dbeafe;
    color: #1e40af;
}

.appointment-show-like .status-arrived {
    background: #e0e7ff;
    color: #4338ca;
}

.appointment-show-like .status-in-service {
    background: #ddd6fe;
    color: #6b21a8;
}

.appointment-show-like .status-completed {
    background: #d1fae5;
    color: #065f46;
}

.appointment-show-like .status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Package expand/collapse (show-page style) */
.appointment-show-like .package-header-row {
    cursor: pointer;
    user-select: none;
}

.appointment-show-like .package-header-row:hover {
    background-color: rgba(13, 110, 253, 0.10) !important;
}

.appointment-show-like .package-toggle-icon {
    display: inline-block;
    transition: transform 0.2s ease;
    transform: rotate(0deg);
}

.appointment-show-like .package-toggle-icon.expanded {
    transform: rotate(90deg);
}

/* ============================================
   Appointments Dashboard - Custom Styles
   Sky Blue Theme
============================================ */

/* Sky Blue Theme Variables */
:root {
    --sky-primary: #0ea5e9;
    --sky-light: #e0f2fe;
    --sky-dark: #0284c7;
    --sky-gradient: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
}

/* ============================================
   Animations
============================================ */

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ============================================
   Page Container
============================================ */

.page-container {
    animation: fadeSlideIn 0.3s ease-out;
}

/* ============================================
   Header Card
============================================ */

.header-card {
    background: white;
    border: 2px solid #e0f2fe;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0ea5e9 0%, #38bdf8 100%);
}

.header-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: #1e293b;
}

.header-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ============================================
   Filter Panel
============================================ */

.filter-panel {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
}

.filter-input {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    transition: all 0.2s ease;
}

.filter-input:focus {
    border-color: var(--sky-primary);
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
    outline: none;
}

.btn-sky {
    background: var(--sky-primary);
    border: none;
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-sky:hover {
    background: var(--sky-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
    color: white;
}

.btn-sky-outline {
    background: white;
    border: 2px solid var(--sky-primary);
    color: var(--sky-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-sky-outline:hover {
    background: var(--sky-light);
    color: var(--sky-dark);
    transform: translateY(-2px);
}

/* ============================================
   Facilities Quick Select
============================================ */

.facility-type-pill {
    border: none;
    background: white;
    border-radius: 16px;
    padding: 0.65rem 0.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 220px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-type-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 30px rgba(15, 23, 42, 0.12);
}

.facility-type-pill.active {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(14, 165, 233, 0.15));
    box-shadow: 0 24px 40px rgba(14, 165, 233, 0.2);
}

.facility-pill-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.facility-pill-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.facility-pill-badge {
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(16, 185, 129, 0.2);
    white-space: nowrap;
}

/* ============================================
   Status Tabs
============================================ */

.status-tabs {
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.status-tab {
    flex: 1;
    min-width: 140px;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: center;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.status-tab:hover {
    background: var(--sky-light);
    color: var(--sky-dark);
    transform: translateY(-2px);
}

.status-tab.active {
    background: var(--sky-gradient);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.status-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

.status-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 0.25rem 0.65rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    display: inline-block;
}

.status-tab.active .status-badge {
    background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   Table Styles
============================================ */

.appointments-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: none;
}

.table-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-bottom: 2px solid var(--sky-primary);
}

.table-header th {
    padding: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.appointment-row {
    transition: all 0.2s ease;
    cursor: pointer;
}

.appointment-row:hover {
    background: var(--sky-light);
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.15);
}

.appointment-row td {
    padding: 1rem;
    vertical-align: middle;
}

/* ============================================
   Status Labels/Badges
============================================ */

.status-label {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.813rem;
    font-weight: 600;
    display: inline-block;
    transition: all 0.2s ease;
}

.status-label:hover {
    transform: scale(1.05);
}

.status-created {
    background: #f3f4f6;
    color: #374151;
}

.status-pending {
    background: #dbeafe;
    color: #1e40af;
}

.status-confirmed {
    background: #d1fae5;
    color: #065f46;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-completed {
    background: #e0e7ff;
    color: #4338ca;
}

.status-arrived {
    background: #fef3c7;
    color: #92400e;
}

.status-in-service {
    background: #ddd6fe;
    color: #6b21a8;
}

/* ============================================
   Action Buttons
============================================ */

.action-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.btn-view {
    background: var(--sky-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-view:hover {
    background: var(--sky-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
    color: white;
}

.btn-edit {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.btn-edit:hover {
    background: #06a8d9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 255, 234, 0.473);
    color: white;
}

.btn-delete {
    background: white;
    color: #dc2626;
    border: 2px solid #dc2626;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-delete:hover {
    background: #dc2626;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

/* ============================================
   Quick Stats Cards
============================================ */

.quick-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    border-top: 4px solid var(--sky-primary);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.15);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sky-primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

.stat-icon {
    font-size: 2.5rem;
    opacity: 0.2;
    float: right;
}

/* ============================================
   Empty State
============================================ */

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-icon {
    font-size: 4rem;
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.empty-text {
    color: #94a3b8;
}

/* ============================================
   Pagination
============================================ */

.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.page-link {
    color: var(--sky-primary);
    border: 2px solid #e5e7eb;
    margin: 0 0.25rem;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.page-link:hover {
    background: var(--sky-light);
    border-color: var(--sky-primary);
    color: var(--sky-dark);
}

.page-item.active .page-link {
    background: var(--sky-primary);
    border-color: var(--sky-primary);
}

/* ============================================
   Loading Animation
============================================ */

.loading-row {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* ============================================
   Client & Data Display
============================================ */

.client-name {
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s ease;
}

.appointment-row:hover .client-name {
    color: var(--sky-primary);
}

.phone-number {
    color: #64748b;
    font-family: monospace;
}

.total-amount {
    font-weight: 700;
    color: #059669;
    font-size: 1.05rem;
}

/* ============================================
   Alerts
============================================ */

.alert-success {
    background: #d1fae5;
    border: 2px solid #10b981;
    color: #065f46;
    border-radius: 12px;
    padding: 1rem;
    animation: slideDown 0.3s ease-out;
}

/* ============================================
   Tooltips
============================================ */

[data-tooltip] {
    position: relative;
    cursor: help;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    z-index: 1000;
    animation: fadeSlideIn 0.2s ease-out;
}

/* ============================================
   Responsive Design
============================================ */

@media (max-width: 768px) {
    .quick-stats {
        flex-direction: column;
    }

    .status-tabs {
        flex-direction: column;
    }

    .status-tab {
        min-width: 100%;
    }

    .action-buttons {
        flex-direction: column;
    }

    .header-card {
        padding: 1.5rem;
    }

    .filter-panel {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .header-title {
        font-size: 1.5rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }

    .table-header th {
        font-size: 0.7rem;
        padding: 0.75rem;
    }

    .appointment-row td {
        padding: 0.75rem;
    }
}

/* ============================================
   Appointment Edit Page - Custom Styles
   Sky Blue Theme
============================================ */

/* ============================================
   Edit Header
============================================ */

.edit-header-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border: 2px solid #7dd3fc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
}

.edit-header-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 100%);
}

.edit-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0369a1;
    margin: 0;
}

.btn-back {
    background: white;
    border: 2px solid #e5e7eb;
    color: #64748b;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-back:hover {
    background: #f8fafc;
    border-color: #0ea5e9;
    color: #0ea5e9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   Total Summary Card
============================================ */

.total-summary-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.15);
}

.summary-item {
    text-align: center;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
}

.summary-item-primary {
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #0ea5e9 0%, #38bdf8 100%);
    border-radius: 8px;
    color: white;
}

.summary-label {
    font-size: 0.813rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.summary-item-primary .summary-label {
    color: rgba(255, 255, 255, 0.9);
}

.summary-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0ea5e9;
}

.summary-value-primary {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

.btn-save-primary {
    background: #10b981;
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-save-primary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-save-primary:active {
    transform: translateY(0);
}

/* ============================================
   Edit Card
============================================ */

.edit-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.edit-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 1rem 1.5rem;
    font-weight: 600;
    color: #1e293b;
    border-bottom: 2px solid #e0f2fe;
}

.edit-card-body {
    padding: 1.5rem;
}

/* ============================================
   Form Inputs
============================================ */

.edit-label {
    display: block;
    font-weight: 500;
    color: #475569;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.edit-input {
    width: 100%;
    padding: 0.65rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.938rem;
    transition: all 0.2s ease;
}

.edit-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.edit-input:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
}

/* ============================================
   Add Service Panel
============================================ */

.add-service-panel {
    background: #f0f9ff;
    border: 2px dashed #bae6fd;
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.btn-add-service {
    background: #0ea5e9;
    border: none;
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-add-service:hover:not(:disabled) {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.btn-add-service:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.6;
}

/* ============================================
   Services Table
============================================ */

.services-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1rem;
}

.services-table thead th {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    padding: 0.875rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.813rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #0ea5e9;
}

.services-table tbody tr {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.services-table tbody tr:hover {
    background: #f0f9ff;
    transform: scale(1.005);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.1);
}

.services-table tbody td {
    padding: 0.75rem;
    vertical-align: middle;
}

.table-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.table-input:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.1);
}

.amount-display {
    font-weight: 600;
    color: #64748b;
    font-size: 0.938rem;
}

.amount-display-primary {
    font-weight: 700;
    color: #059669;
    font-size: 1rem;
}

/* ============================================
   Action Buttons
============================================ */

.btn-delete-row {
    background: white;
    border: 2px solid #ef4444;
    color: #ef4444;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-delete-row:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(239, 68, 68, 0.3);
}

.btn-delete-row:active {
    transform: scale(0.95);
}

/* ============================================
   Empty States
============================================ */

.empty-state-small {
    text-align: center;
    padding: 3rem 1rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-top: 1rem;
}

/* ============================================
   Badges
============================================ */

.badge {
    padding: 0.4rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}



.bg-warning {
    background: #f59e0b !important;
}

.bg-success {
    background: #10b981 !important;
    color: white !important;
}

/* ============================================
   Responsive Design
============================================ */

@media (max-width: 768px) {
    .edit-header-card {
        padding: 1rem;
    }

    .edit-title {
        font-size: 1.25rem;
    }

    .total-summary-card {
        padding: 1rem;
    }

    .summary-value {
        font-size: 1.5rem;
    }

    .summary-value-primary {
        font-size: 1.75rem;
    }

    .edit-card-body {
        padding: 1rem;
    }

    .services-table {
        font-size: 0.813rem;
    }

    .services-table thead th,
    .services-table tbody td {
        padding: 0.5rem;
    }
}

/* ============================================
   Animations
============================================ */

@keyframes rowFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.service-row,
.package-row,
.facility-row {
    animation: rowFadeIn 0.3s ease-out;
}

/* ============================================
   Utility Classes
============================================ */

.text-danger {
    color: #dc2626 !important;
}
.text-muted {
    color: #64748b !important;
}