@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');
[v-cloak] {
    display: none;
}
:root {
    --primary-color: #11A7A0;
    --primary-hover: #075e5c;
    --success: #16a34a;
    --danger: #ef4444;
    --warning: #f59e0b;
    --border-color: #e2e8f0;
    --nav-bg: rgba(39, 49, 72, 0.95);
    --bg-color: #f8fbfa;
    --text-main: #1e293b;
    --text-light: #64748b;
}
.btn-success{
    --bs-btn-color: #fff;
    --bs-btn-bg: #11A7A0;
    --bs-btn-border-color: #11A7A0;

    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d8d87;
    --bs-btn-hover-border-color: #0d8d87;

    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #09726d;
    --bs-btn-active-border-color: #09726d;

    color: #fff !important;
    background: linear-gradient(135deg,#11A7A0,#0d8d87) !important;
    border-color: #11A7A0 !important;

    border-radius: 16px;
    font-weight: 700;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active{
    color:#fff !important;
}
.bg-success{

    --bs-bg-opacity:1;

    background:linear-gradient(135deg,#11A7A0,#0d8d87) !important;

}

.badge{

    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;

}

.badge.bg-success{

    color:#fff !important;

}
.text-success{
    color:#11A7A0 !important;
}
/* CurePest Primary Badge */

.badge.bg-primary{

    background: linear-gradient(135deg,#11A7A0,#0d8d87) !important;

    color:#fff !important;

    border:none;

    padding:7px 14px;

    border-radius:999px;

    font-size:13px;

    font-weight:700;

    letter-spacing:.3px;

    box-shadow:0 6px 18px rgba(17,167,160,.25);

}
.status-pill{

    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:8px 14px;

    border-radius:50px;

    font-size:13px;

    font-weight:700;

    transition:.3s;

}

.status-pill i{

    font-size:11px;

}

.status-pill.active{

    color:#0f766e;

    background:#ecfdf5;

    border:1px solid #a7f3d0;

}

.status-pill.inactive{

    color:#b91c1c;

    background:#fef2f2;

    border:1px solid #fecaca;

}
* {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 70px;
}

body {
    font-family: 'Tajawal', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.navbar {
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--primary-color);
    min-height: 65px;
    transition: transform 0.3s ease-in-out;
}

.hamburger {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.side-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--nav-bg);
    backdrop-filter: blur(15px);
    z-index: 1100;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    border-left: 3px solid var(--primary-color);
    overflow-y: auto;
}

html[dir="ltr"] .side-menu {
    right: auto;
    left: -300px;
    border-left: none;
    border-right: 3px solid var(--primary-color);
}

.side-menu.open {
    right: 0;
}

html[dir="ltr"] .side-menu.open {
    right: auto;
    left: 0;
}

.close-btn {
    align-self: flex-end;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    margin-bottom: 20px;
    transition: color 0.2s ease;
}

.close-btn:hover {
    color: var(--primary-color);
}

.side-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-links a,
.side-links button {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.2s ease;
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    cursor: pointer;
}

html[dir="ltr"] .side-links a,
html[dir="ltr"] .side-links button {
    text-align: left;
}

.side-links a:hover,
.side-links button:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(-5px);
}

html[dir="ltr"] .side-links a:hover,
html[dir="ltr"] .side-links button:hover {
    transform: translateX(5px);
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.brand-logo,
.global-logo {
    max-height: 45px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a,
.nav-links button {
    color: #f8fafc;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-text {
    display: flex !important;
    align-items: center;
    gap: 4px;
}

.staff-links {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary,
button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    min-height: 44px;
    font-family: inherit;
}

.btn-primary:hover,
button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}

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

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-register {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-register:hover {
    background: rgba(255, 255, 255, 0.15);
}

.landing-wrapper,
.portal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 15px 30px;
}

.hero-text {
    margin-bottom: 40px;
}

.hero-text h1 {
    font-size: 2.2rem;
    color: var(--text-main);
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.booking-section,
.report-box {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.input-group {
    margin-bottom: 1.3rem;
    position: relative;
}

.input-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    color: var(--text-light);
    font-size: 0.95rem;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    background: #f8fafc;
    color: var(--text-main);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.input-group input::placeholder,
.input-group textarea::placeholder {
    color: #cbd5e1;
}

.admin-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

.sidebar {
    background: #fff;
    border-left: 1px solid var(--border-color);
    padding: 20px;
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    overflow-y: auto;
}

html[dir="ltr"] .sidebar {
    border-left: none;
    border-right: 1px solid var(--border-color);
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.sidebar-nav li {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-light);
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.sidebar-nav li:hover {
    color: var(--primary-color);
    background: #f1f5f9;
}

.sidebar-nav li:active {
    background: #e0f2fe;
}

.sidebar-nav button {
    width: 100%;
    justify-content: flex-start;
}

.content-area {
    padding: 25px;
    width: 100%;
    overflow-y: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.data-table th,
.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-color);
    text-align: start;
    font-size: 0.9rem;
}

.data-table th {
    background: #f8fafc;
    font-weight: 800;
    color: var(--text-light);
}

.data-table tr:hover {
    background: #f8fafc;
}

.hidden {
    display: none !important;
}

.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
}

.role-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-block;
    text-transform: capitalize;
}

.role-worker {
    background: #e0f2fe;
    color: #0369a1;
}

.role-supervisor {
    background: #fef08a;
    color: #854d0e;
}

.role-admin {
    background: #fed7aa;
    color: #9a3412;
}

.hide-on-mobile {
    display: block;
}

.toast {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #10b981;
    color: white;
    padding: 14px 18px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    animation: slideIn 0.3s ease;
    max-width: 400px;
    margin-left: auto;
    font-weight: 600;
}

.toast.error {
    background: #ef4444;
}

.toast.warning {
    background: #f59e0b;
}

@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

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

#toast-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    z-index: 2000;
}

.draft-mode {
    border: 2px dashed var(--warning);
    padding: 18px;
    border-radius: 10px;
    background: rgba(245, 158, 11, 0.03);
}

.submitted-mode {
    opacity: 0.7;
    pointer-events: none;
    border: 2px solid var(--success);
}

.time-badge {
    background: #e2e8f0;
    padding: 6px 10px;
    border-radius: 5px;
    font-weight: bold;
    font-size: 0.85rem;
    color: var(--text-main);
    display: inline-block;
}

.preview-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .admin-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .mobile-topbar {
        display: flex !important;
        position: fixed;
        inset: 0 0 auto 0;
        z-index: 1200;
    }

    .sidebar-close-btn {
        display: inline-flex !important;
        position: absolute;
        top: 16px;
        left: 16px;
        z-index: 5;
    }

    [dir="rtl"] .sidebar-close-btn {
        left: auto;
        right: 16px;
    }

    .dashboard-layout {
        display: block;
    }

    .premium-sidebar {
        position: fixed !important;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: min(88vw, 320px);
        min-width: auto;
        max-width: 320px;
        height: 100dvh;
        z-index: 1300;
        transform: translateX(100%);
        visibility: hidden;
        opacity: 0;
        display: flex !important;
        border-radius: 0 0 0 20px;
        padding: 74px 16px 24px;
        pointer-events: auto;
        box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 20px 50px rgba(0,0,0,0.35);
    }

    [dir="rtl"] .premium-sidebar {
        right: 0;
        left: auto;
    }

    [dir="ltr"] .premium-sidebar {
        left: 0;
        right: auto;
        transform: translateX(-100%);
    }

    .premium-sidebar.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: flex !important;
    }

    .premium-sidebar .sidebar-header {
        margin-bottom: 18px;
    }

    .premium-sidebar .sidebar-menu a {
        padding: 12px 14px;
        margin-bottom: 10px;
        font-size: 1rem;
        background: rgba(255,255,255,0.16);
        border: 1px solid rgba(255,255,255,0.24);
        border-radius: 14px;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
    }

    .premium-sidebar .sidebar-footer {
        margin-top: 16px;
    }

    [dir="rtl"] .premium-sidebar.open {
        right: 0;
        left: auto;
    }

    [dir="ltr"] .premium-sidebar.open {
        left: 0;
        right: auto;
    }

    .main-content {
        padding: 16px;
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .sidebar:not(.premium-sidebar) {
        display: none !important;
    }

    .navbar {
        padding: 8px 12px;
        min-height: 60px;
        flex-wrap: wrap;
        gap: 8px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
    }

    .staff-links {
        width: 100%;
        gap: 6px;
    }

    .btn-register {
        padding: 7px 11px;
        font-size: 0.8rem;
    }

    .nav-brand img {
        max-height: 40px;
    }

    .landing-wrapper,
    .portal-container {
        padding: 70px 12px 20px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .hero-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .booking-section,
    .report-box {
        padding: 18px;
        border-radius: 12px;
        margin-bottom: 1.5rem;
    }

    .booking-section h2,
    .report-box h3 {
        font-size: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .input-group {
        margin-bottom: 1rem;
    }

    .input-group label {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 11px 12px;
        font-size: 16px;
    }

    .btn-primary,
    button {
        padding: 10px 16px;
        font-size: 0.9rem;
        min-height: 40px;
        border-radius: 7px;
    }

    form>[style*="grid"] {
        grid-template-columns: 1fr !important;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }

    .status-badge {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .modal {
        padding: 15px !important;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .toast {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .preview-img {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 6px 10px;
        min-height: 55px;
    }

    .nav-brand img {
        max-height: 35px;
    }

    .nav-links {
        gap: 4px;
    }

    .btn-register {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .landing-wrapper,
    .portal-container {
        padding: 65px 10px 15px;
    }

    .hero-text h1 {
        font-size: 1.2rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .booking-section,
    .report-box {
        padding: 15px;
    }

    .booking-section h2,
    .report-box h3 {
        font-size: 1rem;
    }

    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 10px 11px;
        font-size: 14px;
    }

    .btn-primary,
    button {
        padding: 9px 14px;
        font-size: 0.85rem;
        min-height: 38px;
    }

    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 6px 8px;
    }

    .preview-img {
        width: 50px;
        height: 50px;
    }
}

.report-item-value {
    display: inline-flex;
    align-items: center;
    align-self: center;
    vertical-align: middle;
    margin: 0;
    padding: 0 8px;
    border-radius: 9px;
    color: #075e5c;
    background: #edf9f7;
    font-size: .9rem;
    font-weight: 700;
    line-height: inherit;
}
.report-item-value i { margin-inline-end: 5px; }

/* Admin dashboard refresh */
.admin-dashboard { max-width: 1600px; margin-inline: auto; padding: 0; }
.dashboard-hero { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(24px, 3vw, 38px); margin-bottom: 22px; border-radius: 25px; color: #fff; background: linear-gradient(125deg, #043e3c 0%, #08756f 58%, #12aaa2 100%); box-shadow: 0 20px 45px rgba(7,94,92,.18); }
.dashboard-hero::before, .dashboard-hero::after { content: ""; position: absolute; border-radius: 50%; border: 35px solid rgba(255,255,255,.06); }
.dashboard-hero::before { width: 240px; height: 240px; inset-inline-end: -75px; top: -110px; }
.dashboard-hero::after { width: 150px; height: 150px; inset-inline-end: 150px; bottom: -105px; }
.dashboard-hero-content, .dashboard-today { position: relative; z-index: 1; }
.dashboard-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 9px; color: #bff7f0; font-size: .88rem; font-weight: 800; }
.dashboard-hero h1 { margin: 0 0 7px; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 800; }
.dashboard-hero p { margin: 0; color: rgba(255,255,255,.76); }
.dashboard-today { min-width: 220px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.2); border-radius: 15px; background: rgba(255,255,255,.11); backdrop-filter: blur(8px); }
.dashboard-today span, .dashboard-today strong { display: block; }
.dashboard-today span { margin-bottom: 4px; color: #c9f6f2; font-size: .8rem; }
.dashboard-today strong { font-size: .95rem; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; margin-bottom: 15px; }
.metric-card { --metric:#0f9892; --metric-bg:#e8f8f6; position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 19px; border: 1px solid #e4eeec; border-radius: 19px; color: #183a38; background: #fff; box-shadow: 0 10px 28px rgba(18,70,66,.06); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.metric-card:hover { color: #183a38; border-color: color-mix(in srgb, var(--metric) 35%, white); transform: translateY(-3px); box-shadow: 0 17px 35px rgba(18,70,66,.11); }
.metric-icon { display: grid; place-items: center; flex: 0 0 51px; width: 51px; height: 51px; border-radius: 15px; color: var(--metric); background: var(--metric-bg); font-size: 1.2rem; }
.metric-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0;
    line-height: 1;
    text-align: center;
}
.metric-card div { min-width: 0; }
.metric-card strong, .metric-card span { display: block; }
.metric-card strong { color: #142f2d; font-size: 1.65rem; line-height: 1.1; font-weight: 800; }
.metric-card div span { margin-top: 5px; color: #718380; font-size: .87rem; font-weight: 700; }
.metric-arrow { margin-inline-start: auto; color: #bdcdca; font-size: .78rem; }
.metric-blue { --metric:#3478df; --metric-bg:#edf4ff; }
.metric-purple { --metric:#805ad5; --metric-bg:#f4efff; }
.metric-orange { --metric:#e98a16; --metric-bg:#fff5e7; }
.operations-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 20px; border: 1px solid #e3ecea; border-radius: 17px; background: #fff; box-shadow: 0 8px 24px rgba(18,70,66,.04); }
.operation-item { display: flex; align-items: center; gap: 11px; padding: 15px 18px; border-inline-end: 1px solid #edf2f1; }
.operation-item:last-child { border-inline-end: 0; }
.operation-dot { flex: 0 0 9px; width: 9px; height: 9px; border-radius: 50%; background: #f4aa29; box-shadow: 0 0 0 5px #fff4df; }
.operation-dot.completed { background:#1fa66d; box-shadow:0 0 0 5px #e6f7f0; }
.operation-dot.one-time { background:#805ad5; box-shadow:0 0 0 5px #f1ebff; }
.operation-dot.requests { background:#3478df; box-shadow:0 0 0 5px #eaf2ff; }
.operation-item div { display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; min-width:0; }
.operation-item span:not(.operation-dot) { color:#718380; font-size:.8rem; font-weight:700; }
.operation-item strong { color:#173b38; font-size:1.15rem; }
.dashboard-content-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(300px, .75fr); gap: 18px; align-items: start; }
.dashboard-panel { min-width: 0; overflow: hidden; border: 1px solid #e2ecea; border-radius: 20px; background: #fff; box-shadow: 0 12px 32px rgba(18,70,66,.06); }
.panel-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:19px 21px; border-bottom:1px solid #e9f0ef; }
.panel-heading > div { display:flex; align-items:center; gap:11px; min-width:0; }
.panel-icon { display:grid; place-items:center; flex:0 0 39px; width:39px; height:39px; border-radius:11px; color:#0f9892; background:#eaf8f6; }
.panel-heading h2 { margin:0 0 2px; color:#183a38; font-size:1rem; font-weight:800; }
.panel-heading p { margin:0; color:#82918f; font-size:.76rem; }
.panel-heading > a { color:#0b817b; font-size:.82rem; font-weight:800; text-decoration:none; white-space:nowrap; }
.dashboard-table-wrap { overflow-x:auto; -webkit-overflow-scrolling:touch; }
.dashboard-table { width:100%; min-width:680px; border-collapse:collapse; }
.dashboard-table th { padding:12px 17px; color:#758784; background:#f7faf9; font-size:.76rem; font-weight:800; text-align:start; white-space:nowrap; }
.dashboard-table td { padding:14px 17px; border-top:1px solid #edf2f1; color:#445c59; font-size:.84rem; vertical-align:middle; }
.dashboard-table tbody tr:hover { background:#fbfdfd; }
.employee-cell { display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.employee-cell i { display:grid; place-items:center; width:27px; height:27px; border-radius:8px; color:#0f9892; background:#eaf8f6; }
.visit-type-pill, .dashboard-status { display:inline-flex; align-items:center; padding:5px 9px; border-radius:999px; font-size:.71rem; font-weight:800; white-space:nowrap; }
.visit-type-pill { color:#3478df; background:#edf4ff; }
.visit-type-pill.one-time { color:#7443c1; background:#f3edff; }
.dashboard-status { color:#6a7977; background:#eef2f1; }
.status-completed { color:#13714c; background:#e7f7ef; }
.status-in_progress { color:#9a6306; background:#fff3da; }
.status-canceled { color:#b42318; background:#fff0ef; }
.dashboard-empty { padding:42px !important; text-align:center !important; }
.dashboard-empty i, .dashboard-empty span { display:block; }
.dashboard-empty i { margin-bottom:8px; color:#a8bab7; font-size:1.8rem; }
.dashboard-side-stack { display:grid; gap:18px; }
.panel-heading.compact { justify-content:flex-start; }
.performance-list { padding:8px 19px 17px; }
.performance-row { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 0; border-bottom:1px solid #edf2f1; }
.performance-row:last-child { border-bottom:0; }
.performance-row span { color:#627875; font-size:.81rem; font-weight:700; }
.performance-row span i { width:20px; color:#0f9892; }
.performance-row strong { color:#183a38; font-size:.9rem; white-space:nowrap; }
.performance-row strong.positive { color:#158558; }
.performance-row strong.negative { color:#c0392b; }
.quick-action-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; padding:16px; }
.quick-action-grid a { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:7px; min-height:88px; padding:12px 8px; border:1px solid #e5eeec; border-radius:13px; color:#49635f; background:#fbfdfd; font-size:.76rem; font-weight:800; text-decoration:none; transition:.2s; }
.quick-action-grid a i { color:#0f9892; font-size:1.1rem; }
.quick-action-grid a:hover { color:#08746f; border-color:#bfe1dd; background:#f1faf8; transform:translateY(-2px); }
@media (max-width:1200px) { .dashboard-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .operations-strip { grid-template-columns:repeat(2,minmax(0,1fr)); } .operation-item:nth-child(2) { border-inline-end:0; } .operation-item:nth-child(-n+2) { border-bottom:1px solid #edf2f1; } .dashboard-content-grid { grid-template-columns:1fr; } .dashboard-side-stack { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:767px) { .admin-dashboard { padding:0; } .dashboard-hero { align-items:flex-start; flex-direction:column; padding:22px 19px; border-radius:19px; } .dashboard-today { width:100%; min-width:0; } .dashboard-metrics { gap:10px; } .metric-card { padding:14px; gap:10px; } .metric-icon { flex-basis:43px; width:43px; height:43px; } .metric-card strong { font-size:1.3rem; } .metric-arrow { display:none; } .operations-strip { grid-template-columns:1fr; } .operation-item, .operation-item:nth-child(2) { border-inline-end:0; border-bottom:1px solid #edf2f1; } .operation-item:last-child { border-bottom:0; } .dashboard-side-stack { grid-template-columns:1fr; } }
@media (max-width:420px) { .dashboard-metrics { grid-template-columns:1fr; } .metric-card { min-height:79px; } .panel-heading { padding:16px; } .panel-heading > a { font-size:0; } .panel-heading > a i { font-size:.9rem; } }
.text-preline { white-space: pre-line; }
.item-text-value { color: #075e5c; font-weight: 700; }

.sidebar {
    width: 280px;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 24px;

    /* LIGHT GLASS BACKGROUND */
    background:
        radial-gradient(circle at top right,
            rgba(37, 99, 235, 0.08),
            transparent 45%),

        radial-gradient(circle at bottom left,
            rgba(22, 163, 74, 0.06),
            transparent 50%),

        linear-gradient(180deg,
            #ffffff 0%,
            #f8fafc 100%);

    /* BORDER */
    border-left: 1px solid rgba(0, 0, 0, .06);

    /* SOFT SHADOW */
    box-shadow:
        10px 0 30px rgba(0, 0, 0, .05),
        inset 0 1px 0 rgba(255, 255, 255, .8);

    position: relative;
    overflow: hidden;
}

/* HEADER */
.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.sidebar-logo {
    width: 100px;
    height: 55px;
    background: #fff;
    border-radius: 12px;
    padding: 6px;
    transition: .3s;
}

.sidebar-logo:hover {
    transform: rotate(5deg) scale(1.05);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0b3d2e;
    letter-spacing: 1px;
}

.sidebar-header span {
    font-size: .75rem;
    opacity: .8;
}

/* MENU */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 0px;
    overflow-y: auto;
       scrollbar-width: thin;
    scrollbar-color: #075e5c #f1f5f9;
    overflow-x: hidden;
}
.sidebar-menu::-webkit-scrollbar {
    width: 10px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 12px;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: #075e5c;
    border-radius: 12px;
    border: 2px solid #f1f5f9;
    transition: background 0.3s ease;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: #0a7d79;
}

.sidebar-menu::-webkit-scrollbar-corner {
    background: transparent;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 5px;

    padding: 5px 5px;
    border-radius: 12px;

    color: #0b3d2e;
    text-decoration: none;

    transition: .3s;
    font-weight: 500;
}

.sidebar-menu a i {
    width: 20px;
    color: #0b3d2e;
    transition: .3s;
}

.sidebar-menu a:hover {
    background: rgba(212, 175, 55, .15);
    transform: translateX(6px);
    color: #0b3d2e;
}

.sidebar-menu a:hover i {
    color: #0b3d2e;
}

/* ACTIVE */
.sidebar-menu a.active {
    background: #f2f2f2;
    color: #0b3d2e;
    font-weight: 700;
}

.sidebar-menu a.active i {
    color: #0b3d2e;
}

/* FOOTER */
.sidebar-footer {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* LANG */
.lang-switcher {
    display: flex;
    gap: 8px;
}

.lang-switcher a {
    flex: 1;
    text-align: center;
    padding: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.lang-switcher a:hover {
    background: rgba(212, 175, 55, .25);
}

/* LOGIN BUTTON */
.login-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 12px;
    border-radius: 12px;

    background: #0b3d2e;
    color: #f2f2f2;

    font-weight: 700;
    text-decoration: none;

    transition: .3s;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, .3);
}

.page-wrapper {
    padding: 20px;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* HEADER */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}

.page-title {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.page-title i {
    color: #0b3d2e;
    margin-right: 8px;
}

/* STATS */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-box {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .05);
    min-height: 96px;
}

.stat-box i {
    font-size: 22px;
    color: #0b3d2e;
}

.stat-box h3 {
    margin: 0;
    font-size: 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 20px;
    margin-top: 20px;
}

/* TABLE CARD */
.table-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
    overflow: hidden;
    padding: 16px;
}

.table-card > h3 {
    margin-bottom: 15px;
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}

/* TABLE */
.modern-table {
    width: 100%;
    min-width: 560px;
    border-collapse: collapse;
}

.modern-table th,
.modern-table td {
    padding: 12px;
}

html[dir="rtl"] .modern-table th,
html[dir="rtl"] .modern-table td {
    text-align: right;
}

html[dir="ltr"] .modern-table th,
html[dir="ltr"] .modern-table td {
    text-align: left;
}

.modern-table thead {
    background: #f1f5f9;
    font-weight: 600;
}

.modern-table tbody tr {
    border-bottom: 1px solid #f1f1f1;
    transition: .2s;
}

.modern-table tbody tr:hover {
    background: #f9fafb;
}

@media (max-width: 991px) {
    .page-wrapper {
        padding: 16px;
    }

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

    .stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-card {
        padding: 12px;
    }
}

@media (max-width: 576px) {
    .page-wrapper {
        padding: 12px;
    }

    .page-title {
        font-size: 22px;
    }

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

    .stat-box {
        padding: 12px;
        min-height: 86px;
    }

    .stat-box h3 {
        font-size: 18px;
    }

    .modern-table {
        min-width: 480px;
    }
}

.dashboard-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

html[dir="rtl"] .dashboard-layout {
    flex-direction: row;
}

.sidebar {
    width: 280px;
    flex-shrink: 0;
    position: relative;
    top: 0;
    bottom: 0;
}

.main-content {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    padding: 24px;
    overflow: auto;
    background: radial-gradient(circle at top right,
            rgba(37, 99, 235, 0.08),
            transparent 45%),

        radial-gradient(circle at bottom left,
            rgba(22, 163, 74, 0.06),
            transparent 50%),

        linear-gradient(180deg,
            #ffffff 0%,
            #f8fafc 100%);
}

/* ACTION BUTTONS */
.actions a {
    padding: 5px 10px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

.btn-primary {
    background: #0b3d2e;
    color: #fff;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}

html[dir="rtl"] body {
    text-align: right;
}

.badge {
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: #fff;
}

.bg-success {
    background: #0b3d2e;
}

.bg-danger {
    background: #dc2626;
}

.bg-warning {
    background: #f59e0b;
}

.bg-primary {
    background: #2563eb;
    color: #fff;
}

.bg-danger {
    background: gray;
    color: #fff;
}

.bg-success {
    background: #0b3d2e;
    color: #fff;
}

button,
.btn,
.btn-sm,
.btn-lg,
.btn-primary,
.btn-success,
.btn-danger,
.btn-warning,
.btn-secondary,
a.btn,
input[type="submit"] {
    border-radius: 15px !important;
}

/* =========================
   PREMIUM SIDEBAR
========================= */


.premium-sidebar {

    width: 280px;
    min-width: 280px;
    height: 100vh;

    position: sticky;
    top: 0;
    margin: 0;

    padding: 25px 18px;

    display: flex;
    flex-direction: column;

    color: white;
    transition: transform 0.3s ease;
    overflow-y: auto;

    background:

        radial-gradient(circle at top,
            rgba(17, 167, 160, .5),
            transparent 40%),

        linear-gradient(160deg,
            #032f30,
            #075e5c,
            #11A7A0);


    box-shadow:
        10px 0 40px rgba(0, 0, 0, .2);


    z-index: 1000;

}



/* RTL */

[dir="rtl"] .premium-sidebar {

    right: 0;
    left: auto;

}



/* LTR */

[dir="ltr"] .premium-sidebar {

    left: 0;
    right: auto;

}

.mobile-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(3, 47, 48, 0.25);
    color: white;
    position: sticky;
    top: 0;
    z-index: 2147483647;
    box-shadow: none;
    pointer-events: auto;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.mobile-sidebar-toggle,
.sidebar-close-btn {
    border: 0;
    background: rgba(255, 255, 255, 0.16);
    color: white;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.sidebar-close-btn {
    display: none;
    margin-bottom: 12px;
    align-self: flex-end;
}

.mobile-topbar-title {
    font-weight: 700;
    font-size: 1rem;
}

.mobile-sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.55);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.mobile-sidebar-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

body.sidebar-open {
    overflow: hidden;
}




/* HEADER */

.sidebar-header {


    display: flex;

    align-items: center;

    gap: 15px;

    padding-bottom: 25px;

    border-bottom:

        1px solid rgba(255, 255, 255, .15);

}



.logo-wrapper {


    width: 60px;

    height: 60px;


    border-radius: 20px;


    background: white;


    display: flex;

    align-items: center;

    justify-content: center;


    box-shadow:

        0 10px 30px rgba(0, 0, 0, .25);


}



.sidebar-logo {

    width: 45px;

}




.brand-text h3 {

    margin: 0;

    font-size: 22px;

    font-weight: 800;

}



.brand-text span {

    font-size: 12px;

    opacity: .7;

}




/* MENU */


.sidebar-menu {

    flex: 1;

    margin-top: 30px;

}



.sidebar-menu a {


    display: flex;

    align-items: center;

    gap: 5px;


    padding: 10px 5px;


    margin-bottom: 12px;


    color: white;


    text-decoration: none;


    border-radius: 18px;


    transition: .3s;


    font-weight: 500;


}



.sidebar-menu a:hover {


    background:

        rgba(255, 255, 255, .15);


    transform: translateX(5px);

}


[dir="rtl"] .sidebar-menu a:hover {

    transform: translateX(-5px);

}





/* ACTIVE */


.sidebar-menu a.active {


    background: white;


    color: #087c78;


    box-shadow:

        0 10px 25px rgba(0, 0, 0, .2);


}





.menu-icon {


    width: 40px;

    height: 40px;


    border-radius: 14px;


    display: flex;

    align-items: center;

    justify-content: center;


    background:

        rgba(255, 255, 255, .18);


    flex-shrink: 0;

}



.active .menu-icon {


    background: #11A7A0;

    color: white;

}





/* FOOTER */


.sidebar-footer {


    padding-top: 20px;


    border-top:

        1px solid rgba(255, 255, 255, .15);


}




.logout-btn {


    width: 100%;


    border: 0;


    color: white;


    background:

        rgba(255, 255, 255, .12);


    padding: 13px 15px;


    border-radius: 18px;


    display: flex;


    align-items: center;


    gap: 15px;


    cursor: pointer;


    transition: .3s;


}




.logout-btn:hover {


    background: rgba(255, 255, 255, .18);


    transform: translateY(-3px);

}

.menu-icon i {

    color: #ffffff;

    font-size: 18px;

    transition: .3s;

}


/* الحالة العادية */
.sidebar-menu a:not(.active) .menu-icon {

    background: rgba(255, 255, 255, .18);

}


.sidebar-menu a:not(.active) .menu-icon i {

    color: white;

}


/* الحالة النشطة */
.sidebar-menu a.active .menu-icon {

    background: #11A7A0;

}


.sidebar-menu a.active .menu-icon i {

    color: white !important;

}


/* Hover */
.sidebar-menu a:hover .menu-icon i {

    color: #ffffff;

}

.menu-icon {

    width: 40px;
    height: 40px;

    min-width: 40px;

    border-radius: 14px;

    display: flex;

    align-items: center;
    justify-content: center;

    line-height: 1;

}


.menu-icon i {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 17px;

    line-height: 1;

}

.sidebar-menu a {

    align-items: center;

}


.sidebar-menu a span {

    line-height: 40px;

}












/*login*/
/* ======================
   LOGIN PAGE
====================== */


.login-page {

    min-height: 100vh;

    font-family: 'Tajawal', sans-serif;

}



.login-background {


    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;


    background:

        radial-gradient(circle at top right,
            rgba(17, 167, 160, .45),
            transparent 35%),

        linear-gradient(135deg,
            #032f30,
            #075e5c,
            #11A7A0);


    position: relative;

    overflow: hidden;

}





.shape {


    position: absolute;

    border-radius: 50%;

    filter: blur(2px);

}



.shape-one {


    width: 350px;

    height: 350px;

    background:
        rgba(255, 255, 255, .08);

    top: -120px;

    left: -120px;

}



.shape-two {


    width: 300px;

    height: 300px;

    background:
        rgba(255, 255, 255, .06);

    bottom: -100px;

    right: -80px;

}





.login-card {


    width: 420px;


    padding: 40px;


    background:

        rgba(255, 255, 255, .95);


    backdrop-filter: blur(20px);


    border-radius: 30px;


    box-shadow:

        0 25px 70px rgba(0, 0, 0, .25);


    text-align: center;


    position: relative;


    animation:

        fadeUp .5s ease;

}





@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(30px);

    }

    to {

        opacity: 1;

        transform: none;

    }

}




.login-logo {


    width: 85px;

    height: 85px;


    margin: auto;


    background: white;


    border-radius: 25px;


    display: flex;

    align-items: center;

    justify-content: center;


    box-shadow:

        0 10px 30px rgba(0, 0, 0, .15);

}



.login-logo img {

    width: 65px;

}





.login-card h2 {


    margin-top: 25px;


    color: #075e5c;


    font-weight: 800;


}



.subtitle {


    color: #777;

    margin-bottom: 30px;

}





.input-box {


    height: 55px;


    border-radius: 16px;


    background: #f5f8f8;


    display: flex;


    align-items: center;


    gap: 12px;


    padding: 0 18px;


    margin-bottom: 18px;


    border: 1px solid transparent;


    transition: .3s;

}



.input-box:focus-within {


    border-color: #11A7A0;


    background: white;


}



.input-box i {


    color: #11A7A0;


}



.input-box input {


    border: 0;

    outline: 0;


    background: none;


    width: 100%;


    font-size: 15px;

}





.login-button {


    width: 100%;


    height: 55px;


    border: 0;


    border-radius: 18px;


    background:

        linear-gradient(135deg,
            #11A7A0,
            #087c78);


    color: white;


    font-size: 17px;


    font-weight: bold;


    cursor: pointer;


    transition: .3s;


    box-shadow:

        0 10px 25px rgba(17, 167, 160, .35);


}



.login-button:hover {


    transform: translateY(-3px);

}





.login-footer {


    margin-top: 25px;


    display: flex;


    justify-content: space-between;


}



.login-footer a,
.login-footer button {


    background: none;

    border: 0;


    color: #087c78;


    text-decoration: none;


    cursor: pointer;


    font-size: 14px;

}

/* ==========================
   MAIN CONTENT
========================== */

.main-content {
    min-height: 100vh;
    padding: 30px;
    transition: .3s;
    background:
        radial-gradient(circle at top right,
            rgba(17, 167, 160, .08),
            transparent 30%),
        #f7faf9;
}

[dir="rtl"] .main-content {
    margin-right: 0;
}

[dir="ltr"] .main-content {
    margin-left: 0;
}

@media (max-width: 992px) {
    .main-content {
        margin: 0 !important;
        padding: 20px;
    }
}

/* ======================
 MOBILE DASHBOARD
====================== */
.mobile-dashboard {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-dashboard-card {
    background: white;
    border-radius: 16px;
    padding: 18px;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.mobile-dashboard-card h1,
.mobile-dashboard-card h2 {
    margin: 0 0 8px;
    color: #0f172a;
    font-size: 1.2rem;
}

.mobile-dashboard-card p {
    margin: 0;
    color: #475569;
}

.mobile-dashboard-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-dashboard-actions a {
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #11A7A0, #0f766e);
    color: white;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 992px) {
    .mobile-dashboard {
        gap: 12px;
    }

    .mobile-dashboard-card {
        padding: 14px;
    }
}

/* ======================
 LANDING PREMIUM
====================== */


.landing-page {

    background: #f7faf9;

}



.premium-navbar {


    position: fixed;

    top: 20px;

    right: 5%;

    left: 5%;


    height: 75px;


    background:

        rgba(255, 255, 255, .9);


    backdrop-filter: blur(15px);


    border-radius: 25px;


    display: flex;

    align-items: center;

    justify-content: space-between;


    padding: 0 30px;


    box-shadow:

        0 15px 40px rgba(0, 0, 0, .12);


    z-index: 1000;


}



.brand {


    display: flex;

    align-items: center;

    gap: 12px;

    text-decoration: none;

    color: #075e5c;
    height: 100%;
    overflow: hidden;

}



.brand img {

    width: auto;
    height: calc(100% - 10px);
    max-height: 100%;
    max-width: none;
    display: block;
    object-fit: contain;
    flex-shrink: 0;

}



.brand strong {

    font-size: 22px;

}



.brand small {

    color: #11A7A0;

}



.nav-actions {

    display: flex;

    gap: 15px;

    align-items: center;

}



.nav-btn,
.login-nav {


    border: 0;

    padding: 12px 22px;

    border-radius: 18px;

    background: #11A7A0;

    color: white;

    text-decoration: none;

    cursor: pointer;

}



.nav-btn {

    background: #075e5c;

}



/* HERO */


.hero-wrapper {


    padding-top: 150px;

}



.hero-content {


    max-width: 1200px;

    margin: auto;


    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 50px;

    align-items: center;


}



.hero-title h1 {


    font-size: 55px;

    font-weight: 900;

    color: #063b3a;


}



.hero-title span {


    color: #11A7A0;


}



.hero-title p {


    font-size: 20px;

    line-height: 2;

    color: #64748b;


}



.hero-button {


    display: inline-flex;

    gap: 15px;

    background: #11A7A0;

    color: white;

    padding: 16px 35px;

    border-radius: 20px;

    text-decoration: none;


}




.hero-image {


    display: grid;

    gap: 20px;


}



.service-card {


    background: white;

    padding: 30px;

    border-radius: 30px;


    box-shadow:

        0 20px 50px rgba(0, 0, 0, .1);


}



.service-card i {


    font-size: 40px;

    color: #11A7A0;


}



/* BOOKING */


.booking-card {


    max-width: 1000px;

    margin: 80px auto;


    background: white;


    padding: 40px;


    border-radius: 35px;


    box-shadow:

        0 25px 60px rgba(0, 0, 0, .12);


}



.booking-grid {


    display: grid;


    grid-template-columns: repeat(2, 1fr);


    gap: 20px;


}



.modern-input {


    display: flex;

    flex-direction: column;

    gap: 8px;


}



.modern-input input,
.modern-input select {


    height: 55px;

    border-radius: 16px;

    border: 1px solid #ddd;

    padding: 0 20px;


}



.full {

    grid-column: 1/-1;

}



.submit-book {


    width: 100%;

    height: 60px;


    border: 0;


    background: #11A7A0;


    color: white;


    border-radius: 20px;


    font-size: 18px;


    margin-top: 30px;


}

.premium-home {

    background: #f8fbfa;

}



.hero-section {


    min-height: 100vh;


    position: relative;


    overflow: hidden;


    background:


        radial-gradient(circle at top right,
            rgba(17, 167, 160, .25),
            transparent 35%),


        linear-gradient(135deg,
            #022c2b,
            #075e5c,
            #11A7A0);


    display: flex;

    align-items: center;


}



.hero-section:before {


    content: "";

    position: absolute;


    width: 600px;

    height: 600px;


    border-radius: 50%;


    background:

        rgba(255, 255, 255, .05);


    top: -200px;

    left: -200px;


}




.hero-container {


    width: 90%;


    max-width: 1250px;


    margin: auto;


    display: grid;


    grid-template-columns:

        1fr 1fr;


    gap: 70px;


    align-items: center;


    position: relative;


    z-index: 2;


}



.hero-text {


    color: white;


}



.badge {


    display: inline-flex;


    gap: 10px;


    background:

        rgba(255, 255, 255, .15);


    padding: 12px 20px;


    border-radius: 30px;


    backdrop-filter: blur(10px);


    margin-bottom: 25px;


}




.hero-text h1 {


    font-size: 65px;


    line-height: 1.2;


    font-weight: 900;


    margin: 0;


}



.hero-text h1 span {


    color: #b9fff5;


}




.hero-text p {


    font-size: 21px;


    line-height: 2;


    color: #d8eeee;


    margin: 25px 0;


}





.hero-buttons {


    display: flex;


    gap: 15px;


}




.main-btn,
.second-btn {


    padding: 16px 35px;


    border-radius: 22px;


    display: flex;


    gap: 12px;


    align-items: center;


    text-decoration: none;


    font-weight: bold;


}



.main-btn {


    background: white;


    color: #087c78;


}



.second-btn {


    border: 1px solid white;


    color: white;


}





.numbers {


    display: flex;


    gap: 40px;


    margin-top: 50px;


}



.numbers div {


    display: flex;


    flex-direction: column;


}



.numbers strong {


    font-size: 32px;


}



.numbers span {


    opacity: .8;


}





/* RIGHT SIDE */


.hero-card {


    position: relative;


    height: 500px;


    display: flex;


    align-items: center;


    justify-content: center;


}





.main-image {


    width: 300px;
    z-index: -100;

    height: 300px;


    border-radius: 50%;


    background: white;


    display: flex;


    align-items: center;


    justify-content: center;


    box-shadow:


        0 30px 80px rgba(0, 0, 0, .3);


    position: relative;


}



.main-image img {


    width: 180px;


}



.circle {


    position: absolute;


    bottom: 20px;


    right: 20px;


    width: 70px;


    height: 70px;


    background: #11A7A0;


    color: white;


    border-radius: 50%;


    display: flex;


    align-items: center;


    justify-content: center;


    font-size: 30px;


}





.floating-card {


    position: absolute;


    background: white;


    padding: 20px;


    border-radius: 25px;


    display: flex;


    gap: 15px;


    align-items: center;


    box-shadow:


        0 20px 50px rgba(0, 0, 0, .25);


    color: #064;


}



.floating-card i {


    font-size: 35px;


    color: #11A7A0;


}



.floating-card h4 {


    margin: 0;


}



.floating-card p {


    margin: 5px 0 0;


    color: #777;


}



.card-one {


    top: 80px;


    right: 0;


}



.card-two {


    bottom: 80px;


    left: 0;


}



@media(max-width:900px) {


    .hero-container {


        grid-template-columns: 1fr;


        text-align: center;


    }



    .hero-text h1 {

        font-size: 42px;

    }


    .hero-buttons,
    .numbers {


        justify-content: center;


    }


}

/* =========================
   PREMIUM FOOTER
========================= */


.premium-footer {


    background:

        linear-gradient(135deg,
            #032f30,
            #075e5c);


    color: white;


    padding: 70px 5% 25px;


    border-top:

        4px solid #11A7A0;


    position: relative;


    overflow: hidden;


}



.premium-footer:before {


    content: "";


    position: absolute;


    width: 400px;

    height: 400px;


    background:

        rgba(17, 167, 160, .25);


    border-radius: 50%;


    top: -200px;

    left: -150px;


    filter: blur(60px);


}




.footer-container {


    max-width: 1200px;


    margin: auto;


    display: grid;


    grid-template-columns:

        2fr 1fr 1fr 1fr;


    gap: 40px;


    position: relative;


    z-index: 2;


}





.footer-logo {


    width: 90px;


    height: 90px;


    background: white;


    border-radius: 25px;


    display: flex;


    align-items: center;


    justify-content: center;


    margin-bottom: 20px;


    box-shadow:

        0 15px 40px rgba(0, 0, 0, .25);


}



.footer-logo img {


    width: 70px;


}



.footer-brand h3 {


    font-size: 26px;


    margin-bottom: 15px;


}



.footer-brand p {


    color: #cbd5e1;


    line-height: 2;


    font-size: 15px;


}





.footer-column h4 {


    color: #b9fff5;


    font-size: 20px;


    margin-bottom: 20px;


}




.footer-column ul {


    list-style: none;


    padding: 0;


    margin: 0;


}



.footer-column li {


    margin-bottom: 15px;


    color: #e2e8f0;


    display: flex;


    align-items: center;


    gap: 10px;


}



.footer-column i {


    color: #11A7A0;


    width: 20px;


}





.footer-column a {


    color: #cbd5e1;


    text-decoration: none;


    transition: .3s;


}



.footer-column a:hover {


    color: white;


}





.social-links {


    display: flex;


    gap: 12px;


    margin-top: 25px;


}



.social-links a {


    width: 40px;


    height: 40px;


    border-radius: 50%;


    background:

        rgba(255, 255, 255, .1);


    color: white;


    display: flex;


    align-items: center;


    justify-content: center;


    transition: .3s;


}



.social-links a:hover {


    background: #11A7A0;


    transform: translateY(-5px);


}





.footer-bottom {


    position: relative;


    z-index: 2;


    max-width: 1200px;


    margin: 40px auto 0;


    padding-top: 25px;


    border-top:

        1px solid rgba(255, 255, 255, .15);


    text-align: center;


    color: #cbd5e1;


    font-size: 14px;


}





@media(max-width:900px) {


    .footer-container {


        grid-template-columns: 1fr;


        text-align: center;


    }



    .footer-column li {


        justify-content: center;


    }



    .social-links {


        justify-content: center;


    }


}
/* =====================================
   MOBILE RESPONSIVE - HOME PAGE
===================================== */


@media (max-width: 992px) {


    /* Navbar */

    .premium-navbar {

        top:10px;

        right:15px;

        left:15px;

        height:auto;

        padding:12px 18px;

        border-radius:20px;

    }


    .brand img {

        width:45px;

    }


    .brand strong {

        font-size:18px;

    }


    .nav-actions .nav-btn {

        display:none;

    }


    .login-nav {

        padding:10px 15px;

        font-size:13px;

    }




    /* Hero */


    .hero-section {

        min-height:auto;

        padding:130px 0 70px;

    }


    .hero-container {

        width:90%;

        grid-template-columns:1fr;

        text-align:center;

        gap:40px;

    }


    .hero-text h1 {

        font-size:40px;

        line-height:1.4;

    }


    .hero-text p {

        font-size:17px;

        line-height:1.8;

    }


    .badge {

        font-size:13px;

    }



    .hero-buttons {

        flex-direction:column;

        align-items:center;

    }


    .main-btn,
    .second-btn {

        width:100%;

        justify-content:center;

        max-width:300px;

    }




    /* Numbers */


    .numbers {

        justify-content:center;

        gap:20px;

        flex-wrap:wrap;

        margin-top:35px;

    }


    .numbers strong {

        font-size:25px;

    }





    /* Hero Image */


    .hero-card {

        height:350px;

    }


    .main-image {

        width:220px;

        height:220px;

    }


    .main-image img {

        width:130px;

    }


    .floating-card {

        padding:12px;

        border-radius:18px;

        font-size:12px;

    }


    .floating-card i {

        font-size:25px;

    }


    .card-one {

        top:20px;

        right:0;

    }


    .card-two {

        bottom:20px;

        left:0;

    }




    /* Booking */


    .booking-card {

        margin:40px 15px;

        padding:25px 18px;

        border-radius:25px;

    }


    .booking-grid {

        grid-template-columns:1fr;

    }


    .full {

        grid-column:auto;

    }


    .booking-card h2 {

        font-size:22px;

    }



    .submit-book {

        height:55px;

    }




    /* Footer */


    .footer-container {

        grid-template-columns:1fr;

        text-align:center;

    }


    .footer-brand {

        display:flex;

        flex-direction:column;

        align-items:center;

    }


    .footer-column li {

        justify-content:center;

    }



}





/* Small Phones */

@media(max-width:480px){


    .hero-text h1 {

        font-size:32px;

    }


    .hero-text p {

        font-size:15px;

    }


    .brand div {

        display:none;

    }


    .login-nav {

        padding:9px 12px;

    }


    .hero-card {

        height:300px;

    }


    .floating-card {

        transform:scale(.85);

    }


    .card-one {

        right:-20px;

    }


    .card-two {

        left:-20px;

    }


}
.pagination {
    gap: 6px;
}

.pagination .page-link {
    min-width: 42px;
    height: 42px;
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #f3f4f6;
    color: #0f9b94;

    font-weight: 600;
    transition: all .25s ease;
}

.pagination .page-link:hover {
    background: #0f9b94;
    color: #fff;
    transform: translateY(-2px);
}

.pagination .page-item.active .page-link {
    background: #0f9b94;
    color: #fff;
    box-shadow: 0 6px 16px rgba(15, 155, 148, .35);
}

.pagination .page-item.disabled .page-link {
    background: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
    opacity: .7;
}

.pagination .page-link:focus {
    box-shadow: 0 0 0 .2rem rgba(15, 155, 148, .25);
}

/* Mobile sidebar final responsive overrides */
@media (max-width: 991.98px) {
    .mobile-topbar {
        display: flex !important;
        position: fixed;
        inset: 0 0 auto 0;
        height: 62px;
        padding: 9px 14px;
        z-index: 1400;
        color: #fff;
        background: linear-gradient(135deg, #053f40, #0b7772);
        box-shadow: 0 5px 20px rgba(3, 47, 48, .2);
        backdrop-filter: none;
    }

    .mobile-sidebar-toggle {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255, 255, 255, .14);
    }

    .mobile-topbar-title {
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: .2px;
    }

    .mobile-sidebar-overlay {
        z-index: 1450;
        background: rgba(2, 20, 20, .62);
        backdrop-filter: blur(2px);
    }

    .premium-sidebar {
        position: fixed !important;
        inset-block: 0 !important;
        width: min(84vw, 300px) !important;
        min-width: 0 !important;
        max-width: 300px !important;
        height: 100dvh !important;
        padding: 16px 14px !important;
        overflow: hidden !important;
        visibility: hidden;
        opacity: 0;
        z-index: 1500;
        border-radius: 0 !important;
        transition: transform .28s ease, opacity .2s ease, visibility .2s ease;
        box-shadow: 0 0 45px rgba(0, 0, 0, .32);
    }

    [dir="rtl"] .premium-sidebar {
        right: 0 !important;
        left: auto !important;
        transform: translateX(105%);
        border-radius: 22px 0 0 22px !important;
    }

    [dir="ltr"] .premium-sidebar {
        left: 0 !important;
        right: auto !important;
        transform: translateX(-105%);
        border-radius: 0 22px 22px 0 !important;
    }

    .premium-sidebar.open {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .sidebar-close-btn {
        display: inline-flex !important;
        position: absolute;
        top: 14px;
        width: 38px;
        height: 38px;
        margin: 0;
        z-index: 3;
        border-radius: 11px;
        background: rgba(255, 255, 255, .13);
    }

    [dir="rtl"] .sidebar-close-btn { right: auto; left: 14px; }
    [dir="ltr"] .sidebar-close-btn { left: auto; right: 14px; }

    .premium-sidebar .sidebar-header {
        min-height: 66px;
        margin: 0 0 14px !important;
        padding: 4px 46px 12px 4px;
        gap: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, .13);
        box-shadow: none;
    }

    [dir="rtl"] .premium-sidebar .sidebar-header { padding: 4px 4px 12px 46px; }

    .premium-sidebar .logo-wrapper,
    .premium-sidebar .sidebar-logo {
        width: 52px !important;
        min-width: 52px;
        height: 52px;
        object-fit: contain;
    }

    .premium-sidebar .sidebar-header > div:last-child > div { font-size: 1rem; font-weight: 800; }
    .premium-sidebar .sidebar-header > div:last-child > span { font-size: .72rem; opacity: .72; }

    .premium-sidebar .sidebar-menu {
        flex: 1;
        min-height: 0;
        margin: 0 !important;
        padding: 2px 0 10px;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .premium-sidebar .sidebar-menu a {
        min-height: 50px;
        margin: 0 0 7px !important;
        padding: 7px 9px !important;
        gap: 9px;
        border: 1px solid transparent;
        border-radius: 13px !important;
        background: transparent;
        box-shadow: none;
        font-size: .9rem !important;
    }

    .premium-sidebar .sidebar-menu a:not(.active) {
        background: rgba(255, 255, 255, .07);
        border-color: rgba(255, 255, 255, .07);
    }

    .premium-sidebar .sidebar-menu a:hover { transform: none; }
    .premium-sidebar .menu-icon { width: 36px; height: 36px; border-radius: 10px; }

    .premium-sidebar .sidebar-footer {
        flex: 0 0 auto;
        margin: 0 !important;
        padding-top: 11px !important;
        background: transparent;
    }

    .premium-sidebar .logout-btn {
        min-height: 46px;
        border-radius: 12px !important;
    }

    .main-content {
        width: 100% !important;
        min-width: 0;
        margin: 0 !important;
        padding: 78px 14px 20px !important;
        overflow-x: hidden;
    }
}

@media (max-width: 380px) {
    .premium-sidebar { width: calc(100vw - 36px) !important; }
    .main-content { padding-inline: 10px !important; }
}

/* Shared responsive admin tables */
@media (max-width: 767.98px) {
    .table-responsive:has(.mobile-stack-table) {
        overflow: visible;
    }

    .mobile-stack-table,
    .mobile-stack-table tbody {
        display: block;
        width: 100%;
        min-width: 0 !important;
        background: transparent;
    }

    .mobile-stack-table thead {
        display: none;
    }

    .mobile-stack-table tbody tr {
        display: block;
        width: 100%;
        margin-bottom: 13px;
        padding: 7px 13px;
        overflow: hidden;
        border: 1px solid #dfebe9;
        border-radius: 16px;
        background: #fff;
        box-shadow: 0 7px 20px rgba(20, 68, 64, .06);
    }

    .mobile-stack-table tbody td {
        display: grid;
        grid-template-columns: minmax(92px, 38%) minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        width: 100%;
        min-height: 44px;
        padding: 9px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid #edf2f1 !important;
        text-align: start !important;
        overflow-wrap: anywhere;
    }

    .mobile-stack-table tbody td:last-child {
        border-bottom: 0 !important;
    }

    .mobile-stack-table tbody td::before {
        content: attr(data-label);
        color: #718482;
        font-size: .75rem;
        font-weight: 800;
    }

    .mobile-stack-table tbody td[colspan] {
        display: block;
        min-height: 80px;
        padding: 28px 12px !important;
        text-align: center !important;
        border: 0 !important;
        color: #81918f;
    }

    .mobile-stack-table tbody td[colspan]::before {
        display: none;
    }

    .mobile-stack-table td.actions > div,
    .mobile-stack-table td:last-child > .d-flex,
    .mobile-stack-table td:last-child > form {
        justify-self: stretch;
        justify-content: flex-start !important;
    }

    .mobile-stack-table td:last-child .btn {
        min-width: 42px;
        min-height: 38px;
        border-radius: 10px !important;
    }

    .mobile-stack-table td:last-child .visit-actions {
        justify-content: flex-start;
    }

    .mobile-stack-table td:last-child .visit-action-btn {
        width: 40px;
        height: 38px;
        flex-basis: 40px;
    }

    .mobile-stack-table .status-pill,
    .mobile-stack-table .badge {
        justify-self: start;
    }
}

@media (max-width: 390px) {
    .mobile-stack-table tbody td {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 8px;
    }
}

/* Unified report-style action buttons */
.visit-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.visit-action-btn {
    display: inline-grid;
    place-items: center;
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    padding: 0;
    border: 1px solid;
    border-radius: 10px;
    background: #fff;
    line-height: 1;
    cursor: pointer;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.visit-action-btn i {
    display: block;
    color: currentColor !important;
    font-size: .86rem;
    line-height: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.visit-action-btn:hover { color: #fff; transform: translateY(-1px); }
.visit-action-btn:focus-visible { outline: 3px solid rgba(15, 152, 146, .2); outline-offset: 2px; }
.visit-action-btn.view { color: #087ea4; border-color: #a9d8e7; }
.visit-action-btn.view:hover { color: #fff; background: #087ea4; border-color: #087ea4; box-shadow: 0 5px 12px rgba(8, 126, 164, .2); }
.visit-action-btn.edit { color: #0f8b66; border-color: #abdcca; }
.visit-action-btn.edit:hover { color: #fff; background: #0f8b66; border-color: #0f8b66; box-shadow: 0 5px 12px rgba(15, 139, 102, .2); }
.visit-action-btn.delete { color: #c0392b; border-color: #edc0bb; }
.visit-action-btn.delete:hover { color: #fff; background: #c0392b; border-color: #c0392b; box-shadow: 0 5px 12px rgba(192, 57, 43, .2); }

/* Unified table identity and clear action icons */
.table-card:has(.mobile-stack-table) {
    padding: 0;
    border: 1px solid #e1ecea;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(20, 68, 64, .07);
}

.table-card:has(.mobile-stack-table) .table-responsive {
    margin: 0;
}

.mobile-stack-table {
    margin: 0;
}

.mobile-stack-table thead {
    color: #486460;
    background: #f7faf9;
}

.mobile-stack-table thead th {
    border-bottom: 1px solid #dfe9e7;
    font-size: .82rem;
    white-space: nowrap;
}

.mobile-stack-table tbody tr:hover {
    background: #f8fcfb;
}

.mobile-stack-table .btn i {
    display: inline-block !important;
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.mobile-stack-table .btn-outline-success:hover,
.mobile-stack-table .btn-outline-success:focus {
    color: #0f887f !important;
    border-color: #7bc8c1 !important;
    background: #e8f8f6 !important;
}

.mobile-stack-table .btn-outline-danger:hover,
.mobile-stack-table .btn-outline-danger:focus {
    color: #b42318 !important;
    border-color: #efaaa4 !important;
    background: #fff1f0 !important;
}

/* Desktop sidebar brand clarity */
@media (min-width: 992px) {
    .premium-sidebar .sidebar-header {
        gap: 13px;
        box-shadow: none;
    }

    .premium-sidebar .logo-wrapper {
        width: 78px;
        min-width: 78px;
        height: 68px;
        border-radius: 16px;
        padding: 5px;
        background: #fff;
        box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
    }

    .premium-sidebar .sidebar-logo {
        width: 100%;
        height: 100%;
        padding: 0;
        border-radius: 11px;
        object-fit: contain;
        background: #fff;
        transform: none;
    }

    .premium-sidebar .sidebar-logo:hover {
        transform: scale(1.02);
    }

    .premium-sidebar .sidebar-header > div:last-child > div {
        color: #fff;
        font-size: 1.05rem;
        font-weight: 800;
    }
}
