/* =============================================
   WEBENSI - Dashboard & Extra Pages Styles
   ============================================= */

/* ===== INNER PAGE HERO (non-home pages) ===== */
.page-hero {
    min-height: 320px;
    background: linear-gradient(135deg, var(--primary) 0%, #0d2d64 60%, #1a3a8a 100%);
    display: flex;
    align-items: flex-end;
    padding-bottom: 56px;
    padding-top: calc(var(--header-h) + 40px);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.12) 0%, transparent 60%);
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.page-breadcrumb a {
    color: rgba(255, 255, 255, 0.65);
}

.page-breadcrumb a:hover {
    color: var(--accent);
}

.page-breadcrumb i {
    font-size: 0.6rem;
}

.page-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 12px;
}

.page-hero-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 540px;
}

/* ===== BOOKING PAGE ===== */
.booking-section {
    background: var(--bg);
    padding: 80px 0;
}

.booking-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.booking-info h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.booking-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.booking-benefits {
    margin-bottom: 32px;
}

.booking-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.92rem;
}

.booking-benefits li i {
    color: var(--accent);
    margin-top: 2px;
}

.booking-form-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.booking-form-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

/* Steps indicator inside form */
.form-steps {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    align-items: center;
    justify-content: space-between;
}

.form-step-dot {
    flex: 1;
    height: 8px;
    min-height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: default;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.form-step-dot.active {
    background: linear-gradient(90deg, var(--accent), #ff7a3f);
    height: 10px;
    box-shadow: 0 0 14px rgba(255, 107, 53, 0.6), inset 0 1px 2px rgba(0,0,0,0.1);
    border-radius: 5px;
}

.form-step-dot.done {
    background: linear-gradient(90deg, #22c55e, #16a34a);
    height: 10px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4), inset 0 1px 2px rgba(0,0,0,0.05);
    border-radius: 5px;
}

/* Plan selection cards inside booking */
.plan-select-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.plan-select-card {
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
}

.plan-select-card:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.plan-select-card.selected {
    border-color: var(--accent);
    background: rgba(30, 144, 255, 0.06);
    color: var(--accent);
}

.plan-select-card i {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 6px;
}

/* Time slot grid */
.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
}

.time-slot {
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    transition: var(--transition);
}

.time-slot:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.time-slot.selected {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.time-slot.taken {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: line-through;
}

/* Booking confirmation */
.booking-confirm {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), rgba(30, 144, 255, 0.04));
    border: 1.5px solid rgba(34, 197, 94, 0.25);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
}

.booking-confirm .confirm-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin: 0 auto 20px;
    box-shadow: 0 8px 28px rgba(34, 197, 94, 0.3);
}

.booking-confirm h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.booking-confirm p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.booking-id {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 6px 18px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 14px 0;
    letter-spacing: 2px;
}

/* ===== USER DASHBOARD ===== */
.dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    /* make dashboard layout full height and allow custom header inside page */
    min-height: 100vh;
    margin-top: 0;
}

.dashboard-sidebar {
    background: var(--primary);
    padding: 32px 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Collapsed sidebar layout */
.dashboard-layout.sidebar-collapsed {
    grid-template-columns: 70px 1fr;
}
.dashboard-layout.sidebar-collapsed .dashboard-sidebar {
    width: 70px;
    padding: 20px 8px;
}
.dashboard-layout.sidebar-collapsed .sidebar-user h4,
.dashboard-layout.sidebar-collapsed .sidebar-user span,
.dashboard-layout.sidebar-collapsed .sidebar-label {
    display: none;
}
.dashboard-layout.sidebar-collapsed .sidebar-nav a {
    justify-content: center;
    padding-left: 0;
}
.dashboard-layout.sidebar-collapsed .sidebar-nav a i { margin-right: 0; }

/* Toggle button for smaller screens */
.toggle-sidebar{
    display:none;position:fixed;top:18px;left:18px;z-index:1100;background:var(--accent);color:white;border:none;padding:10px 12px;border-radius:8px;box-shadow:0 8px 20px rgba(30,144,255,0.18);cursor:pointer}
.toggle-sidebar i{font-size:18px}
/* Backdrop shown on mobile when sidebar is open */
.sidebar-backdrop{position:fixed;inset:0;background:rgba(0,0,0,0.36);z-index:1040}
@media(max-width:992px){
    .toggle-sidebar{display:block}
    .dashboard-layout{grid-template-columns:70px 1fr}
    .dashboard-sidebar{width:70px;padding:16px 8px}
    .sidebar-user h4,.sidebar-user span,.sidebar-label{display:none}
    .sidebar-nav a{justify-content:center}
}

.sidebar-user {
    padding: 0 24px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.sidebar-avatar {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    font-weight: 700;
    margin-bottom: 12px;
}

.sidebar-user h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.sidebar-user span {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
}

.sidebar-nav {
    padding: 0 12px;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 4px;
}

.sidebar-nav a:hover {
    background: rgba(30, 144, 255, 0.08);
    color: white;
}
.sidebar-nav a.active {
    background: rgba(30, 144, 255, 0.15);
    color: white;
    border-left: 3px solid var(--accent);
}

.sidebar-nav a i {
    width: 18px;
    text-align: center;
}

.sidebar-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 12px 24px;
}

.sidebar-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    padding: 8px 28px 4px;
}

.dashboard-main { background: var(--bg); padding: 0; overflow-y: auto; }

.dashboard-header {
    background: linear-gradient(135deg, var(--accent) 0%, #1e40af 100%);
    color: white;
    padding: 48px 40px;
    margin-bottom: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    box-shadow: 0 6px 20px rgba(30,144,255,.15);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
    border-radius: 50%;
}

.dashboard-header::after {
    content: "";
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 70%);
    border-radius: 50%;
}

.dashboard-header > div {
    position: relative;
    z-index: 1;
}

.dashboard-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    margin: 0 0 8px 0;
    letter-spacing: -.5px;
}

.dashboard-header p {
    color: rgba(255,255,255,.9);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 500;
}

.dashboard-header .btn {
    position: relative;
    z-index: 1;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}


/* Dashboard stat cards */
.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 36px;
    padding: 32px 40px;
    background: var(--bg);
}

.dash-stat {
    background: linear-gradient(135deg, white 0%, rgba(248,249,250,.8) 100%);
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    position: relative;
    overflow: hidden;
}

.dash-stat::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(30,144,255,.08) 0%, transparent 70%);
    border-radius: 50%;
    transition: all .3s;
}

.dash-stat:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    border-color: var(--accent);
}

.dash-stat:hover::before {
    width: 180px;
    height: 180px;
}

.ds-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
}

.ds-blue {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.ds-orange {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
}

.ds-green {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.ds-purple {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.ds-info h3 {
    font-size: 0.78rem;
    color: var(--text-light);
    font-weight: 500;
    margin-bottom: 4px;
}

.ds-info .ds-num {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

/* Dashboard cards */
.dash-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 1px solid #e8eaed;
    box-shadow: 0 2px 12px rgba(0,0,0,.05);
    margin-bottom: 28px;
    transition: all .3s ease;
}

.dash-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
    border-color: #d0d7de;
}

.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #f0f0f0;
}

.dash-card-header h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* Bookings Table */
.bookings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.bookings-table th {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    font-size: 0.83rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-bottom: 2px solid #e8eaed;
}

.bookings-table td {
    padding: 16px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text);
}

.bookings-table tbody tr {
    transition: all .2s ease;
}

.bookings-table tbody tr:hover {
    background: rgba(30,144,255,.03);
}

/* Make tables scrollable on narrow screens and ensure minimum column widths */
.bookings-table, .admin-table, .admin-table th, .admin-table td, .bookings-table th, .bookings-table td {
    width: 100%;
}

/* Reduce padding on small screens and allow horizontal scroll */
@media (max-width: 1200px) {
    .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; padding: 28px 32px; }
}

@media (max-width: 992px) {
    .dashboard-layout { grid-template-columns: 1fr; }
    .dashboard-sidebar { position: fixed; top: 0; left: -260px; width: 260px; height: 100vh; z-index: 1050; box-shadow: 2px 0 12px rgba(0,0,0,.15); transition: left .3s ease; }
    .dashboard-layout.sidebar-collapsed .dashboard-sidebar { left: 0; }
    .toggle-sidebar { display: block; }
    .dashboard-header { padding: 40px 28px; flex-direction: column; align-items: flex-start; }
    .dashboard-header h2 { font-size: 1.8rem; }
    .dash-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; padding: 24px 28px; }
    .dash-card { padding: 24px; margin-bottom: 20px; }
    .bookings-table th, .bookings-table td { padding: 12px 10px; font-size: 0.85rem; }
}

/* Admin responsive behavior */
@media (max-width: 992px) {
    .admin-sidebar{ left: -240px; transition: left .28s ease; }
    .admin-sidebar.open{ left: 0; }
    .admin-main{ margin-left:0 !important; transition: margin .28s ease; }
    .admin-main.shifted{ margin-left:240px !important; }
}

@media (max-width: 768px) {
    .dashboard-sidebar { width: 240px; left: -240px; }
    .dashboard-layout.sidebar-collapsed .dashboard-sidebar { left: 0; }
    .dashboard-header { padding: 32px 20px; }
    .dashboard-header h2 { font-size: 1.5rem; margin-bottom: 12px; }
    .dashboard-header .btn { width: 100%; justify-content: center; }
    .dash-stats { grid-template-columns: 1fr; gap: 12px; padding: 20px 20px; margin-bottom: 24px; }
    .dash-card { padding: 20px; margin-bottom: 18px; }
    .dash-card-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
    .dash-card-header h3 { font-size: 1rem; }
    .bookings-table { min-width: 100%; }
    .bookings-table th, .bookings-table td { padding: 10px 8px; font-size: 0.8rem; }
}

@media (max-width: 576px) {
    .dashboard-header { padding: 24px 16px; }
    .dashboard-header h2 { font-size: 1.3rem; }
    .dashboard-header p { font-size: 0.85rem; }
    .toggle-sidebar { padding: 8px 10px; font-size: 16px; }
    .dash-stats { grid-template-columns: 1fr; gap: 10px; padding: 16px; margin-bottom: 20px; }
    .dash-stat { padding: 16px; gap: 12px; }
    .ds-info h3 { font-size: 0.75rem; }
    .ds-info .ds-num { font-size: 1.5rem; }
    .dash-card { padding: 16px; margin-bottom: 16px; }
    .dash-card-header { margin-bottom: 16px; }
    .dash-card-header h3 { font-size: 0.95rem; }
    .bookings-table th, .bookings-table td { padding: 8px 6px; font-size: 0.75rem; }
    .sidebar-nav a { padding: 10px 12px; gap: 8px; font-size: 0.85rem; }
    .sidebar-avatar { width: 48px; height: 48px; font-size: 1.1rem; margin-bottom: 10px; }
    .sidebar-user h4 { font-size: 0.85rem; }
    .sidebar-user span { font-size: 0.7rem; }
}

/* utility to wrap any table with horizontal scroll */
.table-wrap { width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }

.bookings-table tr:last-child td {
    border-bottom: none;
}

.bookings-table tr:hover td {
    background: rgba(30, 144, 255, 0.03);
}

/* Status badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-pending {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-confirmed {
    background: rgba(34, 197, 94, 0.12);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-completed {
    background: rgba(30, 144, 255, 0.12);
    color: var(--accent);
    border: 1px solid rgba(30, 144, 255, 0.2);
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* File Upload */
.upload-area {
    border: 2px dashed var(--border);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.upload-area:hover,
.upload-area.dragover {
    border-color: var(--accent);
    background: rgba(30, 144, 255, 0.04);
}

.upload-area i {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.upload-area h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.upload-area p {
    font-size: 0.82rem;
    color: var(--text-light);
}

.upload-area input[type="file"] {
    display: none;
}

/* ===== ADMIN PANEL ===== */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background: #0f1729;
    padding: 0;
    position: fixed;
    width: 240px;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-brand {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
    font-size: 0.95rem;
}

.admin-brand .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 1rem;
}

.admin-nav {
    padding: 16px 12px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    margin-bottom: 2px;
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(30, 144, 255, 0.15);
    color: white;
}

.admin-nav a.active {
    border-left: 3px solid var(--accent);
}

.admin-nav-sep {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 10px 0;
}

.admin-nav-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.25);
    padding: 8px 14px 4px;
}

.admin-main {
    margin-left: 240px;
    background: #f0f2f8;
    min-height: 100vh;
}

.admin-topbar {
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 90;
    box-shadow: var(--shadow-sm);
}

.admin-topbar h2 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.admin-topbar-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-content {
    padding: 32px;
}

/* Admin Data Table */
.admin-table-wrap {
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    overflow: hidden;
}

.admin-table-header {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 12px;
}

.admin-table-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
}

.table-search {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
}

.table-search input {
    background: transparent;
    font-size: 0.88rem;
    color: var(--text);
    width: 180px;
}

.table-search i {
    color: var(--text-light);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th {
    background: var(--bg);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    vertical-align: middle;
}

.admin-table tr:last-child td {
    border-bottom: none;
}

.admin-table tr:hover td {
    background: rgba(30, 144, 255, 0.03);
}

.action-btns {
    display: flex;
    gap: 6px;
}

.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: var(--transition);
}

.action-btn-blue {
    background: rgba(30, 144, 255, 0.1);
    color: var(--accent);
}

.action-btn-red {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.action-btn-green {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.action-btn:hover {
    filter: brightness(1.2);
    transform: scale(1.1);
}

/* ===== AUTH PAGES ===== */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #0d2d64 50%, #1a3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    position: relative;
    overflow: hidden;
}

.auth-page::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.1) 0%, transparent 60%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 48px 44px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    animation: slideInUp 0.6s ease;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo .logo-icon {
    width: 56px;
    height: 56px;
    font-size: 1.5rem;
    margin: 0 auto 14px;
}

.auth-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 6px;
}

.auth-logo p {
    font-size: 0.88rem;
    color: var(--text-light);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 28px;
}

.auth-tab {
    padding: 10px;
    text-align: center;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.auth-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-divider {
    text-align: center;
    margin: 20px 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 12px;
    color: var(--text-light);
    font-size: 0.82rem;
}

/* ===== SERVICES PAGE ===== */
.services-page-section {
    padding: 80px 0;
    background: var(--bg);
}

.services-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 48px;
}

.filter-btn {
    padding: 9px 22px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 16px rgba(30, 144, 255, 0.3);
}

.service-detail-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.service-card-head {
    background: linear-gradient(135deg, var(--primary), #0d2d64);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.service-card-head .card-icon {
    margin-bottom: 0;
}

.service-card-head h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.service-card-head p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    margin-top: 4px;
}

.service-card-body {
    padding: 28px;
}

.service-item-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text);
}

.service-item-list li:last-child {
    border-bottom: none;
}

.service-item-list li i {
    color: #22c55e;
    font-size: 0.85rem;
}

.service-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(30, 144, 255, 0.08);
    color: var(--accent);
    border: 1px solid rgba(30, 144, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-top: 20px;
}

/* ===== ABOUT PAGE ===== */
.about-section {
    padding: 80px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img-wrap img {
    border-radius: var(--radius-lg);
}

.about-img-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    color: white;
    padding: 20px;
    border-radius: var(--radius-md);
    text-align: center;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
}

.about-img-badge strong {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.about-img-badge span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.about-content .section-badge {
    display: inline-block;
}

.about-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin: 14px 0 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-light);
    font-size: 0.97rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.about-value i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
}

.about-value h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.about-value p {
    font-size: 0.82rem;
    color: var(--text-light);
    margin-bottom: 0;
}

/* Team section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.team-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 16px;
    box-shadow: 0 6px 24px rgba(30, 144, 255, 0.25);
}

.team-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.team-card span {
    font-size: 0.82rem;
    color: var(--accent);
    font-weight: 500;
}

.team-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 10px;
}

/* Responsive extras */
@media (max-width: 1024px) {
    .booking-wrap {
        grid-template-columns: 1fr;
        /* put form above info on narrow viewports for quicker access */
        align-items: stretch;
    }

    .booking-info { order: 2; }
    .booking-form-card { order: 1; }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
    }

    .admin-main {
        margin-left: 0;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: none;
    }

    .dash-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .auth-card {
        padding: 32px 24px;
    }

    .plan-select-grid {
        grid-template-columns: 1fr;
    }

    .time-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reduce booking card padding and spacing on smaller screens */
    .booking-form-card { padding: 20px; }
    .booking-section { padding: 48px 0; }

    /* Mobile-specific overrides to counter inline styles and ensure usability */
    .booking-wrap { gap: 20px; }
    .booking-section .plan-select-grid { grid-template-columns: 1fr !important; }
    .booking-form-card .btn { width: 100%; display: inline-flex; justify-content: center; }
    .booking-form-card .btn + .btn { margin-top: 12px; }
    .booking-form-card .form-row { gap: 12px; }
    .booking-info { padding: 0 6px; }

    .dash-stats {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .admin-content {
        padding: 20px 16px;
    }
}

/* ===== HERO FLOATING SHAPES ===== */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.10;
}

.hero-shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #1E90FF 0%, transparent 70%);
    top: -150px;
    right: -80px;
    animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FF6B00 0%, transparent 70%);
    bottom: 0;
    left: -60px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
    bottom: 30%;
    right: 15%;
    animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {

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

    33% {
        transform: translate(20px, -30px) scale(1.05);
    }

    66% {
        transform: translate(-15px, 15px) scale(0.96);
    }
}

/* ===== PRELOADER ===== */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
}

.loader-logo span {
    color: var(--accent);
}

.loader-bar {
    width: 160px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--orange));
    border-radius: 2px;
    animation: loaderFill 1s ease forwards;
}

@keyframes loaderFill {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

/* ===== AUTH PAGE ===== */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #0d2d64 55%, #1a3a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 44px 40px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
    animation: slideInUp 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.auth-logo {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin: 12px 0 4px;
}

.auth-logo p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--bg);
    border-radius: var(--radius-sm);
    padding: 4px;
    margin-bottom: 28px;
}

.auth-tab {
    padding: 10px;
    text-align: center;
    cursor: pointer;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-light);
    transition: var(--transition);
}

.auth-tab.active {
    background: white;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.auth-divider {
    text-align: center;
    color: var(--text-light);
    font-size: 0.82rem;
    margin: 16px 0;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 42%;
    height: 1px;
    background: var(--border);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== ALERT / TOAST STYLES ===== */
.form-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-error {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #dc2626;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ===== CARD LINK ===== */
.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition);
}

.card-link:hover {
    gap: 10px;
}

/* ===== FOOTER STYLES ===== */
.footer {
    background: #06112a;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.footer-top {
    padding: 72px 0 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
    gap: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    margin-bottom: 16px;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.footer-contact-mini {
    margin-bottom: 20px;
}

.footer-contact-mini a,
.footer-contact-mini span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
    margin-bottom: 8px;
    transition: var(--transition);
}

.footer-contact-mini a:hover {
    color: var(--accent);
}

.footer-social {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.fsoc-link {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    transition: var(--transition);
}

.fsoc-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    transform: translateY(-3px);
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a i {
    font-size: 0.6rem;
    color: var(--accent);
    opacity: 0.6;
}

.footer-links a:hover {
    color: white;
    gap: 12px;
}

.footer-bottom {
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-copy strong {
    color: rgba(255, 255, 255, 0.55);
}

.footer-tagline-sm {
    color: rgba(255, 255, 255, 0.25);
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.35);
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.15);
}

/* ===== ABOUT PAGE ===== */
.about-section {
    background: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 28px;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.about-value>i {
    color: var(--accent);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.about-value h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.about-value p {
    font-size: 0.78rem;
    color: var(--text-light);
}

/* ===== SERVICES PAGE ===== */
.services-page-section {
    background: var(--bg);
    padding: 72px 0;
}

.services-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    justify-content: center;
}

.filter-btn {
    padding: 9px 20px;
    border-radius: 50px;
    border: 1.5px solid var(--border);
    background: white;
    color: var(--text);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 14px rgba(30, 144, 255, 0.25);
}

.service-detail-card {
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.service-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.service-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    background: var(--bg);
}

.service-card-head h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 3px;
}

.service-card-head p {
    font-size: 0.82rem;
    color: var(--text-light);
}

.service-card-body {
    padding: 24px;
}

.service-item-list {
    list-style: none;
    margin-bottom: 18px;
}

.service-item-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 0.88rem;
    color: var(--text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.service-item-list li i {
    color: var(--accent);
    font-size: 0.75rem;
    flex-shrink: 0;
}

.service-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(30, 144, 255, 0.07);
    color: var(--accent);
    border: 1px solid rgba(30, 144, 255, 0.15);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* ===== SECTION CTA ===== */
.section-cta {
    text-align: center;
}

/* ===== PLANS PAGE STYLES ===== */
.ot-price {
    text-align: center;
    margin-bottom: 20px;
}

.ot-from {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.5);
    display: block;
    margin-bottom: 4px;
}

.ot-amount {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 900;
    color: white;
    line-height: 1;
}

.ot-note {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    display: block;
    margin-top: 4px;
}

/* ===== ACTION BUTTONS ===== */
.action-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
}

.action-btn-blue {
    background: rgba(30, 144, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(30, 144, 255, 0.15);
}

.action-btn-blue:hover {
    background: var(--accent);
    color: white;
}

.action-btn-green {
    background: rgba(37, 211, 102, 0.1);
    color: #25D366;
    border: 1px solid rgba(37, 211, 102, 0.2);
}

.action-btn-green:hover {
    background: #25D366;
    color: white;
}

/* ===== RESPONSIVE FOOTER ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .services-filter {
        justify-content: flex-start;
    }

    .auth-card {
        padding: 28px 20px;
    }
}
