/*
 * BOOMLINK 2026 — SINGLE STYLESHEET BUILD
 * ---------------------------------------------------------
 * This is the ONLY local CSS file used by the public site.
 * It contains the previous global CSS cascade, all page-level
 * <style> blocks, and former static inline style declarations.
 *
 * Pannellum's third-party vendor stylesheet is centralized here
 * via @import so PHP pages still reference only this one CSS file.
 */
@import url("https://cdn.jsdelivr.net/npm/pannellum@2.5.6/build/pannellum.css");

/* =========================================================
   SOURCE: assets/css/style.css
   Consolidated into the single Boomlink stylesheet
   ========================================================= */
:root {
    --bg: #f4f7fb;
    --card: #ffffff;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e5e7eb;
    --blue: #1266f1;
    --blue-dark: #0b4fd1;
    --green: #10b981;
    --red: #ef4444;
    --orange: #f97316;
    --purple: #7c3aed;
    --pink: #ec4899;
    --dark: #111827;
    --shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    --radius: 24px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(18, 102, 241, 0.14), transparent 34%),
        radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.13), transparent 30%),
        var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

.app-shell {
    width: 100%;
    max-width: 540px;
    min-height: 100vh;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.45);
    position: relative;
    box-shadow: 0 0 60px rgba(15, 23, 42, 0.08);
}

.app-main {
    padding: 86px 18px 106px;
}

.topbar {
    position: fixed;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 540px;
    transform: translateX(-50%);
    z-index: 50;
    height: 72px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(244, 247, 251, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    background: linear-gradient(135deg, #1266f1, #7c3aed, #ec4899);
    box-shadow: 0 12px 28px rgba(18, 102, 241, 0.28);
}

.brand-text {
    font-weight: 900;
    letter-spacing: -0.04em;
    font-size: 20px;
}

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

.top-pill {
    height: 38px;
    border-radius: 999px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
    font-size: 13px;
}

.notification-btn {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.notification-btn span {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--red);
    color: #fff;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    font-size: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.small-login-btn {
    height: 38px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 540px;
    transform: translateX(-50%);
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    padding: 10px 12px 14px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(22px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -18px 45px rgba(15, 23, 42, 0.08);
}

.mobile-nav-item {
    min-height: 58px;
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: 0.18s ease;
}

.mobile-nav-item span {
    font-size: 21px;
}

.mobile-nav-item small {
    font-size: 11px;
    font-weight: 800;
}

.mobile-nav-item.active {
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.13), rgba(124, 58, 237, 0.10));
    color: var(--blue);
}

.flash {
    border-radius: 18px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
}

.flash-success {
    background: rgba(16, 185, 129, 0.12);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

.flash-error {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
    border: 1px solid rgba(239, 68, 68, 0.22);
}

.flash-info {
    background: rgba(18, 102, 241, 0.12);
    color: #1d4ed8;
    border: 1px solid rgba(18, 102, 241, 0.22);
}

.hero-card {
    border-radius: 32px;
    padding: 26px 22px;
    background:
        linear-gradient(135deg, rgba(18, 102, 241, 0.94), rgba(124, 58, 237, 0.92)),
        #1266f1;
    color: #fff;
    box-shadow: 0 24px 55px rgba(18, 102, 241, 0.28);
    position: relative;
    overflow: hidden;
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    right: -80px;
    top: -50px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 50%;
}

.hero-eyebrow {
    display: inline-flex;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 12px;
}

.hero-title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.05;
    letter-spacing: -0.05em;
    max-width: 350px;
}

.hero-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    font-size: 14px;
    max-width: 390px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.btn {
    height: 48px;
    border: 0;
    border-radius: 17px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
}

.btn-primary {
    color: var(--blue);
    background: #fff;
}

.btn-dark {
    color: #fff;
    background: var(--dark);
}

.btn-blue {
    color: #fff;
    background: var(--blue);
}

.btn-light {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.btn-full {
    width: 100%;
}

.section {
    margin-top: 24px;
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.section-title {
    margin: 0;
    font-size: 21px;
    letter-spacing: -0.04em;
}

.section-link {
    color: var(--blue);
    font-weight: 800;
    font-size: 13px;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.service-card {
    border-radius: 28px;
    padding: 18px;
    background: var(--card);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(226, 232, 240, 0.75);
    overflow: hidden;
    position: relative;
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.service-card h3 {
    margin: 0 0 4px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.service-arrow {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: var(--text);
    font-weight: 900;
}

.grad-orange .service-icon {
    background: rgba(249, 115, 22, 0.12);
}

.grad-blue .service-icon {
    background: rgba(18, 102, 241, 0.12);
}

.grad-purple .service-icon {
    background: rgba(124, 58, 237, 0.12);
}

.grad-dark .service-icon {
    background: rgba(17, 24, 39, 0.09);
}

.grad-pink .service-icon {
    background: rgba(236, 72, 153, 0.12);
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 16px;
}

.stat-card {
    border-radius: 22px;
    padding: 14px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.7);
}

.stat-card strong {
    display: block;
    font-size: 20px;
    letter-spacing: -0.04em;
}

.stat-card span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    margin-top: 4px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 22px;
    padding: 12px 14px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.75);
}

.search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 15px;
    background: transparent;
}

.promo-card {
    border-radius: 26px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(16, 185, 129, 0.13), rgba(18, 102, 241, 0.10)),
        #fff;
    border: 1px solid rgba(226, 232, 240, 0.75);
    box-shadow: var(--shadow);
}

.promo-card h3 {
    margin: 0 0 8px;
    font-size: 19px;
}

.promo-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 14px;
}

.form-card {
    margin-top: 16px;
    border-radius: 28px;
    padding: 20px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.75);
}

.form-title {
    margin: 0 0 6px;
    font-size: 26px;
    letter-spacing: -0.05em;
}

.form-subtitle {
    margin: 0 0 20px;
    color: var(--muted);
    line-height: 1.5;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.form-control {
    width: 100%;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0 15px;
    outline: none;
    background: #f8fafc;
}

.form-control:focus {
    border-color: rgba(18, 102, 241, 0.55);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(18, 102, 241, 0.08);
}

.form-footer-text {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-top: 16px;
}

.form-footer-text a {
    color: var(--blue);
    font-weight: 900;
}

.simple-card {
    border-radius: 26px;
    padding: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid rgba(226, 232, 240, 0.75);
}

.empty-state {
    text-align: center;
    padding: 36px 18px;
    color: var(--muted);
}

.empty-state strong {
    display: block;
    color: var(--text);
    font-size: 18px;
    margin-bottom: 6px;
}

.list {
    display: grid;
    gap: 12px;
}

.list-item {
    border-radius: 22px;
    padding: 15px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.list-item h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.list-item p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.module-hero {
    border-radius: 30px;
    padding: 24px;
    color: #fff;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.module-hero h1 {
    margin: 0 0 8px;
    font-size: 29px;
    letter-spacing: -0.05em;
}

.module-hero p {
    margin: 0;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

.module-food {
    background: linear-gradient(135deg, #f97316, #ef4444);
}

.module-med {
    background: linear-gradient(135deg, #1266f1, #06b6d4);
}

.module-edu {
    background: linear-gradient(135deg, #7c3aed, #3b82f6);
}

.module-auto {
    background: linear-gradient(135deg, #111827, #334155);
}

.module-beauty {
    background: linear-gradient(135deg, #ec4899, #f97316);
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
}

.action-card {
    background: #fff;
    border-radius: 24px;
    padding: 16px;
    min-height: 118px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.75);
}

.action-card span {
    font-size: 26px;
}

.action-card h3 {
    margin: 10px 0 5px;
    font-size: 15px;
}

.action-card p {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

@media (min-width: 541px) {
    body {
        padding: 18px 0;
    }

    .app-shell {
        border-radius: 36px;
        overflow: hidden;
        min-height: calc(100vh - 36px);
    }

    .topbar {
        top: 18px;
        border-top-left-radius: 36px;
        border-top-right-radius: 36px;
    }

    .mobile-nav {
        bottom: 18px;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 26px;
    }

    .service-card {
        grid-template-columns: 52px 1fr;
    }

    .service-arrow {
        display: none;
    }

    .quick-stats {
        grid-template-columns: 1fr;
    }
}
/* Professional SVG icon system */

.service-icon svg,
.nav-icon svg,
.nav-center-btn svg,
.notification-btn svg,
.top-pill svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: currentColor;
}

.service-icon {
    color: var(--blue);
}

.grad-orange .service-icon {
    color: #f97316;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(239, 68, 68, 0.10));
}

.grad-blue .service-icon {
    color: #1266f1;
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.14), rgba(6, 182, 212, 0.10));
}

.grad-purple .service-icon {
    color: #7c3aed;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(59, 130, 246, 0.10));
}

.grad-dark .service-icon {
    color: #111827;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.10), rgba(51, 65, 85, 0.08));
}

.grad-pink .service-icon {
    color: #ec4899;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.14), rgba(249, 115, 22, 0.10));
}

.service-icon svg {
    width: 28px;
    height: 28px;
}

/* Hide old menu if browser cached old class */
.mobile-nav {
    display: none;
}

/* New native-app bottom navigation */

.mobile-nav-app {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: 100%;
    max-width: 540px;
    transform: translateX(-50%);
    z-index: 100;
    height: 82px;
    padding: 10px 16px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr 74px 1fr 1fr;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 -20px 55px rgba(15, 23, 42, 0.13);
}

.nav-app-item {
    height: 58px;
    border-radius: 20px;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.18s ease;
    position: relative;
}

.nav-app-item .nav-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-app-item small {
    font-size: 10.5px;
    font-weight: 850;
    letter-spacing: -0.02em;
}

.nav-app-item.active {
    color: var(--blue);
    background: rgba(18, 102, 241, 0.08);
}

.nav-app-item.active::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: var(--blue);
}

.nav-center-btn {
    width: 68px;
    height: 68px;
    border-radius: 26px;
    margin: -34px auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background:
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.35), transparent 28%),
        linear-gradient(135deg, #1266f1, #7c3aed, #ec4899);
    box-shadow:
        0 18px 35px rgba(18, 102, 241, 0.32),
        0 8px 18px rgba(236, 72, 153, 0.22);
    border: 5px solid rgba(255, 255, 255, 0.95);
    transition: 0.18s ease;
}

.nav-center-btn svg {
    width: 29px;
    height: 29px;
}

.nav-center-btn.active {
    transform: translateY(-3px);
    box-shadow:
        0 22px 45px rgba(18, 102, 241, 0.38),
        0 10px 22px rgba(236, 72, 153, 0.27);
}

.nav-center-btn:active,
.nav-app-item:active,
.service-card:active {
    transform: scale(0.96);
}

/* Better top icons */

.notification-btn {
    color: var(--text);
    font-size: 0;
}

.notification-btn::before {
    content: "";
    width: 21px;
    height: 21px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 10.5c0-3.3-2-5.8-5-6.4V3a1 1 0 0 0-2 0v1.1c-3 .6-5 3.1-5 6.4V15l-2 3v1h16v-1l-2-3v-4.5ZM9.5 20a2.5 2.5 0 0 0 5 0h-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.top-pill {
    color: #f59e0b;
}

.top-pill span {
    font-size: 0;
}

.top-pill span::before {
    content: "";
    width: 18px;
    height: 18px;
    display: block;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 2 2.9 6.3 6.8.8-5 4.7 1.3 6.7-6-3.4-6 3.4 1.3-6.7-5-4.7 6.8-.8L12 2Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media (min-width: 541px) {
    .mobile-nav-app {
        bottom: 18px;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
    }
}

@media (max-width: 380px) {
    .mobile-nav-app {
        grid-template-columns: 1fr 1fr 64px 1fr 1fr;
        padding-left: 10px;
        padding-right: 10px;
    }

    .nav-center-btn {
        width: 62px;
        height: 62px;
        border-radius: 24px;
    }

    .nav-app-item small {
        font-size: 10px;
    }
}
/* Hide old bottom navs */
.mobile-nav,
.mobile-nav-app {
    display: none !important;
}

/* Professional multi-button app bottom menu */
.mobile-nav-wide {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 100;
    width: 100%;
    max-width: 540px;
    height: 88px;
    padding: 10px 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 -20px 55px rgba(15, 23, 42, 0.12);
    scrollbar-width: none;
}

.mobile-nav-wide::-webkit-scrollbar {
    display: none;
}

.wide-nav-item {
    min-width: 68px;
    height: 62px;
    border-radius: 22px;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.18s ease;
    position: relative;
    flex: 0 0 auto;
}

.wide-nav-item span {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wide-nav-item svg {
    width: 23px;
    height: 23px;
    display: block;
    fill: currentColor;
}

.wide-nav-item small {
    font-size: 10.5px;
    font-weight: 850;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.wide-nav-item.active {
    color: #1266f1;
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.13), rgba(124, 58, 237, 0.09));
}

.wide-nav-item.active::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #1266f1;
}

.wide-nav-item:active {
    transform: scale(0.94);
}

/* Language switcher */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.06);
}

.lang-switcher a {
    min-width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 900;
    color: #64748b;
}

.lang-switcher a.active {
    background: #1266f1;
    color: #fff;
}

@media (min-width: 541px) {
    .mobile-nav-wide {
        bottom: 18px;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
    }
}
/* Hide old bottom navs */
.mobile-nav,
.mobile-nav-app,
.mobile-nav-wide {
    display: none !important;
}

/* 4-button clean app menu */
.mobile-nav-four {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 100;
    width: 100%;
    max-width: 540px;
    height: 84px;
    padding: 10px 14px 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    border-top: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 -20px 55px rgba(15, 23, 42, 0.12);
}

.nav-four-item {
    height: 58px;
    border-radius: 22px;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: 0.18s ease;
    position: relative;
}

.nav-four-item span {
    width: 23px;
    height: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-four-item svg {
    width: 23px;
    height: 23px;
    display: block;
    fill: currentColor;
}

.nav-four-item small {
    font-size: 10.5px;
    font-weight: 850;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-four-item.active {
    color: #1266f1;
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.13), rgba(124, 58, 237, 0.09));
}

.nav-four-item.active::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #1266f1;
}

.nav-four-item:active {
    transform: scale(0.94);
}

/* New homepage sections */
.section-subtitle {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.premium-info-card {
    border-radius: 28px;
    padding: 18px;
    background:
        linear-gradient(135deg, rgba(18, 102, 241, 0.10), rgba(236, 72, 153, 0.08)),
        #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 14px;
    align-items: center;
}

.premium-info-icon {
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1266f1, #7c3aed);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.premium-info-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.premium-info-card h3 {
    margin: 0 0 6px;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.premium-info-card p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.feature-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.feature-row {
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    padding: 14px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
}

.feature-row > span {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: #f1f5f9;
    color: #1266f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-row svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.feature-row h3 {
    margin: 0 0 4px;
    font-size: 15px;
}

.feature-row p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.action-card svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.search-icon svg,
.service-arrow svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

@media (min-width: 541px) {
    .mobile-nav-four {
        bottom: 18px;
        border-bottom-left-radius: 36px;
        border-bottom-right-radius: 36px;
    }
}
.verify-choice {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 0 0 16px;
}

.verify-option {
    height: 52px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.18s ease;
    font-weight: 900;
    color: #64748b;
}

.verify-option input {
    display: none;
}

.verify-option.active {
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.13), rgba(124, 58, 237, 0.09));
    border-color: rgba(18, 102, 241, 0.35);
    color: #1266f1;
}
/* Fix duplicate topbar icons */
.top-pill span::before,
.notification-btn::before {
    display: none !important;
    content: none !important;
}

.top-pill span {
    font-size: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-pill span svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.notification-btn {
    font-size: 0 !important;
}

.notification-btn > svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    display: block;
}

.notification-btn span {
    font-size: 10px !important;
}
.module-page .module-hero {
    margin-bottom: 18px;
}

.module-page .action-card {
    color: var(--text);
}

.module-page .action-card span {
    width: 44px;
    height: 44px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    color: #1266f1;
}

.module-page .action-card span svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.food-page .action-card span {
    color: #f97316;
    background: rgba(249, 115, 22, 0.11);
}

.med-page .action-card span {
    color: #1266f1;
    background: rgba(18, 102, 241, 0.11);
}

.edu-page .action-card span {
    color: #7c3aed;
    background: rgba(124, 58, 237, 0.11);
}

.auto-page .action-card span {
    color: #111827;
    background: rgba(17, 24, 39, 0.09);
}

.beauty-page .action-card span {
    color: #ec4899;
    background: rgba(236, 72, 153, 0.11);
}
.form-textarea {
    min-height: 110px;
    padding-top: 14px;
    resize: vertical;
}

.checkbox-grid {
    display: grid;
    gap: 10px;
}

.checkbox-grid label {
    min-height: 46px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #334155;
}

.checkbox-grid input {
    width: 18px;
    height: 18px;
}

.restaurant-grid {
    display: grid;
    gap: 14px;
}

.restaurant-card {
    border-radius: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow);
    display: block;
}

.restaurant-cover {
    height: 145px;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.22), transparent 38%),
        linear-gradient(135deg, rgba(249, 115, 22, 0.11), rgba(239, 68, 68, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-cover-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.75);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-cover-placeholder svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
}

.restaurant-body {
    padding: 16px;
}

.restaurant-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.restaurant-title-row h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.restaurant-title-row span {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: #f1f5f9;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-title-row svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.restaurant-body p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.restaurant-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.restaurant-meta span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
}

.restaurant-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.restaurant-tags span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.11);
    color: #ea580c;
    font-size: 11px;
    font-weight: 900;
}
.admin-filter-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.admin-filter-tabs::-webkit-scrollbar {
    display: none;
}

.admin-filter-tabs a {
    flex: 0 0 auto;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: #64748b;
    border: 1px solid rgba(226, 232, 240, 0.9);
    font-size: 12px;
    font-weight: 900;
}

.admin-filter-tabs a.active {
    background: #1266f1;
    color: #fff;
    border-color: #1266f1;
}

.admin-list {
    display: grid;
    gap: 14px;
}

.admin-restaurant-card {
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

.admin-restaurant-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.admin-restaurant-head h3 {
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.admin-restaurant-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.status-badge {
    flex: 0 0 auto;
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    background: #f1f5f9;
    color: #64748b;
}

.status-active {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.status-pending {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.status-rejected,
.status-blocked {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

.admin-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.admin-meta-grid div {
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

.admin-meta-grid span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

.admin-meta-grid strong {
    display: block;
    color: var(--text);
    font-size: 13px;
}

.admin-meta-grid small {
    display: block;
    color: var(--muted);
    margin-top: 4px;
    font-size: 11px;
    word-break: break-word;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.admin-actions form {
    display: inline-flex;
}

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

.restaurant-detail-hero {
    margin-bottom: 18px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 900;
    color: #1266f1;
}

.restaurant-detail-cover {
    height: 190px;
    border-radius: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), transparent 42%),
        linear-gradient(135deg, rgba(249, 115, 22, 0.13), rgba(239, 68, 68, 0.09));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.restaurant-detail-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.restaurant-detail-placeholder {
    width: 82px;
    height: 82px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.78);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

.restaurant-detail-placeholder svg {
    width: 42px;
    height: 42px;
    fill: currentColor;
}

.restaurant-detail-info {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
}

.restaurant-detail-info h1 {
    margin: 0;
    font-size: 28px;
    letter-spacing: -0.05em;
}

.restaurant-detail-info p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.45;
}

.restaurant-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.restaurant-info-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

.restaurant-info-list div {
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

.restaurant-info-list span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

.restaurant-info-list strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.45;
}

.big-tags span {
    min-height: 34px;
    padding: 0 14px;
    font-size: 12px;
}

.menu-list {
    display: grid;
    gap: 12px;
}

.menu-item-card {
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    padding: 12px;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    align-items: center;
}

.menu-item-image {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    background: rgba(249, 115, 22, 0.11);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-image svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.menu-item-info h3 {
    margin: 0;
    font-size: 15px;
}

.menu-item-info p {
    margin: 5px 0 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
}

.menu-item-info strong {
    color: #f97316;
    font-size: 14px;
}

@media (max-width: 420px) {
    .admin-meta-grid {
        grid-template-columns: 1fr;
    }

    .restaurant-detail-info {
        display: block;
    }

    .restaurant-detail-info .status-badge {
        margin-top: 10px;
    }
}
.file-control {
    padding: 13px 15px;
    height: auto;
}

.menu-manage-list {
    display: grid;
    gap: 12px;
}

.menu-manage-card {
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    padding: 12px;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
}

.menu-manage-info {
    min-width: 0;
}

.menu-manage-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.menu-manage-head h3 {
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.02em;
}

.menu-manage-head p {
    margin: 4px 0 0;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.menu-manage-head strong {
    flex: 0 0 auto;
    color: #f97316;
    font-size: 14px;
}

.menu-manage-desc {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.delete-inline-form {
    margin-top: 10px;
}

.delete-link {
    border: 0;
    background: rgba(239, 68, 68, 0.11);
    color: #dc2626;
    height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 380px) {
    .menu-manage-card {
        grid-template-columns: 72px 1fr;
    }

    .menu-manage-head {
        display: block;
    }

    .menu-manage-head strong {
        display: inline-flex;
        margin-top: 6px;
    }
}
.order-menu-list {
    display: grid;
    gap: 12px;
}

.order-menu-card {
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    padding: 12px;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    transition: 0.18s ease;
}

.order-menu-card.selected {
    border-color: rgba(249, 115, 22, 0.45);
    background:
        linear-gradient(135deg, rgba(249, 115, 22, 0.05), rgba(239, 68, 68, 0.03)),
        #fff;
}

.order-menu-info h3 {
    margin: 0;
    font-size: 15px;
}

.order-menu-info p {
    margin: 5px 0 8px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.35;
}

.order-menu-bottom {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.order-menu-bottom strong {
    color: #f97316;
    font-size: 14px;
}

.order-menu-bottom small {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
}

.qty-control {
    display: inline-grid;
    grid-template-columns: 36px 50px 36px;
    gap: 6px;
    align-items: center;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 14px;
    border: 0;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 18px;
    font-weight: 900;
    cursor: pointer;
}

.qty-input {
    width: 50px;
    height: 36px;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    text-align: center;
    font-weight: 900;
    outline: 0;
}

.order-sticky-bar {
    position: sticky;
    bottom: 92px;
    z-index: 40;
    margin-top: 18px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.94);
    color: #fff;
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(18px);
}

.order-sticky-bar span {
    display: block;
    color: rgba(255,255,255,0.65);
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 3px;
}

.order-sticky-bar strong {
    display: block;
    font-size: 18px;
    letter-spacing: -0.03em;
}

.order-list {
    display: grid;
    gap: 14px;
}

.order-card {
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

.order-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.order-card-head h3 {
    margin: 0;
    font-size: 17px;
    letter-spacing: -0.03em;
}

.order-card-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.order-info-grid div {
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

.order-info-grid span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

.order-info-grid strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

.order-items-box {
    border-radius: 20px;
    background: rgba(249, 115, 22, 0.06);
    padding: 13px;
    margin-top: 12px;
}

.order-items-box > strong {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
}

.order-items-box p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.order-status-form {
    margin-top: 14px;
}

.order-status-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-accepted {
    background: rgba(18, 102, 241, 0.12);
    color: #1266f1;
}

.status-preparing {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.status-ready {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}

.status-completed {
    background: rgba(15, 23, 42, 0.08);
    color: #334155;
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

@media (max-width: 420px) {
    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .order-card-head {
        display: block;
    }

    .order-card-head .status-badge {
        margin-top: 10px;
    }

    .order-menu-card {
        grid-template-columns: 76px 1fr;
    }

    .order-sticky-bar {
        bottom: 88px;
    }
}
.profile-switch-list {
    display: grid;
    gap: 12px;
}

.profile-switch-card {
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    padding: 14px;
    display: grid;
    grid-template-columns: 52px 1fr 34px;
    gap: 12px;
    align-items: center;
}

.profile-switch-icon {
    width: 52px;
    height: 52px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.13), rgba(124, 58, 237, 0.09));
    color: #1266f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-switch-icon svg {
    width: 25px;
    height: 25px;
    fill: currentColor;
}

.profile-switch-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    letter-spacing: -0.03em;
}

.profile-switch-card p {
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.profile-switch-arrow {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: #f8fafc;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-switch-arrow svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.dashboard-page .action-card span svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}
.image-preview-card {
    margin-bottom: 12px;
    border-radius: 20px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 12px;
}

.preview-label {
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

.image-preview {
    display: block;
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.cover-preview {
    width: 100%;
    max-width: 320px;
    height: 140px;
    border-radius: 22px;
}
.booking-list {
    display: grid;
    gap: 14px;
}

.booking-card {
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

.booking-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.booking-card-head h3 {
    margin: 0;
    font-size: 17px;
    letter-spacing: -0.03em;
}

.booking-card-head p {
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.booking-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.booking-info-grid div {
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

.booking-info-grid span {
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

.booking-info-grid strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

.booking-note {
    border-radius: 20px;
    background: rgba(249, 115, 22, 0.06);
    padding: 13px;
    margin-top: 12px;
}

.booking-note strong {
    display: block;
    font-size: 13px;
    margin-bottom: 6px;
}

.booking-note p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.4;
}

.booking-status-form {
    margin-top: 14px;
}

.booking-status-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.status-confirmed {
    background: rgba(18, 102, 241, 0.12);
    color: #1266f1;
}

@media (max-width: 420px) {
    .booking-info-grid {
        grid-template-columns: 1fr;
    }

    .booking-card-head {
        display: block;
    }

    .booking-card-head .status-badge {
        margin-top: 10px;
    }
}
.table-map-builder,
.table-map-booking {
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow);
    padding: 12px;
}

.table-map-scroll {
    width: 100%;
    overflow-x: auto;
    border-radius: 24px;
    background: #0f172a;
    scrollbar-width: thin;
}

.table-map-canvas {
    position: relative;
    min-width: 720px;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.table-map-canvas img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
}

.table-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    min-width: 46px;
    height: 38px;
    border-radius: 999px;
    border: 3px solid #fff;
    background: #1266f1;
    color: #fff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    z-index: 5;
}

.table-marker::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: inherit;
    rotate: 45deg;
    border-right: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.table-marker.inactive {
    background: #64748b;
    opacity: .75;
}

.table-marker.temp {
    background: #f97316;
}

.table-select-marker {
    border: 0;
}

.table-select-marker.selected {
    background: #16a34a;
    scale: 1.08;
}

.map-hint {
    margin: 10px 4px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.selected-table-box {
    margin-top: 12px;
    border-radius: 20px;
    background: rgba(18, 102, 241, 0.08);
    padding: 14px;
    color: #0f172a;
}

.selected-table-box strong {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 5px;
}

.selected-table-box span {
    font-size: 15px;
    font-weight: 950;
}

@media (max-width: 520px) {
    .table-map-canvas {
        min-width: 620px;
    }

    .table-map-canvas img {
        min-height: 260px;
    }
}
/* =========================================================
   Boomlink 2026 mobile app polish — final override layer
   ========================================================= */
:root {
    --bg: #eef4ff;
    --card: rgba(255, 255, 255, 0.86);
    --text: #08111f;
    --muted: #66758a;
    --line: rgba(148, 163, 184, 0.22);
    --blue: #0b6bff;
    --blue-dark: #074bd8;
    --green: #13c998;
    --red: #ff4d61;
    --orange: #ff8a1f;
    --purple: #7c4dff;
    --pink: #ff4fb7;
    --dark: #0b1220;
    --shadow: 0 24px 70px rgba(8, 17, 31, 0.11);
    --soft-shadow: 0 12px 35px rgba(8, 17, 31, 0.07);
    --radius: 28px;
}

html {
    background: #dce9ff;
}

body {
    background:
        radial-gradient(circle at 12% 0%, rgba(11, 107, 255, 0.25), transparent 33%),
        radial-gradient(circle at 95% 12%, rgba(255, 79, 183, 0.18), transparent 28%),
        radial-gradient(circle at 12% 92%, rgba(19, 201, 152, 0.16), transparent 25%),
        linear-gradient(180deg, #f7fbff 0%, #edf4ff 45%, #f8fbff 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.app-shell {
    max-width: 560px;
    background:
        linear-gradient(180deg, rgba(255,255,255,.64), rgba(255,255,255,.42)),
        rgba(255, 255, 255, 0.54);
    backdrop-filter: blur(26px);
}

.app-main {
    padding: 92px 18px 112px;
}

.topbar {
    max-width: 560px;
    height: 76px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: 0 18px 40px rgba(8, 17, 31, 0.055);
    backdrop-filter: blur(26px) saturate(1.18);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 28% 20%, rgba(255,255,255,.42), transparent 29%),
        linear-gradient(135deg, #0b6bff, #7c4dff 52%, #ff4fb7);
    box-shadow: 0 16px 32px rgba(11, 107, 255, 0.26);
    letter-spacing: -0.05em;
}

.brand-text {
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -0.055em;
}

.lang-switcher,
.notification-btn,
.top-pill,
.small-login-btn {
    box-shadow: var(--soft-shadow) !important;
    border: 1px solid rgba(255,255,255,.75);
}

.lang-switcher {
    background: rgba(255,255,255,.78);
}

.lang-switcher a.active {
    background: linear-gradient(135deg, #0b6bff, #7c4dff);
}

.small-login-btn {
    background: linear-gradient(135deg, #08111f, #233044);
    border-radius: 17px;
}

.notification-btn,
.top-pill {
    background: rgba(255,255,255,.78) !important;
    border-radius: 17px !important;
}

.hero-card,
.module-hero {
    border-radius: 34px;
    padding: 28px 23px;
    background:
        radial-gradient(circle at 88% 8%, rgba(255,255,255,.24), transparent 24%),
        radial-gradient(circle at 20% 95%, rgba(255,255,255,.18), transparent 28%),
        linear-gradient(135deg, #0b6bff 0%, #7c4dff 56%, #ff4fb7 112%);
    box-shadow: 0 28px 72px rgba(11, 107, 255, 0.27);
}

.module-food { background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.22), transparent 25%), linear-gradient(135deg, #ff8a1f, #ff4d61); }
.module-med { background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.22), transparent 25%), linear-gradient(135deg, #0b6bff, #00b8d9); }
.module-edu { background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.22), transparent 25%), linear-gradient(135deg, #7c4dff, #0b6bff); }
.module-auto { background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 25%), linear-gradient(135deg, #07111f, #334155); }
.module-beauty { background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.22), transparent 25%), linear-gradient(135deg, #ff4fb7, #ff8a1f); }

.hero-eyebrow {
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(14px);
    font-size: 11px;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.hero-title,
.module-hero h1 {
    font-size: clamp(28px, 8.6vw, 38px);
    line-height: .98;
    font-weight: 950;
    letter-spacing: -0.07em;
}

.hero-text,
.module-hero p {
    font-size: 14.5px;
    line-height: 1.62;
    color: rgba(255,255,255,.86);
}

.btn {
    min-height: 50px;
    height: auto;
    border-radius: 18px;
    font-weight: 920;
    box-shadow: 0 13px 28px rgba(8, 17, 31, 0.08);
}

.btn-blue {
    background: linear-gradient(135deg, #0b6bff, #7c4dff);
}

.btn-dark {
    background: linear-gradient(135deg, #08111f, #243044);
}

.btn-danger {
    background: linear-gradient(135deg, #ff4d61, #ef4444);
}

.section {
    margin-top: 26px;
}

.section-title,
.form-title {
    font-weight: 950;
    letter-spacing: -0.055em;
}

.service-card,
.action-card,
.stat-card,
.search-box,
.promo-card,
.form-card,
.simple-card,
.list-item,
.restaurant-card,
.admin-restaurant-card,
.premium-info-card,
.feature-row {
    background: rgba(255,255,255,.82) !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    box-shadow: var(--soft-shadow) !important;
    backdrop-filter: blur(20px) saturate(1.08);
}

.service-card {
    border-radius: 30px;
    grid-template-columns: 60px 1fr auto;
}

.service-icon,
.action-card span,
.feature-row > span,
.premium-info-icon {
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65), 0 12px 25px rgba(8,17,31,.055);
}

.search-box {
    min-height: 56px;
    border-radius: 24px;
}

.form-control,
select.form-control,
textarea.form-control {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(248,250,252,.86);
    border-radius: 19px;
}

.form-control:focus {
    border-color: rgba(11,107,255,.52);
    box-shadow: 0 0 0 5px rgba(11,107,255,.09);
}

.mobile-nav-four {
    max-width: 560px;
    height: 88px;
    padding: 10px 14px max(16px, env(safe-area-inset-bottom));
    background: rgba(255,255,255,.78);
    border-top: 1px solid rgba(255,255,255,.74);
    backdrop-filter: blur(28px) saturate(1.25);
    box-shadow: 0 -22px 60px rgba(8,17,31,.13);
}

.nav-four-item {
    border-radius: 23px;
    color: #8292a8;
}

.nav-four-item.active {
    color: #0b6bff;
    background: linear-gradient(135deg, rgba(11,107,255,.13), rgba(124,77,255,.10));
}

.nav-four-item.active::before {
    background: #0b6bff;
}

.reveal-card {
    animation: boomReveal .46s ease both;
    animation-delay: var(--reveal-delay, 0ms);
}

@keyframes boomReveal {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (hover: hover) {
    .service-card:hover,
    .action-card:hover,
    .restaurant-card:hover,
    .list-item:hover {
        transform: translateY(-3px);
        box-shadow: 0 22px 48px rgba(8,17,31,.11) !important;
    }
}

@media (min-width: 541px) {
    body { padding: 22px 0; }
    .app-shell {
        border-radius: 42px;
        overflow: hidden;
        min-height: calc(100vh - 44px);
        border: 1px solid rgba(255,255,255,.72);
    }
    .topbar {
        top: 22px;
        border-top-left-radius: 42px;
        border-top-right-radius: 42px;
    }
    .mobile-nav-four {
        bottom: 22px;
        border-bottom-left-radius: 42px;
        border-bottom-right-radius: 42px;
    }
}

@media (max-width: 430px) {
    .app-main { padding-left: 15px; padding-right: 15px; }
    .brand-text { display: none; }
    .service-card { grid-template-columns: 56px 1fr auto; padding: 16px; }
    .topbar { padding-left: 14px; padding-right: 14px; }
}


/* BOOMLINK FINAL 2026 MOBILE APP POLISH */
:root {
    --app-bg-1: #eef6ff;
    --app-bg-2: #fff7fb;
    --glass: rgba(255,255,255,.74);
    --glass-strong: rgba(255,255,255,.92);
    --ink: #08111f;
    --soft-shadow: 0 22px 60px rgba(8,17,31,.10);
    --deep-shadow: 0 26px 80px rgba(18,102,241,.18);
}

html, body {
    min-height: 100%;
    -webkit-tap-highlight-color: transparent;
}

body {
    background:
        radial-gradient(circle at 14% 0%, rgba(18,102,241,.18), transparent 32%),
        radial-gradient(circle at 88% 14%, rgba(236,72,153,.14), transparent 31%),
        linear-gradient(180deg, var(--app-bg-1), var(--app-bg-2) 58%, #f8fafc);
    color: var(--ink);
}

.app-shell {
    max-width: 560px;
    background: rgba(255,255,255,.56);
    backdrop-filter: blur(14px);
}

.app-main {
    padding: calc(86px + env(safe-area-inset-top)) 18px calc(128px + env(safe-area-inset-bottom));
}

.topbar {
    height: 76px;
    max-width: 560px;
    padding: calc(12px + env(safe-area-inset-top)) 18px 12px;
    background: rgba(255,255,255,.78);
    backdrop-filter: blur(26px) saturate(140%);
    border-bottom: 1px solid rgba(255,255,255,.75);
    box-shadow: 0 18px 44px rgba(15,23,42,.07);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 17px;
    background:
        radial-gradient(circle at 28% 18%, rgba(255,255,255,.65), transparent 30%),
        linear-gradient(145deg, #1162f0, #7c3aed 52%, #ec4899);
    box-shadow: 0 16px 34px rgba(18,102,241,.28), inset 0 1px 0 rgba(255,255,255,.5);
}

.brand-text {
    font-size: 21px;
    letter-spacing: -.055em;
}

.lang-switcher,
.top-pill,
.notification-btn,
.small-login-btn {
    border: 1px solid rgba(255,255,255,.78) !important;
    box-shadow: 0 14px 36px rgba(15,23,42,.08) !important;
    backdrop-filter: blur(18px);
}

.hero-card,
.module-hero {
    border-radius: 34px;
    background:
        radial-gradient(circle at 17% 12%, rgba(255,255,255,.28), transparent 24%),
        radial-gradient(circle at 87% 8%, rgba(255,255,255,.18), transparent 26%),
        linear-gradient(135deg, #1162f0 0%, #6d28d9 54%, #ec4899 112%);
    box-shadow: var(--deep-shadow);
    border: 1px solid rgba(255,255,255,.35);
}

.module-food { background: radial-gradient(circle at 16% 14%, rgba(255,255,255,.28), transparent 24%), linear-gradient(135deg, #ff7a18, #ef4444); }
.module-med { background: radial-gradient(circle at 16% 14%, rgba(255,255,255,.28), transparent 24%), linear-gradient(135deg, #1266f1, #06b6d4); }
.module-edu { background: radial-gradient(circle at 16% 14%, rgba(255,255,255,.28), transparent 24%), linear-gradient(135deg, #7c3aed, #2563eb); }
.module-auto { background: radial-gradient(circle at 16% 14%, rgba(255,255,255,.20), transparent 24%), linear-gradient(135deg, #020617, #334155); }
.module-beauty { background: radial-gradient(circle at 16% 14%, rgba(255,255,255,.28), transparent 24%), linear-gradient(135deg, #ec4899, #f97316); }

.service-card,
.action-card,
.simple-card,
.form-card,
.list-item,
.restaurant-card,
.promo-card,
.premium-info-card,
.feature-row,
.admin-module-card,
.admin-stat-card,
.admin-restaurant-card,
.menu-item-card,
.menu-manage-card {
    border-radius: 28px;
    background: var(--glass-strong);
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(16px);
}

.service-card,
.action-card,
.restaurant-card,
.list-item,
.simple-card,
.menu-item-card {
    transform: translateZ(0);
}

@media (hover:hover) {
    .service-card:hover,
    .action-card:hover,
    .restaurant-card:hover,
    .list-item:hover,
    .admin-module-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 28px 74px rgba(15,23,42,.13);
    }
}

.btn {
    border-radius: 18px;
    box-shadow: 0 13px 26px rgba(15,23,42,.08);
}

.btn-blue,
.btn-dark {
    background: linear-gradient(135deg, #1266f1, #7c3aed);
}

.form-control,
.search-box {
    background: rgba(255,255,255,.82);
    border-color: rgba(226,232,240,.92);
}

/* hide previous experimental menus and force the final dock */
.mobile-nav,
.mobile-nav-app,
.mobile-nav-wide {
    display: none !important;
}

.mobile-nav-four.boom-2026-dock {
    position: fixed !important;
    left: 50% !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    transform: translateX(-50%) !important;
    z-index: 9999 !important;
    width: calc(100% - 22px) !important;
    max-width: 536px !important;
    min-height: 76px !important;
    height: auto !important;
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 76px 1fr 1fr !important;
    gap: 7px !important;
    align-items: center !important;
    border-radius: 30px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82)) !important;
    border: 1px solid rgba(255,255,255,.86) !important;
    box-shadow:
        0 24px 70px rgba(15,23,42,.18),
        inset 0 1px 0 rgba(255,255,255,.86) !important;
    backdrop-filter: blur(28px) saturate(155%) !important;
}

.boom-2026-dock .nav-four-item {
    height: 58px;
    min-width: 0;
    border-radius: 22px;
    color: #94a3b8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    position: relative;
    transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.boom-2026-dock .nav-four-item span {
    width: 24px;
    height: 24px;
}

.boom-2026-dock .nav-four-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.boom-2026-dock .nav-four-item small {
    font-size: 10px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.025em;
}

.boom-2026-dock .nav-four-item.active:not(.nav-four-center) {
    color: #1266f1;
    background: linear-gradient(135deg, rgba(18,102,241,.13), rgba(124,58,237,.09));
}

.boom-2026-dock .nav-four-item.active:not(.nav-four-center)::before {
    content: "";
    position: absolute;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #1266f1;
}

.boom-2026-dock .nav-four-center {
    width: 74px;
    height: 74px;
    margin: -31px auto 0;
    border-radius: 28px;
    color: #fff;
    background:
        radial-gradient(circle at 30% 16%, rgba(255,255,255,.42), transparent 28%),
        linear-gradient(145deg, #1266f1 0%, #7c3aed 54%, #ec4899 112%);
    border: 5px solid rgba(255,255,255,.96);
    box-shadow: 0 22px 46px rgba(18,102,241,.34), 0 12px 30px rgba(236,72,153,.20);
}

.boom-2026-dock .nav-four-center.active {
    transform: translateY(-4px);
}

.boom-2026-dock .nav-four-center span,
.boom-2026-dock .nav-four-center svg {
    width: 27px;
    height: 27px;
}

.boom-2026-dock .nav-four-center small {
    color: rgba(255,255,255,.96);
}

.boom-2026-dock .nav-four-item:active {
    transform: scale(.94);
}

.reveal-card {
    animation: boomReveal .42s ease both;
    animation-delay: var(--reveal-delay, 0ms);
}

@keyframes boomReveal {
    from { opacity: 0; transform: translateY(10px) scale(.985); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (min-width: 541px) {
    body { padding: 18px 0; }
    .app-shell {
        border-radius: 38px;
        min-height: calc(100vh - 36px);
        overflow: hidden;
    }
    .topbar {
        top: 18px;
        border-top-left-radius: 38px;
        border-top-right-radius: 38px;
    }
    .mobile-nav-four.boom-2026-dock {
        bottom: 30px !important;
    }
}

@media (max-width: 420px) {
    .app-main { padding-left: 14px; padding-right: 14px; }
    .topbar { padding-left: 14px; padding-right: 14px; }
    .brand-text { font-size: 18px; }
    .lang-switcher a { min-width: 27px; height: 28px; font-size: 10px; }
    .mobile-nav-four.boom-2026-dock {
        width: calc(100% - 16px) !important;
        grid-template-columns: 1fr 1fr 68px 1fr 1fr !important;
        padding: 8px !important;
        border-radius: 28px !important;
    }
    .boom-2026-dock .nav-four-item { height: 54px; border-radius: 20px; }
    .boom-2026-dock .nav-four-center { width: 66px; height: 66px; border-radius: 25px; margin-top: -27px; }
    .boom-2026-dock .nav-four-item small { font-size: 9.4px; }
}

/* Provider self-registration + partner approvals */
.provider-register-page .app-main,
.partner-approvals-page .app-main { padding-bottom: 110px; }
.provider-hero {
    max-width: 1180px;
    margin: 18px auto 0;
    padding: 34px 22px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 12% 18%, rgba(99,102,241,.34), transparent 34%),
        radial-gradient(circle at 88% 15%, rgba(20,184,166,.28), transparent 32%),
        linear-gradient(135deg, #061226, #102455 54%, #0f766e);
    color: #fff;
    box-shadow: 0 30px 80px rgba(15, 23, 42, .22);
    overflow: hidden;
    position: relative;
}
.provider-hero::after {
    content: "";
    position: absolute;
    inset: auto -80px -150px auto;
    width: 310px;
    height: 310px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    filter: blur(2px);
}
.provider-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.24);
    color: inherit;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.provider-hero h1 {
    margin: 18px 0 10px;
    max-width: 760px;
    font-size: clamp(32px, 7vw, 62px);
    line-height: .95;
    letter-spacing: -.06em;
}
.provider-hero p {
    margin: 0;
    max-width: 760px;
    color: rgba(255,255,255,.82);
    font-size: 16px;
    line-height: 1.7;
}
.provider-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}
.provider-hero-badges span {
    border-radius: 999px;
    padding: 10px 13px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}
.provider-register-section { max-width: 1180px; }
.provider-form-card {
    display: grid;
    gap: 18px;
}
.provider-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
    gap: 18px;
}
.provider-panel,
.partner-app-card {
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-radius: 30px;
    padding: 22px;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .08);
}
.provider-panel h2 {
    margin: 0 0 16px;
    font-size: 22px;
    letter-spacing: -.035em;
    color: #0f172a;
}
.form-row.two { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-row.three { display:grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.provider-note {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
}
.provider-packages {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.provider-package {
    position: relative;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px;
    border-radius: 24px;
    border: 1px solid rgba(15,23,42,.08);
    background: linear-gradient(180deg, #fff, #f8fafc);
    min-height: 160px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.provider-package:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(15,23,42,.10); }
.provider-package input { position: absolute; inset: 14px 14px auto auto; accent-color: #2563eb; }
.provider-package strong { font-size: 24px; letter-spacing: -.04em; color: #0f172a; }
.provider-package span { color: #64748b; line-height: 1.5; font-size: 14px; }
.provider-package small { margin-top: auto; color: #2563eb; font-weight: 900; }
.provider-package:has(input:checked) { border-color: rgba(37, 99, 235, .45); box-shadow: 0 20px 45px rgba(37, 99, 235, .14); }
.provider-package.featured { background: linear-gradient(180deg, #fff7ed, #fff); }
.provider-check { display:flex; align-items:center; gap:10px; font-weight: 800; color:#0f172a; }
.provider-check input { width: 18px; height: 18px; accent-color:#2563eb; }
.provider-upload-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:14px; }
.provider-upload-box {
    border-radius: 24px;
    padding: 18px;
    border: 1px dashed rgba(37,99,235,.32);
    background: rgba(37,99,235,.045);
}
.provider-upload-box strong { display:block; color:#0f172a; font-size:18px; margin-bottom:6px; }
.provider-upload-box p { margin: 0 0 12px; color:#64748b; font-size: 13px; }
.provider-upload-box.disabled { opacity:.55; }
.provider-submit { min-height: 58px; border-radius: 22px; font-size: 16px; font-weight: 950; }
.admin-filter-tabs { display:flex; flex-wrap: wrap; gap:10px; }
.filter-pill {
    text-decoration:none;
    border-radius: 999px;
    padding: 11px 15px;
    background: #fff;
    color:#334155;
    border: 1px solid rgba(15,23,42,.08);
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(15,23,42,.05);
}
.filter-pill.active { background:#0f172a; color:#fff; }
.partner-app-list { display:grid; gap:16px; }
.partner-app-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; }
.partner-app-head h3 { margin:6px 0 4px; font-size:24px; letter-spacing:-.04em; color:#0f172a; }
.partner-app-head p { margin:0; color:#64748b; }
.partner-type { display:inline-flex; border-radius:999px; padding:7px 10px; background:rgba(37,99,235,.08); color:#2563eb; font-weight:900; font-size:12px; }
.partner-app-meta { display:flex; flex-wrap:wrap; gap:10px; margin:16px 0; }
.partner-app-meta span { border-radius:999px; padding:8px 11px; background:#f8fafc; color:#475569; font-size:13px; }
.partner-media-strip { display:flex; gap:10px; overflow-x:auto; padding:4px 0 14px; }
.partner-media-strip img,
.partner-media-strip video { width:120px; height:90px; object-fit:cover; border-radius:18px; border:1px solid rgba(15,23,42,.08); background:#e2e8f0; }
.partner-actions { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.inline-note-form { display:flex; gap:10px; align-items:center; flex: 1 1 360px; }
.inline-note-form .form-control { min-width: 220px; }
.status-approved { background: #dcfce7; color:#166534; }
.status-rejected { background: #fee2e2; color:#991b1b; }
.status-blocked { background: #e2e8f0; color:#334155; }
.status-pending { background: #fef3c7; color:#92400e; }
@media (max-width: 760px) {
    .provider-hero { margin: 12px 12px 0; border-radius: 28px; padding: 28px 18px; }
    .provider-register-section { padding-left: 12px; padding-right: 12px; }
    .provider-form-grid, .form-row.two, .form-row.three, .provider-packages, .provider-upload-grid { grid-template-columns: 1fr; }
    .provider-panel, .partner-app-card { border-radius: 26px; padding: 18px; }
    .partner-app-head { flex-direction:column; }
    .partner-actions, .inline-note-form { flex-direction: column; align-items: stretch; }
    .partner-actions form, .partner-actions button { width:100%; }
}

/* =========================================================
   Boomlink final UX pass — sticky 2026 app dock + cleaner spacing
   ========================================================= */
:root {
    --dock-space: 124px;
    --soft-panel: rgba(255, 255, 255, .86);
    --soft-border: rgba(226, 232, 240, .82);
    --boom-gradient: linear-gradient(135deg, #1266f1 0%, #7c3aed 58%, #ec4899 120%);
}

html,
body {
    min-height: 100%;
    overscroll-behavior-y: none;
}

body {
    background:
        radial-gradient(circle at 0% 0%, rgba(18, 102, 241, .16), transparent 34%),
        radial-gradient(circle at 100% 10%, rgba(124, 58, 237, .12), transparent 30%),
        linear-gradient(180deg, #f8fbff 0%, #f4f7fb 48%, #fbf7ff 100%) !important;
}

.app-shell {
    isolation: isolate;
    overflow: visible !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.48)),
        rgba(255,255,255,.52) !important;
}

.app-main {
    padding-top: 92px !important;
    padding-bottom: calc(var(--dock-space) + env(safe-area-inset-bottom, 0px)) !important;
}

.topbar {
    height: 74px !important;
    background: rgba(255,255,255,.78) !important;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-left: 0 !important;
    border-right: 0 !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, .07) !important;
    backdrop-filter: blur(24px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
}

.brand-mark {
    background:
        radial-gradient(circle at 30% 15%, rgba(255,255,255,.45), transparent 30%),
        var(--boom-gradient) !important;
    box-shadow: 0 14px 32px rgba(18,102,241,.30) !important;
}

.hero-card,
.module-hero,
.provider-hero {
    box-shadow: 0 30px 80px rgba(18, 102, 241, .18) !important;
}

.hero-card,
.service-card,
.premium-info-card,
.simple-card,
.form-card,
.provider-panel,
.partner-app-card,
.restaurant-card,
.action-card,
.list-item,
.promo-card,
.stat-card {
    border-color: var(--soft-border) !important;
    background-color: var(--soft-panel) !important;
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.service-card,
.premium-info-card,
.provider-panel,
.form-card,
.simple-card,
.restaurant-card,
.action-card,
.list-item {
    box-shadow: 0 18px 52px rgba(15, 23, 42, .075) !important;
}

.section {
    margin-top: 18px !important;
}

.section-head {
    margin-bottom: 11px !important;
}

.search-box {
    position: sticky;
    top: 86px;
    z-index: 30;
    min-height: 56px;
    border-radius: 22px !important;
}

.form-control,
.search-box input,
textarea.form-control,
select.form-control {
    font-size: 16px !important;
}

.form-control[type="file"] {
    min-height: 56px;
    height: auto !important;
    padding: 14px !important;
    border-radius: 18px !important;
    cursor: pointer;
}

/* Final pinned dock: always attached to viewport while scrolling */
.mobile-nav-four.boom-2026-dock {
    position: fixed !important;
    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
    transform: translate3d(-50%, 0, 0) !important;
    width: min(516px, calc(100vw - 24px)) !important;
    max-width: 516px !important;
    min-height: 82px !important;
    padding: 10px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr 78px 1fr 1fr !important;
    gap: 7px !important;
    align-items: center !important;
    z-index: 2147483000 !important;
    border-radius: 32px !important;
    background:
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82)) !important;
    border: 1px solid rgba(255,255,255,.9) !important;
    box-shadow:
        0 30px 80px rgba(15, 23, 42, .20),
        0 10px 28px rgba(18, 102, 241, .10),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
    backdrop-filter: blur(30px) saturate(170%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(170%) !important;
    will-change: transform;
    contain: layout paint;
}

.boom-2026-dock .nav-four-item {
    height: 60px !important;
    border-radius: 23px !important;
    gap: 5px !important;
    color: #94a3b8 !important;
}

.boom-2026-dock .nav-four-item span,
.boom-2026-dock .nav-four-item svg {
    width: 24px !important;
    height: 24px !important;
}

.boom-2026-dock .nav-four-item small {
    font-size: 10.2px !important;
    font-weight: 950 !important;
    max-width: 64px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.boom-2026-dock .nav-four-item.active:not(.nav-four-center) {
    color: #1266f1 !important;
    background: linear-gradient(135deg, rgba(18,102,241,.15), rgba(124,58,237,.10)) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.85);
}

.boom-2026-dock .nav-four-center {
    width: 76px !important;
    height: 76px !important;
    margin: -34px auto 0 !important;
    border-radius: 30px !important;
    background:
        radial-gradient(circle at 30% 16%, rgba(255,255,255,.48), transparent 31%),
        var(--boom-gradient) !important;
    box-shadow:
        0 24px 54px rgba(18,102,241,.36),
        0 13px 32px rgba(236,72,153,.24) !important;
}

.boom-2026-dock .nav-four-center span,
.boom-2026-dock .nav-four-center svg {
    width: 28px !important;
    height: 28px !important;
}

/* Provider page: no hidden content behind dock, cleaner app onboarding */
.provider-register-page .app-main,
.partner-approvals-page .app-main,
.services-page .app-main {
    padding-bottom: calc(var(--dock-space) + 36px + env(safe-area-inset-bottom, 0px)) !important;
}

.provider-register-section {
    margin-top: 16px !important;
}

.provider-form-card {
    gap: 14px !important;
    margin-bottom: 24px;
}

.provider-panel {
    border-radius: 28px !important;
    padding: 18px !important;
}

.provider-panel h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px !important;
}

.provider-panel h2::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--boom-gradient);
    flex: 0 0 auto;
}

.provider-packages {
    gap: 10px !important;
}

.provider-package {
    min-height: 132px !important;
    border-radius: 22px !important;
    padding: 16px !important;
}

.provider-package strong {
    font-size: 21px !important;
}

.provider-upload-box {
    border-radius: 22px !important;
    background:
        linear-gradient(135deg, rgba(18,102,241,.06), rgba(124,58,237,.045)) !important;
}

.provider-submit {
    position: relative;
    z-index: 2;
    margin-bottom: 12px;
    background: var(--boom-gradient) !important;
    box-shadow: 0 18px 42px rgba(18,102,241,.26) !important;
}

.partner-join-card {
    color: #fff !important;
    background:
        radial-gradient(circle at 15% 15%, rgba(255,255,255,.24), transparent 34%),
        linear-gradient(135deg, #0f172a 0%, #1d4ed8 55%, #7c3aed 110%) !important;
    border-color: rgba(255,255,255,.20) !important;
}

.partner-join-card h3,
.partner-join-card p {
    color: #fff !important;
}

.partner-join-card p {
    opacity: .84;
}

.partner-join-card .premium-info-icon {
    background: rgba(255,255,255,.15) !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.20);
}

.partner-join-card .btn {
    margin-top: 12px;
}

@media (min-width: 541px) {
    body {
        padding: 0 !important;
    }

    .app-shell {
        min-height: 100vh !important;
        border-radius: 0 !important;
    }

    .topbar {
        top: 0 !important;
        border-radius: 0 0 24px 24px !important;
    }

    .mobile-nav-four.boom-2026-dock {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 14px) !important;
        border-radius: 32px !important;
    }
}

@media (max-width: 420px) {
    :root { --dock-space: 118px; }
    .app-main {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }
    .mobile-nav-four.boom-2026-dock {
        width: calc(100vw - 16px) !important;
        grid-template-columns: 1fr 1fr 70px 1fr 1fr !important;
        padding: 8px !important;
        border-radius: 28px !important;
    }
    .boom-2026-dock .nav-four-center {
        width: 68px !important;
        height: 68px !important;
        border-radius: 26px !important;
        margin-top: -29px !important;
    }
    .boom-2026-dock .nav-four-item {
        height: 55px !important;
        border-radius: 20px !important;
    }
    .boom-2026-dock .nav-four-item small {
        font-size: 9.2px !important;
        max-width: 58px;
    }
    .hero-title,
    .provider-hero h1 {
        font-size: 30px !important;
        line-height: 1.02 !important;
    }
}

.provider-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
    max-width: 820px;
}
.provider-steps div {
    min-height: 72px;
    border-radius: 22px;
    padding: 12px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
}
.provider-steps strong {
    width: 34px;
    height: 34px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.22);
    color: #fff;
    font-weight: 950;
}
.provider-steps span {
    color: rgba(255,255,255,.90);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.35;
}
@media (max-width: 760px) {
    .provider-steps { grid-template-columns: 1fr; }
    .provider-steps div { min-height: 58px; }
}

/* ==========================================================
   BOOMLINK FINAL RESPONSIVE 2026 UI v2
   Mobile = real app tabbar fixed to viewport bottom.
   Desktop = full web-site layout with top navigation.
   ========================================================== */
:root {
    --boom-mobile-topbar: 72px;
    --boom-mobile-dock: 88px;
    --boom-web-header: 76px;
    --boom-page-max: 1180px;
    --boom-gradient: linear-gradient(135deg, #1266f1 0%, #6d5dfc 48%, #9b3dff 100%);
}

.desktop-nav {
    display: none;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

/* MOBILE APP MODE */
@media (max-width: 767.98px) {
    html,
    body {
        min-height: 100%;
        padding: 0 !important;
        background:
            radial-gradient(circle at 10% -4%, rgba(18, 102, 241, .15), transparent 38%),
            radial-gradient(circle at 100% 0%, rgba(155, 61, 255, .12), transparent 30%),
            linear-gradient(180deg, #f7faff 0%, #ffffff 44%, #f6f7fb 100%) !important;
    }

    .app-shell {
        width: 100% !important;
        max-width: 540px !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        margin: 0 auto !important;
        border-radius: 0 !important;
        overflow: visible !important;
        background: rgba(255,255,255,.42) !important;
        box-shadow: none !important;
    }

    .topbar {
        position: fixed !important;
        top: 0 !important;
        left: 50% !important;
        right: auto !important;
        transform: translate3d(-50%,0,0) !important;
        width: 100% !important;
        max-width: 540px !important;
        height: calc(var(--boom-mobile-topbar) + env(safe-area-inset-top, 0px)) !important;
        padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 10px !important;
        border-radius: 0 0 24px 24px !important;
        background: rgba(255,255,255,.88) !important;
        border-bottom: 1px solid rgba(226,232,240,.82) !important;
        box-shadow: 0 14px 34px rgba(15,23,42,.08) !important;
        backdrop-filter: blur(24px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
        z-index: 2147482000 !important;
    }

    .app-main {
        width: 100% !important;
        padding: calc(var(--boom-mobile-topbar) + env(safe-area-inset-top, 0px) + 16px) 14px calc(var(--boom-mobile-dock) + env(safe-area-inset-bottom, 0px) + 30px) !important;
    }

    .mobile-nav-four.boom-2026-dock {
        position: fixed !important;
        top: auto !important;
        left: 50% !important;
        right: auto !important;
        bottom: 0 !important;
        transform: translate3d(-50%, 0, 0) !important;
        width: min(540px, 100vw) !important;
        max-width: 540px !important;
        min-height: calc(var(--boom-mobile-dock) + env(safe-area-inset-bottom, 0px)) !important;
        height: calc(var(--boom-mobile-dock) + env(safe-area-inset-bottom, 0px)) !important;
        padding: 9px 10px calc(9px + env(safe-area-inset-bottom, 0px)) !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr 74px 1fr 1fr !important;
        gap: 6px !important;
        align-items: center !important;
        border-radius: 28px 28px 0 0 !important;
        background: rgba(255,255,255,.94) !important;
        border: 1px solid rgba(255,255,255,.92) !important;
        border-bottom: 0 !important;
        box-shadow:
            0 -20px 52px rgba(15,23,42,.17),
            inset 0 1px 0 rgba(255,255,255,.96) !important;
        backdrop-filter: blur(28px) saturate(175%) !important;
        -webkit-backdrop-filter: blur(28px) saturate(175%) !important;
        z-index: 2147483000 !important;
        will-change: transform !important;
    }

    .boom-2026-dock .nav-four-item {
        height: 58px !important;
        min-width: 0 !important;
        border-radius: 22px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 4px !important;
        color: #8fa1bb !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .boom-2026-dock .nav-four-item span,
    .boom-2026-dock .nav-four-item svg {
        width: 23px !important;
        height: 23px !important;
        fill: currentColor !important;
    }

    .boom-2026-dock .nav-four-item small {
        width: 100% !important;
        max-width: 62px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        text-align: center !important;
        font-size: 9.8px !important;
        line-height: 1.1 !important;
        font-weight: 950 !important;
        letter-spacing: -.03em !important;
    }

    .boom-2026-dock .nav-four-item.active:not(.nav-four-center) {
        color: #1266f1 !important;
        background: linear-gradient(135deg, rgba(18,102,241,.12), rgba(155,61,255,.09)) !important;
    }

    .boom-2026-dock .nav-four-center {
        width: 70px !important;
        height: 70px !important;
        margin: -20px auto 0 !important;
        border-radius: 27px !important;
        color: #fff !important;
        background:
            radial-gradient(circle at 30% 16%, rgba(255,255,255,.50), transparent 30%),
            var(--boom-gradient) !important;
        box-shadow: 0 18px 42px rgba(18,102,241,.34), 0 10px 24px rgba(155,61,255,.24) !important;
        border: 4px solid rgba(255,255,255,.92) !important;
    }

    .boom-2026-dock .nav-four-center span,
    .boom-2026-dock .nav-four-center svg {
        width: 26px !important;
        height: 26px !important;
    }

    .boom-2026-dock .nav-four-center small {
        color: #fff !important;
        font-size: 9.4px !important;
    }

    .provider-submit,
    .btn-full,
    button[type="submit"] {
        scroll-margin-bottom: calc(var(--boom-mobile-dock) + 24px) !important;
    }

    .provider-form-card,
    .provider-panel,
    .premium-info-card,
    .service-card,
    .stat-card,
    .action-card,
    .hero-card {
        box-shadow: 0 18px 45px rgba(15,23,42,.08) !important;
    }

    .provider-form-card {
        margin-bottom: 8px !important;
    }
}

@media (max-width: 374px) {
    .boom-2026-dock .nav-four-item small {
        font-size: 8.7px !important;
        max-width: 52px !important;
    }

    .mobile-nav-four.boom-2026-dock {
        grid-template-columns: 1fr 1fr 66px 1fr 1fr !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .boom-2026-dock .nav-four-center {
        width: 64px !important;
        height: 64px !important;
        border-radius: 24px !important;
    }
}

/* DESKTOP WEB MODE */
@media (min-width: 768px) {
    html,
    body {
        min-height: 100vh !important;
        padding: 0 !important;
        background:
            radial-gradient(circle at 5% 0%, rgba(18, 102, 241, .12), transparent 31%),
            radial-gradient(circle at 92% 4%, rgba(155, 61, 255, .10), transparent 27%),
            linear-gradient(180deg, #f7f9ff 0%, #ffffff 52%, #f5f7fb 100%) !important;
    }

    .app-shell {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .topbar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        height: var(--boom-web-header) !important;
        padding: 0 clamp(24px, 4vw, 64px) !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: 22px !important;
        align-items: center !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,.88) !important;
        border-bottom: 1px solid rgba(226,232,240,.86) !important;
        box-shadow: 0 14px 45px rgba(15,23,42,.07) !important;
        backdrop-filter: blur(24px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(160%) !important;
        z-index: 2147482000 !important;
    }

    .topbar-left,
    .topbar-right {
        min-width: 0 !important;
    }

    .brand-mark {
        width: 44px !important;
        height: 44px !important;
        border-radius: 16px !important;
    }

    .brand-text {
        display: inline !important;
        font-size: 22px !important;
    }

    .desktop-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .desktop-nav::-webkit-scrollbar {
        display: none !important;
    }

    .desktop-nav a {
        min-height: 40px !important;
        padding: 0 13px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #475569 !important;
        background: transparent !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        transition: .18s ease !important;
    }

    .desktop-nav a:hover {
        color: #1266f1 !important;
        background: rgba(18,102,241,.09) !important;
    }

    .desktop-nav a.desktop-nav-cta {
        color: #fff !important;
        background: var(--boom-gradient) !important;
        box-shadow: 0 12px 26px rgba(18,102,241,.22) !important;
    }

    .topbar-right {
        justify-content: flex-end !important;
    }

    .mobile-nav-four.boom-2026-dock,
    .mobile-nav,
    .mobile-nav-app,
    .mobile-nav-wide {
        display: none !important;
    }

    .app-main {
        width: min(var(--boom-page-max), calc(100% - 56px)) !important;
        max-width: var(--boom-page-max) !important;
        margin: 0 auto !important;
        padding: calc(var(--boom-web-header) + 36px) 0 72px !important;
    }

    .hero-card,
    .provider-hero {
        border-radius: 38px !important;
        padding: clamp(34px, 5vw, 64px) !important;
        min-height: 260px !important;
        display: flex !important;
        align-items: center !important;
    }

    .hero-title,
    .provider-hero h1 {
        font-size: clamp(42px, 5vw, 68px) !important;
        line-height: .96 !important;
        letter-spacing: -.07em !important;
        max-width: 840px !important;
    }

    .hero-text,
    .provider-hero p {
        font-size: 18px !important;
        line-height: 1.65 !important;
        max-width: 720px !important;
    }

    .section {
        margin-top: 34px !important;
    }

    .section-title {
        font-size: 28px !important;
    }

    .service-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .service-card {
        min-height: 178px !important;
        grid-template-columns: 66px 1fr !important;
        align-items: flex-start !important;
        padding: 24px !important;
        border-radius: 32px !important;
    }

    .service-card h3 {
        font-size: 21px !important;
    }

    .service-card p {
        font-size: 14px !important;
    }

    .service-arrow {
        position: absolute !important;
        top: 22px !important;
        right: 22px !important;
    }

    .quick-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .stat-card,
    .action-card,
    .premium-info-card,
    .provider-panel,
    .auth-card,
    .card,
    .list-item {
        border-radius: 30px !important;
        box-shadow: 0 18px 52px rgba(15,23,42,.08) !important;
    }

    .action-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .search-box {
        max-width: 680px !important;
        min-height: 62px !important;
        border-radius: 28px !important;
    }

    .provider-register-section {
        margin-top: 28px !important;
    }

    .provider-form-card {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
        margin-bottom: 0 !important;
    }

    .provider-form-grid,
    .form-row.two,
    .form-row.three {
        display: grid !important;
        gap: 18px !important;
    }

    .provider-form-grid,
    .form-row.two {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .form-row.three {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .provider-packages {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    .provider-upload-grid,
    .provider-media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .provider-submit,
    .btn-full {
        max-width: 420px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (min-width: 1180px) {
    .app-main {
        width: min(1220px, calc(100% - 88px)) !important;
        max-width: 1220px !important;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .desktop-nav a {
        padding: 0 9px !important;
        font-size: 12px !important;
    }

    .service-grid,
    .action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .provider-form-grid,
    .form-row.three,
    .provider-packages {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================================
   SOURCE: assets/css/boom-final-layout.css
   Consolidated into the single Boomlink stylesheet
   ========================================================= */
/* ==========================================================
   BOOMLINK FINAL FIX: real mobile app scroll + fixed bottom dock
   Mobile: app-like screen, bottom dock always visible.
   Desktop: normal full-width website, no mobile dock.
   This file is loaded AFTER style.css and intentionally overrides older experiments.
   ========================================================== */

:root {
    --boom-topbar-h: 72px;
    --boom-dock-h: 86px;
    --boom-web-header-h: 78px;
    --boom-max-mobile: 540px;
    --boom-max-web: 1200px;
    --boom-blue: #1266f1;
    --boom-purple: #7c3aed;
    --boom-pink: #ec4899;
    --boom-ink: #07111f;
    --boom-muted: #64748b;
    --boom-line: rgba(226, 232, 240, .86);
    --boom-gradient: linear-gradient(135deg, #1266f1 0%, #6d5dfc 52%, #9b3dff 100%);
}

* {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    width: 100% !important;
    min-height: 100% !important;
    height: auto !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

body {
    margin: 0 !important;
    position: static !important;
}

.app-shell,
.app-main {
    overflow: visible !important;
}

.mobile-nav,
.mobile-nav-app,
.mobile-nav-wide {
    display: none !important;
}

/* -------------------- MOBILE APP MODE -------------------- */
@media (max-width: 767.98px) {
    html,
    body {
        max-width: 100vw !important;
        background:
            radial-gradient(circle at 10% -8%, rgba(18,102,241,.18), transparent 34%),
            radial-gradient(circle at 95% 4%, rgba(155,61,255,.13), transparent 30%),
            linear-gradient(180deg, #f7faff 0%, #ffffff 45%, #f6f7fb 100%) !important;
    }

    body {
        padding: 0 !important;
        padding-bottom: 0 !important;
        touch-action: pan-y !important;
    }

    .app-shell {
        width: 100% !important;
        max-width: var(--boom-max-mobile) !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        transform: none !important;
        filter: none !important;
        perspective: none !important;
        contain: none !important;
        background: rgba(255,255,255,.48) !important;
        box-shadow: none !important;
    }

    .topbar {
        position: fixed !important;
        inset: 0 auto auto 50% !important;
        transform: translate3d(-50%, 0, 0) !important;
        width: 100% !important;
        max-width: var(--boom-max-mobile) !important;
        min-height: calc(var(--boom-topbar-h) + env(safe-area-inset-top, 0px)) !important;
        height: calc(var(--boom-topbar-h) + env(safe-area-inset-top, 0px)) !important;
        padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        border-radius: 0 0 26px 26px !important;
        background: rgba(255,255,255,.92) !important;
        border: 0 !important;
        border-bottom: 1px solid var(--boom-line) !important;
        box-shadow: 0 14px 38px rgba(15,23,42,.09) !important;
        backdrop-filter: blur(26px) saturate(170%) !important;
        -webkit-backdrop-filter: blur(26px) saturate(170%) !important;
        z-index: 2147481000 !important;
    }

    .desktop-nav {
        display: none !important;
    }

    .brand-text {
        font-size: 19px !important;
        letter-spacing: -.05em !important;
    }

    .topbar-right {
        display: flex !important;
        align-items: center !important;
        gap: 7px !important;
        min-width: 0 !important;
    }

    .lang-switcher {
        flex: 0 0 auto !important;
    }

    .app-main {
        width: 100% !important;
        min-height: calc(100vh - var(--boom-topbar-h)) !important;
        min-height: calc(100dvh - var(--boom-topbar-h)) !important;
        height: auto !important;
        margin: 0 !important;
        padding:
            calc(var(--boom-topbar-h) + env(safe-area-inset-top, 0px) + 14px)
            14px
            calc(var(--boom-dock-h) + env(safe-area-inset-bottom, 0px) + 34px)
            14px !important;
        display: block !important;
    }

    .app-main::after {
        content: "";
        display: block;
        height: calc(var(--boom-dock-h) + env(safe-area-inset-bottom, 0px) + 8px);
        pointer-events: none;
    }

    .mobile-nav-four.boom-2026-dock {
        position: fixed !important;
        left: 50% !important;
        right: auto !important;
        top: auto !important;
        bottom: 0 !important;
        transform: translate3d(-50%, 0, 0) !important;
        width: min(100vw, var(--boom-max-mobile)) !important;
        max-width: var(--boom-max-mobile) !important;
        min-height: calc(var(--boom-dock-h) + env(safe-area-inset-bottom, 0px)) !important;
        height: calc(var(--boom-dock-h) + env(safe-area-inset-bottom, 0px)) !important;
        padding: 9px 10px calc(9px + env(safe-area-inset-bottom, 0px)) !important;
        display: grid !important;
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) 72px minmax(0,1fr) minmax(0,1fr) !important;
        align-items: center !important;
        gap: 6px !important;
        margin: 0 !important;
        border: 0 !important;
        border-top: 1px solid rgba(255,255,255,.98) !important;
        border-radius: 28px 28px 0 0 !important;
        background: rgba(255,255,255,.96) !important;
        box-shadow: 0 -22px 58px rgba(15,23,42,.18), inset 0 1px 0 rgba(255,255,255,.95) !important;
        backdrop-filter: blur(30px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
        z-index: 2147483000 !important;
        pointer-events: auto !important;
        will-change: transform !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-item {
        min-width: 0 !important;
        width: 100% !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 0 2px !important;
        border: 0 !important;
        border-radius: 21px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        color: #8ba0ba !important;
        background: transparent !important;
        box-shadow: none !important;
        text-decoration: none !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-item span,
    .mobile-nav-four.boom-2026-dock .nav-four-item svg {
        width: 22px !important;
        height: 22px !important;
        display: block !important;
        fill: currentColor !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-item small {
        width: 100% !important;
        max-width: 58px !important;
        display: block !important;
        overflow: hidden !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        text-align: center !important;
        color: currentColor !important;
        font-size: 9.5px !important;
        line-height: 1.05 !important;
        font-weight: 950 !important;
        letter-spacing: -.03em !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-item.active:not(.nav-four-center) {
        color: var(--boom-blue) !important;
        background: linear-gradient(135deg, rgba(18,102,241,.13), rgba(155,61,255,.09)) !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-center {
        width: 70px !important;
        height: 70px !important;
        min-height: 70px !important;
        margin: -22px auto 0 !important;
        border-radius: 27px !important;
        color: #fff !important;
        background:
            radial-gradient(circle at 30% 16%, rgba(255,255,255,.55), transparent 32%),
            var(--boom-gradient) !important;
        border: 4px solid rgba(255,255,255,.96) !important;
        box-shadow: 0 18px 42px rgba(18,102,241,.34), 0 10px 24px rgba(155,61,255,.25) !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-center small {
        color: #fff !important;
        font-size: 9.2px !important;
    }

    .provider-submit,
    .btn-full,
    button[type="submit"] {
        min-height: 58px !important;
        scroll-margin-bottom: calc(var(--boom-dock-h) + 30px) !important;
    }

    .provider-form-card,
    .auth-card,
    .card,
    .list-item,
    .service-card,
    .action-card,
    .premium-info-card,
    .stat-card,
    .hero-card {
        border-radius: 28px !important;
    }

    .provider-form-card,
    .provider-panel,
    .service-card,
    .action-card,
    .stat-card,
    .hero-card {
        box-shadow: 0 18px 48px rgba(15,23,42,.08) !important;
    }
}

@media (max-width: 374px) {
    .mobile-nav-four.boom-2026-dock {
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) 64px minmax(0,1fr) minmax(0,1fr) !important;
        gap: 4px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-center {
        width: 64px !important;
        height: 64px !important;
        min-height: 64px !important;
        border-radius: 24px !important;
    }

    .mobile-nav-four.boom-2026-dock .nav-four-item small {
        max-width: 50px !important;
        font-size: 8.5px !important;
    }
}

/* -------------------- DESKTOP WEB MODE -------------------- */
@media (min-width: 768px) {
    html,
    body {
        background:
            radial-gradient(circle at 6% 0%, rgba(18,102,241,.12), transparent 28%),
            radial-gradient(circle at 92% 2%, rgba(155,61,255,.11), transparent 28%),
            linear-gradient(180deg, #f7f9ff 0%, #ffffff 52%, #f5f7fb 100%) !important;
        padding: 0 !important;
    }

    .app-shell {
        width: 100% !important;
        max-width: none !important;
        min-height: 100vh !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .topbar {
        position: sticky !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        height: var(--boom-web-header-h) !important;
        min-height: var(--boom-web-header-h) !important;
        padding: 0 clamp(24px, 4vw, 64px) !important;
        display: grid !important;
        grid-template-columns: auto minmax(0, 1fr) auto !important;
        gap: 20px !important;
        align-items: center !important;
        border-radius: 0 !important;
        background: rgba(255,255,255,.90) !important;
        border: 0 !important;
        border-bottom: 1px solid var(--boom-line) !important;
        box-shadow: 0 12px 36px rgba(15,23,42,.07) !important;
        backdrop-filter: blur(24px) saturate(165%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(165%) !important;
        z-index: 1000 !important;
    }

    .desktop-nav {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        min-width: 0 !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
    }

    .desktop-nav::-webkit-scrollbar {
        display: none !important;
    }

    .desktop-nav a {
        min-height: 40px !important;
        padding: 0 13px !important;
        border-radius: 999px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #475569 !important;
        background: transparent !important;
        font-size: 13px !important;
        font-weight: 900 !important;
        white-space: nowrap !important;
        transition: .18s ease !important;
    }

    .desktop-nav a:hover {
        color: var(--boom-blue) !important;
        background: rgba(18,102,241,.09) !important;
    }

    .desktop-nav a.desktop-nav-cta {
        color: #fff !important;
        background: var(--boom-gradient) !important;
        box-shadow: 0 12px 26px rgba(18,102,241,.22) !important;
    }

    .mobile-nav-four.boom-2026-dock,
    .mobile-nav,
    .mobile-nav-app,
    .mobile-nav-wide {
        display: none !important;
    }

    .app-main {
        width: min(var(--boom-max-web), calc(100% - 56px)) !important;
        max-width: var(--boom-max-web) !important;
        min-height: calc(100vh - var(--boom-web-header-h)) !important;
        height: auto !important;
        margin: 0 auto !important;
        padding: 36px 0 80px !important;
    }

    .hero-card,
    .provider-hero {
        border-radius: 38px !important;
        padding: clamp(34px, 5vw, 64px) !important;
        min-height: 250px !important;
    }

    .hero-title,
    .provider-hero h1 {
        font-size: clamp(42px, 5vw, 68px) !important;
        line-height: .96 !important;
        letter-spacing: -.07em !important;
        max-width: 860px !important;
    }

    .hero-text,
    .provider-hero p {
        font-size: 18px !important;
        line-height: 1.65 !important;
        max-width: 720px !important;
    }

    .service-grid,
    .quick-stats,
    .provider-packages {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .action-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .provider-form-grid,
    .form-row.two {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }

    .form-row.three {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
    }
}

@media (min-width: 1180px) {
    .app-main {
        width: min(1240px, calc(100% - 88px)) !important;
        max-width: 1240px !important;
    }
}

@media (min-width: 768px) and (max-width: 1050px) {
    .desktop-nav a {
        padding: 0 9px !important;
        font-size: 12px !important;
    }

    .service-grid,
    .action-grid,
    .quick-stats,
    .provider-packages,
    .provider-form-grid,
    .form-row.two,
    .form-row.three {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Final partner role-aware registration design */
.role-aware-provider-page .provider-form-card {
    gap: 22px;
}
.role-provider-hero {
    overflow: hidden;
    position: relative;
}
.role-provider-hero::after {
    content: '';
    position: absolute;
    right: -90px;
    top: -110px;
    width: 260px;
    height: 260px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(124, 58, 237, .25), rgba(37, 99, 235, 0));
    pointer-events: none;
}
.role-picker-panel .role-explain-card,
.role-field-intro {
    border-radius: 22px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, .09), rgba(124, 58, 237, .10));
    border: 1px solid rgba(37, 99, 235, .12);
    color: #475569;
    display: grid;
    gap: 6px;
}
.role-picker-panel .role-explain-card strong,
.role-field-intro strong {
    color: #0f172a;
}
.role-specific-panel {
    position: relative;
    overflow: hidden;
}
.role-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}
.role-panel-title h2 {
    margin: 0;
}
.role-panel-title span {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: -.01em;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
}
.role-fields {
    display: none;
    gap: 16px;
    animation: roleFadeIn .26s ease both;
}
.role-fields.active {
    display: grid;
}
@keyframes roleFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.provider-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.provider-check.align-check {
    align-self: end;
    min-height: 58px;
    display: flex;
    align-items: center;
}
.role-aware-provider-page .form-control,
.role-aware-provider-page select.form-control,
.role-aware-provider-page textarea.form-control {
    min-height: 54px;
    border-radius: 18px;
    background: rgba(248, 250, 252, .92);
    transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.role-aware-provider-page textarea.form-control {
    min-height: 104px;
    resize: vertical;
}
.role-aware-provider-page .form-control:focus {
    background: #fff;
    border-color: rgba(37, 99, 235, .55);
    box-shadow: 0 0 0 5px rgba(37, 99, 235, .10);
}
.role-aware-provider-page .provider-panel {
    box-shadow: 0 24px 80px rgba(15, 23, 42, .08);
}
@media (min-width: 900px) {
    .role-aware-provider-page .provider-register-section {
        max-width: 1180px;
        margin-inline: auto;
    }
    .role-aware-provider-page .provider-form-card {
        max-width: 1120px;
        margin-inline: auto;
    }
}
@media (max-width: 768px) {
    .role-panel-title {
        align-items: flex-start;
        flex-direction: column;
    }
    .provider-check-row {
        display: grid;
    }
    .role-aware-provider-page .provider-panel {
        border-radius: 26px;
    }
}

.partner-extra-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 10px;
    margin: 14px 0 4px;
}
.partner-extra-grid > div {
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(248, 250, 252, .9);
    border: 1px solid rgba(226, 232, 240, .9);
}
.partner-extra-grid strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
    margin-bottom: 5px;
}
.partner-extra-grid span {
    color: #475569;
    font-size: 13px;
    line-height: 1.45;
}

/* Deep specialist registration logic: multi location, languages and documents */
.specialist-locations{display:grid;gap:14px}.location-row{border:1px solid rgba(15,23,42,.10);background:linear-gradient(180deg,#fff,#f8fafc);border-radius:24px;padding:16px;box-shadow:0 16px 40px rgba(15,23,42,.06)}.location-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.location-row-head strong{font-size:15px;color:#0f172a}.mini-remove-location{border:0;border-radius:999px;background:#fee2e2;color:#991b1b;font-weight:900;padding:8px 11px;cursor:pointer}.weekday-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.weekday-picker label{display:inline-flex;align-items:center;gap:7px;border:1px solid rgba(37,99,235,.15);background:#eff6ff;color:#1e3a8a;border-radius:999px;padding:9px 11px;font-weight:900;font-size:12px}.weekday-picker input{accent-color:#2563eb}.add-location-btn{border:0;border-radius:18px;background:linear-gradient(135deg,#2563eb,#7c3aed);color:#fff;font-weight:900;padding:13px 16px;cursor:pointer;box-shadow:0 18px 38px rgba(37,99,235,.22)}.field-help{display:block;color:#64748b;font-weight:700;margin-top:6px}.provider-upload-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important}@media(max-width:700px){.location-row{border-radius:20px;padding:13px}.weekday-picker label{flex:1;justify-content:center}.location-row-head{align-items:flex-start}}

/* =========================================================
   SOURCE: assets/css/boomlink-premium2026.css
   Consolidated into the single Boomlink stylesheet
   ========================================================= */
:root{
  --premium-navy:#071b3d;
  --premium-navy-2:#0b2657;
  --premium-blue:#1c62ff;
  --premium-text:#0b1d3d;
  --premium-muted:#66758e;
  --premium-line:#e6ebf3;
  --premium-soft:#f6f8fc;
  --premium-white:#ffffff;
  --premium-shadow:0 16px 45px rgba(28,52,92,.08);
  --premium-shadow-lg:0 28px 70px rgba(28,52,92,.10);
  --premium-radius:24px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{background:#f8faff!important;color:var(--premium-text);font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Inter","Segoe UI",system-ui,sans-serif!important}
body.premium-home,body.premium-services-page{background:
  radial-gradient(circle at 78% 0%,rgba(47,111,255,.09),transparent 28%),
  radial-gradient(circle at 0% 24%,rgba(119,154,231,.08),transparent 25%),
  #f8faff!important;
}
a{text-decoration:none}
img{max-width:100%}

/* ========================
   GLOBAL HEADER
======================== */
.premium-topbar{
  position:sticky!important;
  top:14px!important;
  z-index:1000!important;
  width:min(1450px,calc(100% - 56px))!important;
  height:72px!important;
  margin:14px auto 0!important;
  padding:9px 12px 9px 18px!important;
  display:grid!important;
  grid-template-columns:240px 1fr 250px!important;
  align-items:center!important;
  gap:18px!important;
  border:1px solid rgba(219,226,238,.95)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 12px 36px rgba(24,48,85,.08)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
}
.premium-topbar .topbar-left{display:flex;align-items:center;min-width:0}
.premium-brand{display:inline-flex!important;align-items:center!important;height:48px!important;overflow:visible!important}
.premium-brand img{display:block!important;width:178px!important;height:auto!important;max-height:50px!important;object-fit:contain!important;object-position:left center!important}
.premium-desktop-nav{display:flex!important;align-items:center!important;justify-content:center!important;gap:7px!important;min-width:0!important}
.premium-desktop-nav a{
  position:relative!important;
  min-height:44px!important;
  padding:0 15px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border-radius:13px!important;
  color:#52617a!important;
  font-size:13px!important;
  font-weight:700!important;
  letter-spacing:-.01em!important;
  transition:.22s ease!important;
  white-space:nowrap!important;
}
.premium-desktop-nav a:hover{color:var(--premium-navy)!important;background:#f5f7fb!important}
.premium-desktop-nav a.is-active{color:var(--premium-navy)!important;background:#fff!important;box-shadow:0 5px 16px rgba(26,49,85,.09)!important}
.premium-desktop-nav a.is-active:after{content:"";position:absolute;bottom:2px;left:26%;right:26%;height:2px;border-radius:999px;background:#2b67f6}
.premium-topbar-right{display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:10px!important}
.premium-lang-menu{position:relative!important}
.premium-lang-menu summary{
  list-style:none!important;
  cursor:pointer!important;
  height:50px!important;
  min-width:92px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:9px!important;
  border:1px solid #e0e6ef!important;
  border-radius:15px!important;
  background:#fff!important;
  color:#1a2c4f!important;
  box-shadow:0 4px 12px rgba(18,42,78,.035)!important;
}
.premium-lang-menu summary::-webkit-details-marker{display:none!important}
.premium-lang-menu summary svg{width:18px!important;height:18px!important}
.premium-lang-menu summary strong{font-size:12px!important;font-weight:800!important}
.premium-lang-menu .chev{font-size:14px!important;color:#8c98ab!important;transform:translateY(-1px)}
.premium-lang-list{
  position:absolute!important;
  right:0!important;
  top:58px!important;
  min-width:106px!important;
  padding:7px!important;
  border:1px solid #e3e8f0!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 18px 38px rgba(12,30,64,.14)!important;
}
.premium-lang-list a{height:38px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:10px!important;font-size:12px!important;font-weight:800!important;color:#56657d!important}
.premium-lang-list a:hover,.premium-lang-list a.active{background:#f0f4fc!important;color:var(--premium-navy)!important}
.premium-login-btn,.premium-account-btn{
  height:50px!important;
  padding:0 20px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  border-radius:15px!important;
  background:var(--premium-navy)!important;
  color:#fff!important;
  box-shadow:0 10px 22px rgba(7,27,61,.15)!important;
  transition:.22s ease!important;
  white-space:nowrap!important;
}
.premium-login-btn:hover,.premium-account-btn:hover{transform:translateY(-1px);background:#0a244d!important}
.premium-login-btn svg,.premium-account-btn svg{width:18px!important;height:18px!important}
.premium-login-btn b,.premium-account-btn b{font-size:12px!important;font-weight:800!important}
.premium-notification{width:50px!important;height:50px!important;display:grid!important;place-items:center!important;border:1px solid #e0e6ef!important;border-radius:15px!important;background:#fff!important;color:var(--premium-navy)!important;position:relative!important}
.premium-notification svg{width:18px!important;height:18px!important}.premium-notification i{position:absolute;right:-4px;top:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#f33666;color:#fff;font-size:9px;font-style:normal;display:grid;place-items:center}

/* ========================
   PAGE WRAPPER
======================== */
.premium-app-main{
  width:min(1450px,calc(100% - 56px))!important;
  margin:0 auto!important;
  padding:18px 0 0!important;
  min-height:calc(100vh - 120px)!important;
}
.premium-home .premium-app-main{overflow:visible!important}

/* ========================
   HERO
======================== */
.premium-hero{
  position:relative;
  min-height:625px;
  display:grid;
  grid-template-columns:46.5% 53.5%;
  overflow:hidden;
  border:1px solid var(--premium-line);
  border-radius:30px;
  background:
    radial-gradient(circle at 73% 24%,rgba(128,166,236,.13),transparent 30%),
    linear-gradient(110deg,#fff 0%,#fff 48%,#f5f8fd 100%);
  box-shadow:var(--premium-shadow);
}
.premium-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,.86) 0%,rgba(255,255,255,.28) 52%,transparent 70%)}
.premium-hero-copy{position:relative;z-index:2;padding:86px 28px 60px 64px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.premium-kicker,.premium-section-head>div>span,.premium-why-heading>span,.premium-business>div>span,.premium-page-hero>span{
  display:block;
  color:#4775d0;
  font-size:10px;
  font-weight:800;
  letter-spacing:.27em;
  text-transform:uppercase;
}
.premium-kicker{margin-bottom:20px}
.premium-hero h1{
  max-width:670px;
  margin:0;
  color:var(--premium-navy);
  font-size:clamp(54px,5.35vw,82px);
  line-height:.98;
  letter-spacing:-.062em;
  font-weight:800;
}
.premium-lead{max-width:670px;margin:25px 0 0;color:#62728e;font-size:17px;line-height:1.72;font-weight:500;letter-spacing:-.012em}
.premium-hero-actions{margin-top:28px;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.premium-btn{
  min-height:54px;
  padding:0 22px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  border-radius:15px;
  font-size:13px;
  font-weight:800;
  transition:.22s ease;
}
.premium-btn:hover{transform:translateY(-2px)}
.premium-btn-dark{background:var(--premium-navy);color:#fff!important;box-shadow:0 10px 22px rgba(7,27,61,.13)}
.premium-btn-light{border:1px solid #dbe2ec;background:#fff;color:var(--premium-navy)!important;box-shadow:0 6px 16px rgba(16,39,74,.035)}
.premium-btn svg{width:18px;height:18px}
.premium-trust-row{width:100%;max-width:665px;margin-top:40px;display:grid;grid-template-columns:repeat(3,1fr)}
.premium-trust-row>div{min-height:52px;display:grid;grid-template-columns:35px 1fr;grid-template-rows:auto auto;column-gap:11px;align-items:center;padding:0 21px;border-right:1px solid #e8edf4}
.premium-trust-row>div:first-child{padding-left:0}.premium-trust-row>div:last-child{border-right:0}
.premium-trust-row>div>span{grid-row:1/3;width:32px;height:32px;display:grid;place-items:center;color:var(--premium-navy);font-size:24px}.premium-trust-row svg{width:20px;height:20px}.premium-trust-row .premium-bolt{color:#f7b51f;font-size:26px;font-weight:500}
.premium-trust-row b{align-self:end;color:#203251;font-size:10.5px;font-weight:800}.premium-trust-row small{align-self:start;color:#8c99ad;font-size:9.5px;line-height:1.35}
.premium-hero-media{position:relative;z-index:1;min-height:625px;display:flex;align-items:stretch;justify-content:stretch;padding:0}
.premium-hero-media:after{content:"";position:absolute;left:0;right:0;bottom:0;height:70px;background:linear-gradient(180deg,transparent,rgba(255,255,255,.8));pointer-events:none}
.premium-hero-media img{width:100%;height:100%;object-fit:cover;object-position:center center;display:block;filter:saturate(.98) contrast(1.01)}

/* ========================
   SERVICES
======================== */
.premium-services{
  margin-top:22px;
  padding:27px 24px 18px;
  border:1px solid var(--premium-line);
  border-radius:26px;
  background:#fff;
  box-shadow:var(--premium-shadow);
}
.premium-section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:16px}
.premium-section-head>div>span{margin-bottom:7px}
.premium-section-head h2{margin:0;color:var(--premium-navy);font-size:30px;line-height:1.12;letter-spacing:-.045em;font-weight:800}
.premium-section-head>a{display:inline-flex;align-items:center;gap:12px;color:#1e62eb!important;font-size:11px;font-weight:800;white-space:nowrap;padding:8px 4px}
.premium-section-head>a span{font-size:19px}
.premium-service-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}
.premium-service-card{
  position:relative;
  min-width:0;
  padding:14px 14px 13px;
  overflow:hidden;
  border:1px solid #e7ecf3;
  border-radius:18px;
  background:linear-gradient(180deg,#fff 0%,#fbfcff 100%);
  color:var(--premium-text)!important;
  transition:.24s cubic-bezier(.2,.7,.2,1);
}
.premium-service-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(28,54,93,.10);border-color:#dce4f0}
.premium-service-logo-wrap{height:42px;display:flex;align-items:center;justify-content:flex-start;overflow:hidden}
.premium-service-logo-wrap img{height:36px;width:auto;max-width:155px;object-fit:contain;object-position:left center;display:block}
.premium-service-card p{min-height:54px;margin:7px 0 12px;color:#6e7e97;font-size:10px;line-height:1.5;font-weight:500}
.premium-service-image{position:relative;height:126px;overflow:hidden;border-radius:13px;background:#eef2f7}
.premium-service-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}.premium-service-card:hover .premium-service-image img{transform:scale(1.035)}
.premium-service-image>span{position:absolute;right:9px;bottom:9px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--premium-navy);font-size:19px;font-weight:800;box-shadow:0 6px 14px rgba(12,28,59,.16)}
.premium-service-food{background:linear-gradient(180deg,#fff,#fffaf7)}
.premium-service-med{background:linear-gradient(180deg,#fff,#f7fffd)}
.premium-service-edu{background:linear-gradient(180deg,#fff,#faf8ff)}
.premium-service-auto{background:linear-gradient(180deg,#fff,#f7faff)}
.premium-service-beauty{background:linear-gradient(180deg,#fff,#fff8fb)}

/* stats live inside services panel, matching approved mockup */
.premium-stats{margin-top:15px;display:grid;grid-template-columns:1fr 1fr 1fr 1fr 1.24fr;border:1px solid #edf0f5;border-radius:18px;background:#fbfcff;overflow:hidden}
.premium-stats>div{min-height:82px;padding:14px 16px;display:grid;grid-template-columns:42px 1fr;grid-template-rows:auto auto;column-gap:10px;align-content:center;border-right:1px solid #edf0f5}
.premium-stats>div>span{grid-row:1/3;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#f1f5fb;color:var(--premium-navy);font-size:20px}.premium-stats svg{width:18px;height:18px}
.premium-stats strong{align-self:end;font-size:15px;line-height:1.2;color:var(--premium-navy);font-weight:800}.premium-stats small{align-self:start;margin-top:3px;font-size:9.5px;color:#8996aa}
.premium-stats>a{margin:8px;padding:12px 18px;border-radius:14px;background:var(--premium-navy);color:#fff!important;display:flex;flex-direction:column;justify-content:center;gap:6px}.premium-stats>a small{color:#b8c4d9;font-size:8.5px}.premium-stats>a b{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;font-size:12.5px;font-weight:800}.premium-stats>a b span{font-size:17px}

/* ========================
   COMPACT WHY STRIP
======================== */
.premium-why{margin:18px 0 0;padding:2px 4px 0;display:grid;grid-template-columns:345px 1fr;align-items:center;gap:14px}
.premium-why-heading{padding:8px 16px 8px 4px}
.premium-why-heading>span{margin-bottom:7px}
.premium-why-heading h2{margin:0;color:var(--premium-navy);font-size:24px;line-height:1.15;letter-spacing:-.04em;font-weight:800}
.premium-why-grid{display:grid;grid-template-columns:repeat(4,1fr);border-left:1px solid #e6ebf3}
.premium-why-item{min-height:70px;padding:10px 18px;display:flex;align-items:center;gap:12px;border-right:1px solid #e6ebf3}
.premium-why-item:last-child{border-right:0}.premium-why-item>span{flex:0 0 38px;width:38px;height:38px;display:grid;place-items:center;border-radius:50%;background:#edf4ff;color:#1b62ef;font-size:20px;font-weight:800}.premium-why-item svg{width:19px;height:19px}.premium-why-item>div{min-width:0;display:flex;flex-direction:column;gap:3px}.premium-why-item b{color:#1b2d4c;font-size:11px;font-weight:800}.premium-why-item small{color:#8a98ad;font-size:9.5px;line-height:1.35}

/* ========================
   BUSINESS CTA
======================== */
.premium-business{margin-top:16px;padding:31px 38px;border-radius:20px;background:radial-gradient(circle at 91% 12%,rgba(43,103,224,.28),transparent 35%),linear-gradient(118deg,#071938,#0a214c 72%,#0d2a60);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:32px;box-shadow:0 20px 50px rgba(7,25,56,.13)}
.premium-business>div>span{color:#adc5fb;margin-bottom:8px}.premium-business h2{margin:0;max-width:760px;font-size:28px;line-height:1.12;letter-spacing:-.038em;font-weight:800}.premium-business p{margin:8px 0 0;max-width:840px;color:#b8c5dc;font-size:11px;line-height:1.6}
.premium-btn-white{background:#fff;color:var(--premium-navy)!important;min-width:177px;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.premium-support-anchor{height:1px}

/* ========================
   FOOTER
======================== */
.premium-footer{
  width:min(1450px,calc(100% - 56px));
  margin:14px auto 30px;
  padding:17px 12px 0;
  display:grid;
  grid-template-columns:1fr auto auto;
  align-items:center;
  gap:28px;
  border-top:1px solid #e7ebf2;
  color:#7b899d;
}
.premium-footer>div:first-child{display:flex;align-items:center;gap:14px}.premium-footer img{width:125px;height:auto;display:block}.premium-footer small{font-size:9.5px}.premium-footer>div:nth-child(2){display:flex;align-items:center;gap:19px}.premium-footer>div:nth-child(2) a{color:#5c6b84!important;font-size:10px;font-weight:700}.premium-footer>div:nth-child(2) a:hover{color:#1b5bd6!important}.premium-footer>small{justify-self:end}

/* ========================
   SERVICES PAGE
======================== */
.premium-page-hero{padding:62px 50px;border:1px solid var(--premium-line);border-radius:28px;background:linear-gradient(115deg,#fff,#f5f8ff);box-shadow:var(--premium-shadow);text-align:center}
.premium-page-hero>span{margin-bottom:12px}.premium-page-hero h1{margin:0;color:var(--premium-navy);font-size:clamp(42px,5vw,68px);line-height:1.02;letter-spacing:-.055em}.premium-page-hero p{max-width:750px;margin:18px auto 0;color:#6c7c95;font-size:15px;line-height:1.7}
.premium-services-standalone{margin-top:18px}.premium-service-grid-large{grid-template-columns:repeat(3,1fr)}.premium-service-grid-large .premium-service-card{padding:20px}.premium-service-grid-large .premium-service-logo-wrap{height:52px}.premium-service-grid-large .premium-service-logo-wrap img{height:44px;max-width:190px}.premium-service-image.tall{height:220px}.premium-service-bottom{display:flex;align-items:center;justify-content:space-between;padding-top:14px;color:#263652;font-size:12px}

/* ========================
   GENERAL FUNCTIONAL PAGES
======================== */
body:not(.premium-home):not(.premium-services-page) .premium-app-main{padding-top:18px!important}
.card,.form-card,.hero-card,.premium-info-card,.list-card,.profile-card,.dashboard-card{border-color:#e6ebf2!important;box-shadow:0 12px 34px rgba(12,30,65,.055)!important;border-radius:18px!important}
.btn,.button,button[type=submit],input[type=submit]{border-radius:12px!important}.form-control,input,select,textarea{border-radius:12px!important;border-color:#dde4ee!important}.hero-title{color:var(--premium-navy)!important}

/* ========================
   TABLET
======================== */
@media(max-width:1180px){
  .premium-topbar{grid-template-columns:195px 1fr 224px!important;width:min(1180px,calc(100% - 36px))!important}.premium-brand img{width:155px!important}.premium-desktop-nav a{padding:0 10px!important;font-size:11.5px!important}.premium-login-btn,.premium-account-btn{padding:0 15px!important}.premium-app-main{width:min(1180px,calc(100% - 36px))!important}.premium-footer{width:min(1180px,calc(100% - 36px))!important}
  .premium-hero{min-height:560px;grid-template-columns:48% 52%}.premium-hero-copy{padding:60px 20px 48px 42px}.premium-hero h1{font-size:60px}.premium-lead{font-size:15px}.premium-hero-media{min-height:560px}.premium-trust-row{margin-top:30px}.premium-trust-row>div{padding:0 12px}
  .premium-service-grid{grid-template-columns:repeat(3,1fr)}.premium-service-card:nth-child(4),.premium-service-card:nth-child(5){grid-column:auto}.premium-stats{grid-template-columns:repeat(4,1fr)}.premium-stats>a{grid-column:1/5;margin:8px}.premium-why{grid-template-columns:280px 1fr}.premium-why-grid{grid-template-columns:repeat(2,1fr)}.premium-why-item:nth-child(2){border-right:0}.premium-why-item:nth-child(-n+2){border-bottom:1px solid #e6ebf3}.premium-service-grid-large{grid-template-columns:repeat(2,1fr)}
}

/* ========================
   MOBILE — app-like approved responsive design
======================== */
@media(max-width:767.98px){
  body{background:#f7f9fd!important;padding:0!important}
  .premium-topbar{
    position:fixed!important;
    top:0!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    max-width:none!important;
    height:68px!important;
    margin:0!important;
    padding:8px 12px 8px 16px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    border:0!important;
    border-bottom:1px solid rgba(224,230,239,.9)!important;
    border-radius:0!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 7px 20px rgba(22,45,80,.055)!important;
  }
  .premium-topbar .topbar-left{flex:1;min-width:0}.premium-brand{height:48px!important}.premium-brand img{width:126px!important;max-height:42px!important}
  .premium-desktop-nav{display:none!important}.premium-topbar-right{gap:7px!important}.premium-lang-menu summary{height:43px!important;min-width:66px!important;padding:0 10px!important;border-radius:13px!important;gap:5px!important}.premium-lang-menu .lang-globe{display:none!important}.premium-lang-menu summary strong{font-size:11px!important}.premium-lang-list{top:49px!important;min-width:82px!important}.premium-login-btn,.premium-account-btn{height:43px!important;padding:0 12px!important;border-radius:13px!important;gap:6px!important;box-shadow:none!important}.premium-login-btn b,.premium-account-btn b{font-size:10px!important}.premium-login-btn svg,.premium-account-btn svg{width:16px!important;height:16px!important}.premium-notification{width:43px!important;height:43px!important;border-radius:13px!important}
  .premium-app-main{width:100%!important;max-width:560px!important;margin:0 auto!important;padding:82px 12px 108px!important}

  .premium-hero{min-height:0;display:flex;flex-direction:column;border-radius:24px;background:linear-gradient(180deg,#fff 0%,#fff 54%,#f5f8fc 100%);box-shadow:0 12px 32px rgba(28,52,92,.065)}
  .premium-hero:before{display:none}.premium-hero-copy{padding:31px 20px 19px;display:block}.premium-kicker{font-size:8px;letter-spacing:.23em;margin-bottom:13px}.premium-hero h1{max-width:none;font-size:clamp(39px,11.4vw,52px);line-height:1.0;letter-spacing:-.058em}.premium-lead{margin-top:16px;font-size:13.2px;line-height:1.63}.premium-hero-actions{margin-top:21px;display:grid;grid-template-columns:1fr 1fr;gap:8px}.premium-btn{min-height:48px;padding:0 13px;border-radius:13px;font-size:11px;gap:8px}.premium-btn span{font-size:16px}.premium-btn svg{width:16px;height:16px}.premium-trust-row{margin-top:24px;display:grid;grid-template-columns:repeat(3,1fr);gap:0}.premium-trust-row>div{min-height:58px;padding:0 8px!important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;text-align:center;border-right:1px solid #edf0f5;border-bottom:0}.premium-trust-row>div:last-child{border-right:0}.premium-trust-row>div>span{width:28px;height:26px;display:grid;place-items:center}.premium-trust-row b{font-size:8.5px;line-height:1.2}.premium-trust-row small{font-size:7.5px;line-height:1.25}.premium-trust-row svg{width:17px;height:17px}.premium-trust-row .premium-bolt{font-size:20px}
  .premium-hero-media{min-height:0;height:auto;padding:0 0 3px;overflow:hidden}.premium-hero-media:after{height:24px}.premium-hero-media img{width:100%;height:auto;object-fit:contain;object-position:center;border-radius:0;display:block}

  .premium-services{margin-top:12px;padding:22px 12px 12px;border-radius:23px;box-shadow:0 11px 28px rgba(28,52,92,.055)}.premium-section-head{align-items:flex-end;margin-bottom:13px;padding:0 2px}.premium-section-head>div>span{font-size:8px;letter-spacing:.22em;margin-bottom:6px}.premium-section-head h2{font-size:23px;line-height:1.1}.premium-section-head>a{font-size:0;gap:0}.premium-section-head>a span{font-size:20px}
  .premium-service-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.premium-service-card{padding:11px 10px 10px;border-radius:16px}.premium-service-logo-wrap{height:31px}.premium-service-logo-wrap img{height:27px;max-width:115px}.premium-service-card p{min-height:50px;margin:6px 0 9px;font-size:8.7px;line-height:1.45}.premium-service-image{height:96px;border-radius:11px}.premium-service-image>span{right:7px;bottom:7px;width:28px;height:28px;font-size:16px}.premium-service-card:last-child{grid-column:1/3;display:grid;grid-template-columns:1fr 1.35fr;gap:9px;align-items:center}.premium-service-card:last-child .premium-service-logo-wrap{align-self:end}.premium-service-card:last-child p{align-self:start;margin:3px 0 0;min-height:0}.premium-service-card:last-child .premium-service-image{grid-column:2;grid-row:1/3;height:118px}

  .premium-stats{margin-top:10px;grid-template-columns:1fr 1fr;border-radius:16px}.premium-stats>div{min-height:74px;padding:11px 9px;grid-template-columns:32px 1fr;column-gap:7px}.premium-stats>div:nth-child(2){border-right:0}.premium-stats>div:nth-child(-n+2){border-bottom:1px solid #edf0f5}.premium-stats>div>span{width:30px;height:30px;font-size:16px}.premium-stats svg{width:15px;height:15px}.premium-stats strong{font-size:12.5px}.premium-stats small{font-size:8px}.premium-stats>a{grid-column:1/3;margin:7px;min-height:64px;padding:10px 14px;border-radius:12px}.premium-stats>a small{font-size:7.8px}.premium-stats>a b{font-size:11.5px}

  .premium-why{margin-top:12px;padding:17px 14px 14px;display:block;border:1px solid var(--premium-line);border-radius:22px;background:#fff;box-shadow:0 10px 26px rgba(28,52,92,.045)}.premium-why-heading{padding:0 0 13px}.premium-why-heading>span{font-size:8px}.premium-why-heading h2{font-size:22px;max-width:290px}.premium-why-grid{grid-template-columns:1fr 1fr;border-left:0;border-top:1px solid #e8edf4}.premium-why-item{min-height:72px;padding:11px 7px;border-right:1px solid #e8edf4;border-bottom:1px solid #e8edf4}.premium-why-item:nth-child(2){border-right:0}.premium-why-item:nth-child(3),.premium-why-item:nth-child(4){border-bottom:0}.premium-why-item:nth-child(4){border-right:0}.premium-why-item>span{flex-basis:32px;width:32px;height:32px;font-size:16px}.premium-why-item svg{width:16px;height:16px}.premium-why-item b{font-size:9.5px}.premium-why-item small{font-size:8px}

  .premium-business{margin-top:12px;padding:24px 20px 19px;border-radius:22px;display:block}.premium-business>div>span{font-size:8px}.premium-business h2{font-size:24px;line-height:1.12}.premium-business p{margin-top:8px;font-size:9.8px;line-height:1.55}.premium-business .premium-btn{width:100%;margin-top:18px;background:#fff;min-height:47px}

  .premium-footer{display:none}
  .premium-page-hero{padding:39px 20px;border-radius:24px}.premium-page-hero h1{font-size:40px}.premium-page-hero p{font-size:12px}.premium-services-standalone{margin-top:12px}.premium-service-grid-large{grid-template-columns:1fr}.premium-service-grid-large .premium-service-card:last-child{grid-column:auto;display:block}.premium-service-grid-large .premium-service-card:last-child .premium-service-image{grid-column:auto;grid-row:auto;height:180px}.premium-service-grid-large .premium-service-card p{display:none}.premium-service-image.tall{height:180px}

  /* polished app dock */
  .mobile-nav-four.boom-2026-dock{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:8px!important;
    width:auto!important;
    max-width:540px!important;
    margin:0 auto!important;
    height:74px!important;
    min-height:74px!important;
    padding:7px!important;
    border:1px solid rgba(219,226,238,.96)!important;
    border-radius:22px!important;
    background:rgba(255,255,255,.96)!important;
    box-shadow:0 14px 40px rgba(12,30,65,.15)!important;
    backdrop-filter:blur(18px)!important;
    -webkit-backdrop-filter:blur(18px)!important;
  }
  .mobile-nav-four.boom-2026-dock .nav-four-item{height:58px!important;border-radius:15px!important;color:#91a0b5!important}
  .mobile-nav-four.boom-2026-dock .nav-four-item span{height:25px!important}.mobile-nav-four.boom-2026-dock .nav-four-item svg{width:20px!important;height:20px!important}.mobile-nav-four.boom-2026-dock .nav-four-item small{font-size:8px!important;font-weight:800!important;margin-top:2px!important}.mobile-nav-four.boom-2026-dock .nav-four-item.active{background:#f0f5ff!important;color:#1d5ee5!important}.mobile-nav-four.boom-2026-dock .nav-four-center{background:var(--premium-navy)!important;color:#fff!important;box-shadow:0 8px 18px rgba(7,27,61,.17)!important}
}

@media(max-width:390px){
  .premium-app-main{padding-left:10px!important;padding-right:10px!important}.premium-brand img{width:116px!important}.premium-login-btn,.premium-account-btn{padding:0 10px!important}.premium-login-btn b,.premium-account-btn b{font-size:9px!important}.premium-lang-menu summary{min-width:58px!important;padding:0 8px!important}
  .premium-hero-copy{padding:28px 17px 17px}.premium-hero h1{font-size:38px}.premium-lead{font-size:12.5px}.premium-hero-actions{grid-template-columns:1fr}.premium-trust-row{margin-top:20px}.premium-service-grid{grid-template-columns:1fr}.premium-service-card p{min-height:0}.premium-service-image{height:145px}.premium-service-card:last-child{grid-column:auto;display:block}.premium-service-card:last-child .premium-service-image{height:145px;margin-top:9px}.premium-stats{grid-template-columns:1fr}.premium-stats>div{border-right:0!important;border-bottom:1px solid #edf0f5!important}.premium-stats>div:nth-child(4){border-bottom:0!important}.premium-stats>a{grid-column:1}.premium-why-grid{grid-template-columns:1fr}.premium-why-item{border-right:0!important;border-bottom:1px solid #e8edf4!important}.premium-why-item:last-child{border-bottom:0!important}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* ========================
   2026 HERO MOCKUP REFINEMENT
======================== */
.premium-home .premium-hero-media{
  min-width:0;
  padding:32px 34px 32px 12px;
  align-items:center;
  justify-content:center;
}
.premium-home .premium-device-scene{
  position:relative;
  width:min(100%,640px);
  margin-left:auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.premium-home .premium-phone-frame{
  position:relative;
  width:min(100%,378px);
  padding:14px;
  border-radius:42px;
  background:linear-gradient(180deg,#10213f 0%,#07152b 100%);
  box-shadow:0 32px 80px rgba(7,27,61,.18), inset 0 1px 0 rgba(255,255,255,.18);
}
.premium-home .premium-phone-notch{
  width:118px;
  height:24px;
  border-radius:0 0 18px 18px;
  background:#050d1d;
  margin:0 auto;
}
.premium-home .premium-phone-screen{
  position:relative;
  margin-top:10px;
  min-height:575px;
  border-radius:30px;
  padding:16px;
  background:linear-gradient(180deg,#f9fbff 0%,#eef4ff 100%);
  overflow:hidden;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.premium-home .premium-phone-screen:before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 100% 0,rgba(44,98,255,.13),transparent 38%);
  pointer-events:none;
}
.premium-home .premium-ui-topbar,
.premium-home .premium-ui-copy,
.premium-home .premium-ui-searchbar,
.premium-home .premium-ui-service-row,
.premium-home .premium-ui-feature-grid,
.premium-home .premium-ui-cta-card,
.premium-home .premium-ui-bottom-tabs{position:relative;z-index:1}
.premium-home .premium-ui-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px}
.premium-home .premium-ui-brandmark{display:flex;align-items:center;gap:10px;color:#071b3d}
.premium-home .premium-ui-brandmark img{width:34px;height:34px;border-radius:12px;display:block}
.premium-home .premium-ui-brandmark strong{font-size:15px;font-weight:800;letter-spacing:-.02em}
.premium-home .premium-ui-badge{height:30px;padding:0 12px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:#ffffff;color:#2953b8;border:1px solid rgba(41,83,184,.12);font-size:12px;font-weight:700;box-shadow:0 8px 18px rgba(27,50,90,.06)}
.premium-home .premium-ui-copy small{display:block;margin-bottom:6px;color:#5572ab;font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}
.premium-home .premium-ui-copy h3{margin:0;color:#081a39;font-size:28px;line-height:1.03;letter-spacing:-.045em;font-weight:800}
.premium-home .premium-ui-searchbar{min-height:50px;padding:0 14px;border-radius:18px;background:#fff;border:1px solid #e4ebf7;display:flex;align-items:center;gap:10px;box-shadow:0 8px 20px rgba(21,44,80,.05)}
.premium-home .premium-ui-searchbar span{display:inline-flex;width:18px;height:18px;color:#7384a2}
.premium-home .premium-ui-searchbar svg{width:18px;height:18px}
.premium-home .premium-ui-searchbar em{font-style:normal;color:#8392a9;font-size:12px;line-height:1.45}
.premium-home .premium-ui-service-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px}
.premium-home .premium-ui-service-pill{height:54px;border-radius:18px;display:flex;align-items:center;justify-content:center;border:1px solid #e7ecf4;background:#fff;box-shadow:0 8px 18px rgba(21,44,80,.04)}
.premium-home .premium-ui-service-pill img{max-width:86%;max-height:28px;object-fit:contain;display:block}
.premium-home .premium-ui-service-food{background:linear-gradient(180deg,#ffffff 0%,#fff7f0 100%)}
.premium-home .premium-ui-service-med{background:linear-gradient(180deg,#ffffff 0%,#f0fbf8 100%)}
.premium-home .premium-ui-service-edu{background:linear-gradient(180deg,#ffffff 0%,#f7f3ff 100%)}
.premium-home .premium-ui-service-auto{background:linear-gradient(180deg,#ffffff 0%,#f1f7ff 100%)}
.premium-home .premium-ui-service-beauty{background:linear-gradient(180deg,#ffffff 0%,#fff3f8 100%)}
.premium-home .premium-ui-feature-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.premium-home .premium-ui-feature-card{min-height:96px;padding:14px;border-radius:22px;border:1px solid #e6ecf5;background:#fff;box-shadow:0 10px 24px rgba(21,44,80,.05);display:flex;flex-direction:column;gap:8px}
.premium-home .premium-ui-feature-card span{width:40px;height:40px;border-radius:14px;display:grid;place-items:center;background:#f1f5fe;color:#175ce3}
.premium-home .premium-ui-feature-card svg{width:18px;height:18px}
.premium-home .premium-ui-feature-card strong{color:#12284d;font-size:14px;line-height:1.2;font-weight:800}
.premium-home .premium-ui-feature-card small{color:#8390a6;font-size:11px;line-height:1.35}
.premium-home .premium-ui-cta-card{margin-top:auto;min-height:92px;padding:16px 18px;border-radius:24px;background:linear-gradient(135deg,#071a3b 0%,#0d2b61 100%);color:#fff;display:flex;align-items:center;justify-content:space-between;gap:16px;box-shadow:0 18px 34px rgba(9,26,59,.20)}
.premium-home .premium-ui-cta-card small{display:block;color:#b4c4df;font-size:10px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.premium-home .premium-ui-cta-card strong{display:block;margin-top:6px;font-size:15px;line-height:1.35;font-weight:700;letter-spacing:-.015em}
.premium-home .premium-ui-cta-card > span{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#fff;color:#071b3d;font-size:20px;font-weight:800;flex:0 0 42px}
.premium-home .premium-ui-bottom-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:4px;border-radius:20px;background:#fff;border:1px solid #e7ecf5}
.premium-home .premium-ui-bottom-tabs span{min-height:42px;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#8290a6;font-size:12px;font-weight:700}
.premium-home .premium-ui-bottom-tabs span.is-active{background:#071b3d;color:#fff;box-shadow:0 10px 22px rgba(7,27,61,.16)}
.premium-home .premium-float-chip{
  position:absolute;
  z-index:3;
  min-width:140px;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.98);
  border:1px solid rgba(228,235,247,.96);
  box-shadow:0 16px 34px rgba(13,33,67,.12);
}
.premium-home .premium-float-chip strong{display:block;color:#071b3d;font-size:20px;font-weight:800;line-height:1}
.premium-home .premium-float-chip span{display:block;margin-top:5px;color:#74849b;font-size:11px;line-height:1.35}
.premium-home .premium-float-chip-left{left:-6px;top:42px}
.premium-home .premium-float-chip-right{right:-4px;bottom:102px}

@media(max-width:1199.98px){
  .premium-home .premium-hero{grid-template-columns:52% 48%}
  .premium-home .premium-hero h1{font-size:clamp(48px,5vw,72px)}
  .premium-home .premium-phone-frame{width:min(100%,352px)}
  .premium-home .premium-phone-screen{min-height:548px}
}

@media(max-width:900px){
  .premium-home .premium-hero{display:flex;flex-direction:column}
  .premium-home .premium-hero-copy{padding-bottom:14px!important}
  .premium-home .premium-hero-media{padding:0 18px 22px!important}
  .premium-home .premium-device-scene{width:100%;margin:0 auto}
  .premium-home .premium-phone-frame{width:min(100%,390px)}
  .premium-home .premium-phone-screen{min-height:530px}
}

@media(max-width:767.98px){
  .premium-home .premium-hero-media{padding:4px 14px 20px!important}
  .premium-home .premium-device-scene{width:100%}
  .premium-home .premium-phone-frame{width:min(100%,400px);padding:12px;border-radius:34px}
  .premium-home .premium-phone-notch{width:108px;height:22px}
  .premium-home .premium-phone-screen{margin-top:8px;min-height:506px;padding:14px;border-radius:26px;gap:10px}
  .premium-home .premium-ui-brandmark img{width:32px;height:32px}
  .premium-home .premium-ui-brandmark strong{font-size:14px}
  .premium-home .premium-ui-badge{height:28px;padding:0 11px;font-size:11px}
  .premium-home .premium-ui-copy h3{font-size:24px}
  .premium-home .premium-ui-searchbar{min-height:46px;border-radius:16px}
  .premium-home .premium-ui-searchbar em{font-size:11px}
  .premium-home .premium-ui-service-row{gap:7px}
  .premium-home .premium-ui-service-pill{height:50px;border-radius:15px}
  .premium-home .premium-ui-service-pill img{max-height:24px}
  .premium-home .premium-ui-feature-grid{gap:8px}
  .premium-home .premium-ui-feature-card{min-height:88px;padding:12px;border-radius:18px;gap:6px}
  .premium-home .premium-ui-feature-card span{width:36px;height:36px;border-radius:12px}
  .premium-home .premium-ui-feature-card strong{font-size:12px}
  .premium-home .premium-ui-feature-card small{font-size:10px}
  .premium-home .premium-ui-cta-card{min-height:82px;padding:14px 15px;border-radius:20px}
  .premium-home .premium-ui-cta-card small{font-size:9px}
  .premium-home .premium-ui-cta-card strong{font-size:13px;line-height:1.32}
  .premium-home .premium-ui-cta-card > span{width:38px;height:38px;flex-basis:38px}
  .premium-home .premium-ui-bottom-tabs{border-radius:17px}
  .premium-home .premium-ui-bottom-tabs span{min-height:38px;font-size:11px}
  .premium-home .premium-float-chip{display:none}
}

@media(max-width:390px){
  .premium-home .premium-phone-frame{width:100%}
  .premium-home .premium-phone-screen{min-height:490px;padding:12px}
  .premium-home .premium-ui-copy h3{font-size:22px}
}

/* =========================================================
   SOURCE: assets/css/boomlink-unified-app2026.css
   Consolidated into the single Boomlink stylesheet
   ========================================================= */
/* Boomlink Unified 2026 — internal modules aligned with approved homepage */
:root{
  --bl-navy:#071b3d;
  --bl-navy-2:#0b2657;
  --bl-blue:#1c62ff;
  --bl-text:#0b1d3d;
  --bl-muted:#697892;
  --bl-line:#e5ebf3;
  --bl-soft:#f6f8fc;
  --bl-white:#fff;
  --bl-shadow:0 18px 52px rgba(28,52,92,.085);
  --bl-shadow-lg:0 26px 72px rgba(28,52,92,.11);
  --bl-radius:26px;
  --bl-food:#f08a52;
  --bl-med:#18a9c4;
  --bl-edu:#6d5dfc;
  --bl-auto:#316bdb;
  --bl-beauty:#e66f98;
}

/* ---------- module color tokens ---------- */
body.food-page{--module:#f08a52;--module-rgb:240,138,82;--module-soft:#fff7f2}
body.med-page{--module:#18a9c4;--module-rgb:24,169,196;--module-soft:#f1fbfd}
body.edu-page{--module:#6d5dfc;--module-rgb:109,93,252;--module-soft:#f7f5ff}
body.auto-page{--module:#316bdb;--module-rgb:49,107,219;--module-soft:#f3f7ff}
body.beauty-page{--module:#e66f98;--module-rgb:230,111,152;--module-soft:#fff5f8}

body.module-page{
  background:
    radial-gradient(circle at 82% -4%,rgba(var(--module-rgb,28,98,255),.08),transparent 29%),
    radial-gradient(circle at -4% 28%,rgba(119,154,231,.07),transparent 28%),
    #f8faff!important;
}

body.module-page .premium-app-main{padding-top:18px!important}
body.module-page .section{width:100%;margin:0 auto 18px!important;padding:0!important}
body.module-page .section + .section{margin-top:0!important}
body.module-page .section-head{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:14px!important;margin:0 0 13px!important}
body.module-page .section-head .section-title,
body.module-page .section-title{margin:0!important;color:var(--bl-navy)!important;font-size:27px!important;line-height:1.08!important;letter-spacing:-.045em!important;font-weight:850!important}
body.module-page .section-head p{margin:5px 0 0!important;color:var(--bl-muted)!important}
body.module-page .section-link{color:var(--module)!important;font-size:12px!important;font-weight:800!important}
body.module-page .hero-eyebrow{display:inline-flex!important;align-items:center!important;gap:7px!important;margin:0 0 12px!important;color:var(--module)!important;font-size:10px!important;font-weight:850!important;letter-spacing:.19em!important;text-transform:uppercase!important}
body.module-page .hero-eyebrow:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--module);box-shadow:0 0 0 5px rgba(var(--module-rgb),.1)}
body.module-page .back-link{display:inline-flex!important;align-items:center!important;min-height:38px!important;padding:0 13px!important;border:1px solid var(--bl-line)!important;border-radius:12px!important;background:#fff!important;color:#52617a!important;box-shadow:0 5px 14px rgba(15,34,63,.035)!important;font-size:11px!important;font-weight:800!important}
body.module-page .back-link:hover{color:var(--bl-navy)!important;border-color:#d7deea!important;transform:translateY(-1px)}

/* ---------- universal controls ---------- */
body.module-page .btn,
body.module-page button.btn{
  min-height:46px!important;
  border-radius:14px!important;
  padding:0 17px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  border:1px solid transparent!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:850!important;
  letter-spacing:-.01em!important;
  transition:.2s ease!important;
}
body.module-page .btn-blue,
body.module-page .btn-primary{background:var(--bl-navy)!important;color:#fff!important;box-shadow:0 9px 20px rgba(7,27,61,.13)!important}
body.module-page .btn-blue:hover,body.module-page .btn-primary:hover{background:#0a2856!important;transform:translateY(-1px)!important}
body.module-page .btn-light{background:#fff!important;color:var(--bl-navy)!important;border-color:#dfe5ee!important;box-shadow:0 5px 14px rgba(15,34,63,.035)!important}
body.module-page .btn-light:hover{background:#f8faff!important;border-color:#d5deea!important}
body.module-page .btn-full{width:100%!important}
body.module-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),
body.module-page select,
body.module-page textarea,
body.module-page .form-control{
  min-height:48px!important;
  border:1px solid #dfe6ef!important;
  border-radius:15px!important;
  background:#f8faff!important;
  color:var(--bl-text)!important;
  outline:none!important;
  box-shadow:none!important;
  font:700 13px/1.3 inherit!important;
  transition:.18s ease!important;
}
body.module-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.module-page select{padding:0 14px!important}
body.module-page textarea{padding:13px 14px!important}
body.module-page input:focus,body.module-page select:focus,body.module-page textarea:focus{border-color:rgba(var(--module-rgb),.55)!important;background:#fff!important;box-shadow:0 0 0 4px rgba(var(--module-rgb),.08)!important}
body.module-page .form-label{margin-bottom:7px!important;color:#40516d!important;font-size:11px!important;font-weight:800!important}
body.module-page .simple-card,
body.module-page .empty-state{
  border:1px solid var(--bl-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:var(--bl-shadow)!important;
}
body.module-page .empty-state{padding:28px!important;text-align:center!important;color:var(--bl-muted)!important}
body.module-page .empty-state strong{display:block!important;color:var(--bl-navy)!important;font-size:17px!important;margin-bottom:5px!important}

/* ---------- every module landing hero ---------- */
body.module-page .module-hero,
body.module-page .food-app-hero,
body.module-page .med-list-hero,
body.module-page .med-clinics-hero,
body.module-page .auto-centers-hero,
body.module-page .auto-masters-hero,
body.module-page .edu-teachers-hero,
body.module-page .beauty-salons-hero,
body.module-page .beauty-services-hero,
body.module-page .beauty-masters-hero,
body.module-page .single-clinic-hero,
body.module-page .teacher-detail-hero,
body.module-page .master-detail-hero{
  position:relative!important;
  overflow:hidden!important;
  border:1px solid var(--bl-line)!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 82% 10%,rgba(var(--module-rgb),.13),transparent 27%),
    radial-gradient(circle at 64% 90%,rgba(var(--module-rgb),.07),transparent 25%),
    linear-gradient(112deg,#fff 0%,#fff 52%,var(--module-soft) 100%)!important;
  box-shadow:var(--bl-shadow)!important;
}
body.module-page .module-hero:before,
body.module-page .food-app-hero:before,
body.module-page .med-list-hero:before,
body.module-page .med-clinics-hero:before,
body.module-page .auto-centers-hero:before,
body.module-page .auto-masters-hero:before,
body.module-page .edu-teachers-hero:before,
body.module-page .beauty-salons-hero:before,
body.module-page .beauty-services-hero:before,
body.module-page .beauty-masters-hero:before{content:""!important;position:absolute!important;inset:0!important;pointer-events:none!important;background:linear-gradient(90deg,rgba(255,255,255,.78),transparent 70%)!important}
body.module-page .module-hero{min-height:310px!important;padding:42px 48px!important;display:grid!important;grid-template-columns:minmax(0,1.05fr) minmax(310px,.95fr)!important;align-items:center!important;gap:34px!important}
body.module-page .module-hero h1,
body.module-page .food-app-hero h1,
body.module-page .med-list-hero h1,
body.module-page .med-clinics-hero h1,
body.module-page .auto-centers-hero h1,
body.module-page .auto-masters-hero h1,
body.module-page .edu-teachers-hero h1,
body.module-page .beauty-salons-hero h1,
body.module-page .beauty-services-hero h1,
body.module-page .beauty-masters-hero h1{
  color:var(--bl-navy)!important;
  font-size:clamp(40px,4.2vw,64px)!important;
  line-height:.98!important;
  letter-spacing:-.06em!important;
  font-weight:850!important;
  margin:0 0 16px!important;
}
body.module-page .module-hero p,
body.module-page .food-app-hero p,
body.module-page .med-list-hero p,
body.module-page .med-clinics-hero p,
body.module-page .auto-centers-hero p,
body.module-page .auto-masters-hero p,
body.module-page .edu-teachers-hero p,
body.module-page .beauty-salons-hero p,
body.module-page .beauty-services-hero p,
body.module-page .beauty-masters-hero p{max-width:690px!important;color:#65758f!important;font-size:15px!important;line-height:1.7!important;font-weight:550!important}
body.module-page .pro-module-copy{position:relative!important;z-index:2!important;max-width:680px!important}
body.module-page .pro-module-hero-mockup{position:relative!important;z-index:1!important;display:flex!important;justify-content:flex-end!important;align-items:center!important;min-width:0!important}
body.module-page .pro-module-hero-mockup img{width:min(100%,500px)!important;max-height:290px!important;object-fit:contain!important;border-radius:22px!important;filter:drop-shadow(0 18px 30px rgba(28,52,92,.12))!important}

/* ---------- module landing action cards ---------- */
body.module-page .action-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:13px!important}
body.module-page .action-card{
  min-height:180px!important;
  padding:20px!important;
  border:1px solid var(--bl-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 12px 34px rgba(28,52,92,.055)!important;
  color:var(--bl-text)!important;
  transition:.22s ease!important;
}
body.module-page .action-card:hover{transform:translateY(-4px)!important;box-shadow:var(--bl-shadow)!important;border-color:#d9e1ec!important}
body.module-page .action-card>span:first-child{width:42px!important;height:42px!important;border-radius:13px!important;display:grid!important;place-items:center!important;background:var(--module-soft)!important;color:var(--module)!important}
body.module-page .action-card>span:first-child svg{width:21px!important;height:21px!important}
body.module-page .action-card h3{margin:20px 0 7px!important;color:var(--bl-navy)!important;font-size:17px!important;letter-spacing:-.025em!important}
body.module-page .action-card p{margin:0!important;color:var(--bl-muted)!important;font-size:12px!important;line-height:1.55!important}

/* ---------- filter/search panels ---------- */
body.module-page .restaurant-search-card,
body.module-page .med-filter-card,
body.module-page .clinic-filter-card,
body.module-page .auto-centers-filter-card,
body.module-page .auto-masters-filter-card,
body.module-page .edu-filter-card,
body.module-page .edu-teachers-filter-card,
body.module-page .beauty-salons-filter-card,
body.module-page .beauty-services-filter-card,
body.module-page .beauty-masters-filter-card,
body.module-page .clinic-doctor-filter-card,
body.module-page .search-box{
  padding:14px!important;
  border:1px solid var(--bl-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 13px 38px rgba(28,52,92,.06)!important;
}
body.module-page .restaurant-filter-grid,
body.module-page .med-filter-grid,
body.module-page .clinic-filter-grid,
body.module-page .auto-centers-filter-grid,
body.module-page .auto-masters-filter-grid,
body.module-page .edu-teachers-filter-grid,
body.module-page .beauty-salons-filter-grid,
body.module-page .beauty-services-filter-grid,
body.module-page .beauty-masters-filter-grid{gap:10px!important}
body.module-page .filter-actions,
body.module-page .med-filter-actions,
body.module-page .clinic-filter-actions,
body.module-page .auto-centers-filter-actions,
body.module-page .auto-masters-filter-actions,
body.module-page .edu-teachers-filter-actions,
body.module-page .beauty-salons-filter-actions,
body.module-page .beauty-services-filter-actions,
body.module-page .beauty-masters-filter-actions,
body.module-page .clinic-doctor-filter-actions{gap:8px!important}
body.module-page .feature-tabs,body.module-page .med-type-tabs{display:flex!important;gap:7px!important;overflow:auto!important;padding:4px!important;border:1px solid var(--bl-line)!important;border-radius:16px!important;background:#f8faff!important;scrollbar-width:none!important}
body.module-page .feature-tabs::-webkit-scrollbar,body.module-page .med-type-tabs::-webkit-scrollbar{display:none!important}
body.module-page .feature-tabs a,body.module-page .med-type-tabs a{min-height:38px!important;padding:0 13px!important;border-radius:11px!important;display:inline-flex!important;align-items:center!important;white-space:nowrap!important;color:#64748b!important;font-size:11px!important;font-weight:800!important}
body.module-page .feature-tabs a.active,body.module-page .med-type-tabs a.active{background:#fff!important;color:var(--bl-navy)!important;box-shadow:0 5px 13px rgba(15,34,63,.08)!important}

/* ---------- stat row ---------- */
body.module-page .quick-stats{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important;margin-top:16px!important}
body.module-page .stat-card{padding:15px 16px!important;border:1px solid #e8edf4!important;border-radius:16px!important;background:rgba(255,255,255,.86)!important;box-shadow:none!important}
body.module-page .stat-card strong{display:block!important;color:var(--bl-navy)!important;font-size:20px!important;letter-spacing:-.04em!important}
body.module-page .stat-card span{display:block!important;margin-top:3px!important;color:#8490a4!important;font-size:10px!important;font-weight:750!important}

/* ---------- listing grids ---------- */
body.module-page .restaurant-app-list,
body.module-page .public-clinic-list,
body.module-page .auto-centers-list,
body.module-page .auto-masters-list,
body.module-page .edu-teachers-list,
body.module-page .beauty-salons-list,
body.module-page .beauty-services-list,
body.module-page .beauty-masters-list,
body.module-page .med-doctor-list,
body.module-page .clinic-doctor-list,
body.module-page .salon-services-list,
body.module-page .salon-masters-list,
body.module-page .master-services-list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.module-page .public-clinic-list,body.module-page .med-doctor-list,body.module-page .clinic-doctor-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}

body.module-page .restaurant-app-card,
body.module-page .public-clinic-card,
body.module-page .auto-center-card,
body.module-page .auto-master-card,
body.module-page .edu-teacher-card,
body.module-page .beauty-salon-card,
body.module-page .beauty-service-card,
body.module-page .beauty-master-card,
body.module-page .med-doctor-list-card,
body.module-page .clinic-doctor-card,
body.module-page .salon-service-card,
body.module-page .salon-master-card,
body.module-page .master-service-card,
body.module-page .edu-course-card,
body.module-page .list-item{
  overflow:hidden!important;
  border:1px solid var(--bl-line)!important;
  border-radius:23px!important;
  background:#fff!important;
  color:var(--bl-text)!important;
  box-shadow:0 12px 36px rgba(28,52,92,.055)!important;
  transition:.22s cubic-bezier(.2,.7,.2,1)!important;
}
body.module-page .restaurant-app-card:hover,
body.module-page .public-clinic-card:hover,
body.module-page .auto-center-card:hover,
body.module-page .auto-master-card:hover,
body.module-page .edu-teacher-card:hover,
body.module-page .beauty-salon-card:hover,
body.module-page .beauty-service-card:hover,
body.module-page .beauty-master-card:hover,
body.module-page .med-doctor-list-card:hover,
body.module-page .edu-course-card:hover{transform:translateY(-4px)!important;box-shadow:var(--bl-shadow)!important;border-color:#d8e0eb!important}

/* images / covers */
body.module-page .restaurant-app-cover,
body.module-page .public-clinic-cover,
body.module-page .auto-center-image,
body.module-page .beauty-salon-image,
body.module-page .beauty-service-image,
body.module-page .edu-course-image{height:184px!important;background:linear-gradient(135deg,var(--module-soft),#eef3f9)!important;overflow:hidden!important}
body.module-page .restaurant-app-cover img,
body.module-page .public-clinic-cover img,
body.module-page .auto-center-image img,
body.module-page .beauty-salon-image img,
body.module-page .beauty-service-image img,
body.module-page .edu-course-image img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important}
body.module-page .restaurant-cover-placeholder,body.module-page .clinic-cover-placeholder,body.module-page .salon-detail-cover-placeholder{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;background:
  radial-gradient(circle at 25% 30%,rgba(var(--module-rgb),.22),transparent 23%),
  linear-gradient(135deg,var(--module-soft),#edf2f8)!important;color:var(--module)!important;font-weight:900!important}
body.module-page .restaurant-cover-placeholder svg,body.module-page .clinic-cover-placeholder svg{width:45px!important;height:45px!important}

/* card bodies */
body.module-page .restaurant-app-body,
body.module-page .public-clinic-body,
body.module-page .auto-center-body,
body.module-page .auto-master-card,
body.module-page .edu-teacher-card,
body.module-page .beauty-salon-body,
body.module-page .beauty-service-body,
body.module-page .beauty-master-card,
body.module-page .med-doctor-list-card,
body.module-page .clinic-doctor-card,
body.module-page .salon-service-body,
body.module-page .salon-master-body,
body.module-page .master-service-body,
body.module-page .edu-course-body{padding:17px!important}
body.module-page .restaurant-app-body h3,
body.module-page .public-clinic-card h3,
body.module-page .auto-center-card h3,
body.module-page .auto-master-card h3,
body.module-page .edu-teacher-card h3,
body.module-page .beauty-salon-card h3,
body.module-page .beauty-service-card h3,
body.module-page .beauty-master-card h3,
body.module-page .med-doctor-list-card h3,
body.module-page .clinic-doctor-card h3,
body.module-page .salon-service-card h3,
body.module-page .salon-master-card h3,
body.module-page .master-service-card h3,
body.module-page .edu-course-body h3,
body.module-page .list-item h3{color:var(--bl-navy)!important;letter-spacing:-.035em!important;font-weight:850!important}
body.module-page .restaurant-app-body p,
body.module-page .public-clinic-card p,
body.module-page .auto-center-card p,
body.module-page .auto-master-card p,
body.module-page .edu-teacher-card p,
body.module-page .beauty-salon-card p,
body.module-page .beauty-service-card p,
body.module-page .beauty-master-card p,
body.module-page .med-doctor-list-card p,
body.module-page .clinic-doctor-card p,
body.module-page .salon-service-card p,
body.module-page .salon-master-card p,
body.module-page .master-service-card p,
body.module-page .edu-course-body p,
body.module-page .list-item p{color:var(--bl-muted)!important;line-height:1.5!important}
body.module-page .restaurant-feature-badges span,
body.module-page .doctor-mini-tags span,
body.module-page .clinic-doctor-tags span,
body.module-page .edu-teacher-tags span,
body.module-page .restaurant-top-tags span,
body.module-page .restaurant-tags span,
body.module-page .edu-chip,
body.module-page .beauty-service-category,
body.module-page .auto-center-verified,
body.module-page .auto-master-verified,
body.module-page .edu-teacher-verified,
body.module-page .beauty-salon-verified,
body.module-page .beauty-master-verified,
body.module-page .teacher-detail-verified,
body.module-page .master-detail-verified,
body.module-page .salon-detail-verified{
  border-radius:999px!important;
  background:var(--module-soft)!important;
  color:var(--module)!important;
  border:1px solid rgba(var(--module-rgb),.12)!important;
  font-size:10px!important;
  font-weight:850!important;
}

/* ---------- restaurant detail ---------- */
body.restaurant-detail-page .restaurant-hero-pro{position:relative!important;min-height:410px!important;overflow:hidden!important;border:1px solid var(--bl-line)!important;border-radius:30px!important;background:#fff!important;box-shadow:var(--bl-shadow)!important}
body.restaurant-detail-page .restaurant-hero-cover{min-height:410px!important;background:linear-gradient(135deg,var(--module-soft),#edf2f7)!important}
body.restaurant-detail-page .restaurant-hero-cover img{width:100%!important;height:100%!important;min-height:410px!important;object-fit:cover!important}
body.restaurant-detail-page .restaurant-hero-gradient{background:linear-gradient(90deg,rgba(6,24,52,.88) 0%,rgba(6,24,52,.58) 46%,rgba(6,24,52,.08) 100%)!important}
body.restaurant-detail-page .restaurant-hero-content{padding:38px!important;max-width:760px!important}
body.restaurant-detail-page .restaurant-title-block h1{font-size:clamp(38px,4vw,58px)!important;line-height:1!important;letter-spacing:-.055em!important}
body.restaurant-detail-page .restaurant-description{font-size:14px!important;line-height:1.65!important}
body.restaurant-detail-page .restaurant-glance-grid{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:10px!important;margin-top:15px!important}
body.restaurant-detail-page .restaurant-glance-card{padding:14px!important;border-radius:15px!important;background:rgba(255,255,255,.92)!important;color:var(--bl-navy)!important;box-shadow:none!important}
body.restaurant-detail-page .customer-main-actions{display:grid!important;grid-template-columns:repeat(4,1fr)!important;gap:12px!important}
body.restaurant-detail-page .customer-action-card{padding:17px!important;border:1px solid var(--bl-line)!important;border-radius:19px!important;background:#fff!important;box-shadow:0 10px 28px rgba(28,52,92,.05)!important;color:var(--bl-navy)!important}
body.restaurant-detail-page .menu-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.restaurant-detail-page .menu-item-card{display:grid!important;grid-template-columns:118px 1fr!important;min-height:118px!important;overflow:hidden!important;border:1px solid var(--bl-line)!important;border-radius:19px!important;background:#fff!important;box-shadow:0 9px 28px rgba(28,52,92,.045)!important}
body.restaurant-detail-page .menu-item-image{width:118px!important;height:100%!important;min-height:118px!important;background:var(--module-soft)!important}
body.restaurant-detail-page .menu-item-image img{width:100%!important;height:100%!important;object-fit:cover!important}
body.restaurant-detail-page .menu-item-info{padding:14px!important}
body.restaurant-detail-page .menu-item-headline h3{font-size:15px!important;color:var(--bl-navy)!important}
body.restaurant-detail-page .menu-item-bottom strong{color:var(--module)!important}

/* ---------- clinic / person detail ---------- */
body.med-clinic-page .single-clinic-hero-card,
body.edu-page .teacher-detail-hero-card,
body.beauty-page .master-detail-hero-card{padding:26px!important;border:0!important;background:transparent!important;box-shadow:none!important}
body.med-clinic-page .single-clinic-cover{height:310px!important;border-radius:23px!important;overflow:hidden!important;background:var(--module-soft)!important}
body.med-clinic-page .single-clinic-cover img{width:100%!important;height:100%!important;object-fit:cover!important}
body.med-clinic-page .single-clinic-card{margin:-52px 24px 0!important;position:relative!important;z-index:3!important;padding:22px!important;border:1px solid var(--bl-line)!important;border-radius:22px!important;background:rgba(255,255,255,.96)!important;box-shadow:var(--bl-shadow)!important}
body.med-clinic-page .clinic-contact-grid,
body.edu-page .teacher-detail-info-grid,
body.beauty-page .master-detail-info-grid,
body.beauty-page .salon-detail-info-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:12px!important}
body.med-clinic-page .clinic-contact-card,
body.edu-page .teacher-detail-about-card,
body.edu-page .teacher-detail-contact-card,
body.beauty-page .master-detail-about-card,
body.beauty-page .master-detail-contact-card,
body.beauty-page .salon-detail-about-card,
body.beauty-page .salon-detail-contact-card{padding:20px!important;border:1px solid var(--bl-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 30px rgba(28,52,92,.05)!important}
body.edu-page .teacher-detail-avatar,body.beauty-page .master-detail-avatar,body.auto-page .auto-master-avatar,body.beauty-page .beauty-master-avatar,body.edu-page .edu-teacher-avatar,body.med-page .doctor-avatar,body.med-page .clinic-doctor-avatar{border:4px solid #fff!important;box-shadow:0 8px 24px rgba(28,52,92,.12)!important;background:var(--module-soft)!important}

/* ---------- beauty salon detail ---------- */
body.beauty-page .salon-detail-hero{overflow:hidden!important;border:1px solid var(--bl-line)!important;border-radius:30px!important;background:#fff!important;box-shadow:var(--bl-shadow)!important}
body.beauty-page .salon-detail-cover{height:350px!important;background:var(--module-soft)!important}
body.beauty-page .salon-detail-cover img{width:100%!important;height:100%!important;object-fit:cover!important}
body.beauty-page .salon-detail-overlay{background:linear-gradient(90deg,rgba(7,27,61,.88),rgba(7,27,61,.43),transparent)!important}
body.beauty-page .salon-detail-title{padding:30px!important}
body.beauty-page .salon-detail-title h1{font-size:clamp(36px,4vw,56px)!important;letter-spacing:-.055em!important}

/* ---------- education cards/detail ---------- */
body.edu-courses-page .edu-page-head{padding:25px 30px!important;border:1px solid var(--bl-line)!important;border-radius:26px!important;background:linear-gradient(120deg,#fff,var(--module-soft))!important;box-shadow:var(--bl-shadow)!important}
body.edu-courses-page .edu-page-head h1{font-size:clamp(36px,4vw,54px)!important;color:var(--bl-navy)!important;letter-spacing:-.06em!important;margin:13px 0 8px!important}
body.edu-page .edu-filter-card{grid-template-columns:2fr 1fr 1fr auto auto!important}
body.edu-page .edu-course-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important}
body.edu-page .edu-chip.soft{background:#f2f4f8!important;color:#66758d!important;border-color:#e7ebf1!important}
body.edu-page .edu-card-bottom{border-top:1px solid #eef2f6!important}
body.edu-page .edu-card-bottom strong,body.edu-page .edu-card-action b{color:var(--module)!important}
body.edu-course-detail-page .edu-detail-head{padding:0!important}
body.edu-course-detail-page .edu-detail-hero{display:grid!important;grid-template-columns:minmax(300px,.75fr) minmax(0,1.25fr)!important;gap:0!important;overflow:hidden!important;border:1px solid var(--bl-line)!important;border-radius:28px!important;background:#fff!important;box-shadow:var(--bl-shadow)!important}
body.edu-course-detail-page .edu-detail-image{min-height:360px!important;background:var(--module-soft)!important}
body.edu-course-detail-page .edu-detail-image img{width:100%!important;height:100%!important;object-fit:cover!important}
body.edu-course-detail-page .edu-detail-info{padding:32px!important}
body.edu-course-detail-page .edu-detail-info h1{font-size:clamp(35px,4vw,56px)!important;color:var(--bl-navy)!important;letter-spacing:-.055em!important;line-height:1!important}
body.edu-course-detail-page .edu-meta-grid{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:10px!important}
body.edu-course-detail-page .edu-meta-grid>div{padding:13px!important;border-radius:14px!important;background:#f8faff!important;border:1px solid #edf1f6!important}
body.edu-course-detail-page .edu-two-col{display:grid!important;grid-template-columns:1.2fr .8fr!important;gap:14px!important}
body.edu-course-detail-page .edu-info-panel,body.edu-course-detail-page .edu-group-card{padding:20px!important;border:1px solid var(--bl-line)!important;border-radius:21px!important;background:#fff!important;box-shadow:0 10px 30px rgba(28,52,92,.05)!important}

/* ---------- simple service lists ---------- */
body.auto-services-page .list{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
body.auto-services-page .list-item{padding:18px!important}
body.auto-services-page .restaurant-meta{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-top:11px!important}
body.auto-services-page .restaurant-meta span{padding:6px 9px!important;border-radius:999px!important;background:var(--module-soft)!important;color:#61708a!important;font-size:10px!important;font-weight:750!important}

/* ---------- premium source/data note ---------- */
.boom-data-note{display:flex;align-items:flex-start;gap:10px;margin:0 0 18px;padding:12px 14px;border:1px solid #e6ebf3;border-radius:15px;background:rgba(255,255,255,.8);color:#718099;font-size:10.5px;line-height:1.5;font-weight:650}
.boom-data-note:before{content:"i";flex:0 0 22px;width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#edf3ff;color:#2765d9;font-weight:900}

/* =====================================================================
   MOBILE = app canvas (approved hero mockup language)
===================================================================== */
@media (max-width:760px){
  html{background:#eef2f8!important}
  body.module-page{background:#f4f6fa!important;overflow-x:hidden!important}
  body.module-page .app-shell{width:100%!important;max-width:560px!important;min-height:100vh!important;margin:0 auto!important;background:#f7f9fc!important;box-shadow:0 0 80px rgba(20,40,75,.09)!important;overflow:clip!important}
  body.module-page .premium-topbar{
    position:fixed!important;top:0!important;left:50%!important;transform:translateX(-50%)!important;
    width:100%!important;max-width:560px!important;height:66px!important;margin:0!important;padding:9px 13px!important;
    border:0!important;border-bottom:1px solid rgba(224,230,239,.9)!important;border-radius:0!important;
    background:rgba(255,255,255,.94)!important;box-shadow:0 5px 20px rgba(25,46,80,.055)!important;
    backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;
    grid-template-columns:1fr auto!important;z-index:1100!important
  }
  body.module-page .premium-brand img{width:132px!important;max-height:40px!important}
  body.module-page .premium-desktop-nav{display:none!important}
  body.module-page .premium-topbar-right{gap:7px!important}
  body.module-page .premium-lang-menu summary{height:42px!important;min-width:66px!important;padding:0 9px!important;border-radius:13px!important}
  body.module-page .premium-lang-menu .lang-globe{display:none!important}
  body.module-page .premium-lang-list{top:48px!important}
  body.module-page .premium-login-btn,body.module-page .premium-account-btn{width:42px!important;height:42px!important;padding:0!important;border-radius:13px!important}
  body.module-page .premium-login-btn b,body.module-page .premium-account-btn b{display:none!important}
  body.module-page .premium-notification{width:42px!important;height:42px!important;border-radius:13px!important}
  body.module-page .premium-app-main{width:100%!important;margin:0!important;padding:78px 12px 96px!important;min-height:100vh!important}
  body.module-page .premium-footer{display:none!important}

  body.module-page .section{margin:0 0 12px!important;padding:0!important}
  body.module-page .section-title,body.module-page .section-head .section-title{font-size:21px!important}
  body.module-page .section-head{align-items:center!important;margin-bottom:10px!important}
  body.module-page .back-link{min-height:34px!important;padding:0 11px!important;border-radius:11px!important;font-size:10px!important}
  body.module-page .hero-eyebrow{font-size:8px!important;letter-spacing:.16em!important;margin-bottom:9px!important}

  /* Mobile module hero: compact app dashboard card */
  body.module-page .module-hero,
  body.module-page .food-app-hero,
  body.module-page .med-list-hero,
  body.module-page .med-clinics-hero,
  body.module-page .auto-centers-hero,
  body.module-page .auto-masters-hero,
  body.module-page .edu-teachers-hero,
  body.module-page .beauty-salons-hero,
  body.module-page .beauty-services-hero,
  body.module-page .beauty-masters-hero{
    min-height:0!important;padding:22px 18px!important;border-radius:24px!important;display:block!important;
    background:radial-gradient(circle at 94% 0%,rgba(var(--module-rgb),.17),transparent 34%),linear-gradient(135deg,#fff 0%,var(--module-soft) 100%)!important;
    box-shadow:0 12px 34px rgba(28,52,92,.075)!important
  }
  body.module-page .module-hero h1,
  body.module-page .food-app-hero h1,
  body.module-page .med-list-hero h1,
  body.module-page .med-clinics-hero h1,
  body.module-page .auto-centers-hero h1,
  body.module-page .auto-masters-hero h1,
  body.module-page .edu-teachers-hero h1,
  body.module-page .beauty-salons-hero h1,
  body.module-page .beauty-services-hero h1,
  body.module-page .beauty-masters-hero h1{font-size:31px!important;line-height:.98!important;margin:0 0 10px!important}
  body.module-page .module-hero p,
  body.module-page .food-app-hero p,
  body.module-page .med-list-hero p,
  body.module-page .med-clinics-hero p,
  body.module-page .auto-centers-hero p,
  body.module-page .auto-masters-hero p,
  body.module-page .edu-teachers-hero p,
  body.module-page .beauty-salons-hero p,
  body.module-page .beauty-services-hero p,
  body.module-page .beauty-masters-hero p{font-size:12px!important;line-height:1.55!important;margin:0!important;max-width:86%!important}
  body.module-page .pro-module-hero-mockup{margin-top:15px!important;justify-content:center!important}
  body.module-page .pro-module-hero-mockup img{width:100%!important;max-height:210px!important;border-radius:18px!important}

  body.module-page .action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
  body.module-page .action-card{min-height:142px!important;padding:15px!important;border-radius:18px!important;box-shadow:0 7px 20px rgba(28,52,92,.045)!important}
  body.module-page .action-card>span:first-child{width:37px!important;height:37px!important;border-radius:12px!important}
  body.module-page .action-card h3{font-size:14px!important;margin:14px 0 5px!important}
  body.module-page .action-card p{font-size:10px!important;line-height:1.45!important}

  /* Filters become app search sheet */
  body.module-page .restaurant-search-card,
  body.module-page .med-filter-card,
  body.module-page .clinic-filter-card,
  body.module-page .auto-centers-filter-card,
  body.module-page .auto-masters-filter-card,
  body.module-page .edu-filter-card,
  body.module-page .edu-teachers-filter-card,
  body.module-page .beauty-salons-filter-card,
  body.module-page .beauty-services-filter-card,
  body.module-page .beauty-masters-filter-card,
  body.module-page .clinic-doctor-filter-card,
  body.module-page .search-box{padding:10px!important;border-radius:19px!important;box-shadow:0 8px 24px rgba(28,52,92,.055)!important}
  body.module-page .restaurant-filter-grid,
  body.module-page .med-filter-grid,
  body.module-page .clinic-filter-grid,
  body.module-page .auto-centers-filter-grid,
  body.module-page .auto-masters-filter-grid,
  body.module-page .edu-filter-card,
  body.module-page .edu-teachers-filter-grid,
  body.module-page .beauty-salons-filter-grid,
  body.module-page .beauty-services-filter-grid,
  body.module-page .beauty-masters-filter-grid,
  body.module-page .clinic-doctor-grid{display:grid!important;grid-template-columns:1fr!important;gap:7px!important}
  body.module-page input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.module-page select,body.module-page .form-control{min-height:44px!important;border-radius:13px!important;font-size:12px!important}
  body.module-page .btn,body.module-page button.btn{min-height:43px!important;border-radius:13px!important;font-size:11px!important}
  body.module-page .filter-actions,body.module-page .med-filter-actions,body.module-page .clinic-filter-actions,body.module-page .auto-centers-filter-actions,body.module-page .auto-masters-filter-actions,body.module-page .edu-teachers-filter-actions,body.module-page .beauty-salons-filter-actions,body.module-page .beauty-services-filter-actions,body.module-page .beauty-masters-filter-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important}

  body.module-page .quick-stats{display:flex!important;gap:8px!important;overflow-x:auto!important;margin:11px -2px 0!important;padding:2px!important;scroll-snap-type:x proximity!important;scrollbar-width:none!important}
  body.module-page .quick-stats::-webkit-scrollbar{display:none!important}
  body.module-page .stat-card{flex:0 0 125px!important;padding:12px!important;border-radius:15px!important;scroll-snap-align:start!important}
  body.module-page .stat-card strong{font-size:18px!important}

  /* all lists are a mobile app feed */
  body.module-page .restaurant-app-list,
  body.module-page .public-clinic-list,
  body.module-page .auto-centers-list,
  body.module-page .auto-masters-list,
  body.module-page .edu-teachers-list,
  body.module-page .beauty-salons-list,
  body.module-page .beauty-services-list,
  body.module-page .beauty-masters-list,
  body.module-page .med-doctor-list,
  body.module-page .clinic-doctor-list,
  body.module-page .salon-services-list,
  body.module-page .salon-masters-list,
  body.module-page .master-services-list,
  body.edu-page .edu-course-grid,
  body.auto-services-page .list{grid-template-columns:1fr!important;gap:10px!important;padding:0!important}

  body.module-page .restaurant-app-card,
  body.module-page .public-clinic-card,
  body.module-page .auto-center-card,
  body.module-page .auto-master-card,
  body.module-page .edu-teacher-card,
  body.module-page .beauty-salon-card,
  body.module-page .beauty-service-card,
  body.module-page .beauty-master-card,
  body.module-page .med-doctor-list-card,
  body.module-page .clinic-doctor-card,
  body.module-page .salon-service-card,
  body.module-page .salon-master-card,
  body.module-page .master-service-card,
  body.module-page .edu-course-card,
  body.module-page .list-item{border-radius:20px!important;box-shadow:0 8px 24px rgba(28,52,92,.05)!important}
  body.module-page .restaurant-app-cover,body.module-page .public-clinic-cover,body.module-page .auto-center-image,body.module-page .beauty-salon-image,body.module-page .beauty-service-image,body.module-page .edu-course-image{height:164px!important}
  body.module-page .restaurant-app-body,body.module-page .public-clinic-body,body.module-page .auto-center-body,body.module-page .auto-master-card,body.module-page .edu-teacher-card,body.module-page .beauty-salon-body,body.module-page .beauty-service-body,body.module-page .beauty-master-card,body.module-page .med-doctor-list-card,body.module-page .clinic-doctor-card,body.module-page .salon-service-body,body.module-page .salon-master-body,body.module-page .master-service-body,body.module-page .edu-course-body{padding:14px!important}

  /* Detail pages */
  body.restaurant-detail-page .restaurant-hero-pro{min-height:330px!important;border-radius:24px!important}
  body.restaurant-detail-page .restaurant-hero-cover,body.restaurant-detail-page .restaurant-hero-cover img{min-height:330px!important}
  body.restaurant-detail-page .restaurant-hero-gradient{background:linear-gradient(0deg,rgba(6,24,52,.92),rgba(6,24,52,.16) 75%)!important}
  body.restaurant-detail-page .restaurant-hero-content{padding:20px!important;align-self:end!important}
  body.restaurant-detail-page .restaurant-title-block h1{font-size:34px!important}
  body.restaurant-detail-page .restaurant-glance-grid{grid-template-columns:repeat(2,1fr)!important;gap:7px!important}
  body.restaurant-detail-page .customer-main-actions{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}
  body.restaurant-detail-page .customer-action-card{padding:13px!important;border-radius:16px!important}
  body.restaurant-detail-page .menu-list{grid-template-columns:1fr!important;gap:8px!important}
  body.restaurant-detail-page .menu-item-card{grid-template-columns:88px 1fr!important;min-height:96px!important;border-radius:16px!important}
  body.restaurant-detail-page .menu-item-image{width:88px!important;min-height:96px!important}
  body.restaurant-detail-page .menu-item-info{padding:11px!important}

  body.med-clinic-page .single-clinic-hero{border-radius:24px!important}
  body.med-clinic-page .single-clinic-hero-card{padding:12px!important}
  body.med-clinic-page .single-clinic-cover{height:220px!important;border-radius:19px!important}
  body.med-clinic-page .single-clinic-card{margin:-34px 10px 0!important;padding:16px!important;border-radius:18px!important}
  body.med-clinic-page .clinic-contact-grid,body.edu-page .teacher-detail-info-grid,body.beauty-page .master-detail-info-grid,body.beauty-page .salon-detail-info-grid{grid-template-columns:1fr!important}

  body.edu-courses-page .edu-page-head{padding:18px!important;border-radius:22px!important}
  body.edu-courses-page .edu-page-head h1{font-size:30px!important}
  body.edu-page .edu-filter-card{grid-template-columns:1fr!important;margin:0!important}
  body.edu-course-detail-page .edu-detail-hero{grid-template-columns:1fr!important;border-radius:22px!important}
  body.edu-course-detail-page .edu-detail-image{min-height:205px!important;height:205px!important}
  body.edu-course-detail-page .edu-detail-info{padding:18px!important}
  body.edu-course-detail-page .edu-detail-info h1{font-size:31px!important}
  body.edu-course-detail-page .edu-meta-grid{grid-template-columns:1fr 1fr!important;gap:7px!important}
  body.edu-course-detail-page .edu-two-col{grid-template-columns:1fr!important;gap:9px!important}

  body.beauty-page .salon-detail-hero{border-radius:24px!important}
  body.beauty-page .salon-detail-cover{height:270px!important}
  body.beauty-page .salon-detail-overlay{background:linear-gradient(0deg,rgba(7,27,61,.9),rgba(7,27,61,.1) 78%)!important}
  body.beauty-page .salon-detail-title{padding:18px!important}
  body.beauty-page .salon-detail-title h1{font-size:32px!important}

  .boom-data-note{margin-bottom:12px;padding:10px 11px;border-radius:13px;font-size:9.5px}

  /* Bottom dock: native-app proportions */
  body.module-page .boom-2026-dock{
    position:fixed!important;left:50%!important;bottom:max(9px,env(safe-area-inset-bottom))!important;transform:translateX(-50%)!important;
    width:calc(100% - 22px)!important;max-width:538px!important;height:68px!important;padding:7px 7px!important;
    display:grid!important;grid-template-columns:repeat(5,1fr)!important;align-items:center!important;
    border:1px solid rgba(219,226,238,.94)!important;border-radius:23px!important;
    background:rgba(255,255,255,.96)!important;box-shadow:0 14px 38px rgba(17,37,69,.16)!important;
    backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;z-index:1200!important
  }
  body.module-page .boom-2026-dock .nav-four-item{height:52px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:3px!important;border-radius:16px!important;color:#8793a8!important}
  body.module-page .boom-2026-dock .nav-four-item>span{width:25px!important;height:25px!important;display:grid!important;place-items:center!important}
  body.module-page .boom-2026-dock .nav-four-item svg{width:19px!important;height:19px!important}
  body.module-page .boom-2026-dock .nav-four-item small{font-size:8px!important;font-weight:850!important;line-height:1!important}
  body.module-page .boom-2026-dock .nav-four-item.active{background:#f2f6fd!important;color:var(--bl-navy)!important}
  body.module-page .boom-2026-dock .nav-four-center{position:relative!important;transform:translateY(-10px)!important;width:54px!important;height:54px!important;justify-self:center!important;border-radius:18px!important;background:var(--bl-navy)!important;color:#fff!important;box-shadow:0 9px 22px rgba(7,27,61,.22)!important}
  body.module-page .boom-2026-dock .nav-four-center.active{background:var(--bl-navy)!important;color:#fff!important}
  body.module-page .boom-2026-dock .nav-four-center small{display:none!important}
}

@media (min-width:761px) and (max-width:1100px){
  body.module-page .action-grid{grid-template-columns:repeat(2,1fr)!important}
  body.module-page .restaurant-app-list,body.module-page .auto-centers-list,body.module-page .auto-masters-list,body.module-page .edu-teachers-list,body.module-page .beauty-salons-list,body.module-page .beauty-services-list,body.module-page .beauty-masters-list,body.edu-page .edu-course-grid,body.auto-services-page .list{grid-template-columns:repeat(2,1fr)!important}
  body.module-page .public-clinic-list,body.module-page .med-doctor-list{grid-template-columns:1fr!important}
  body.module-page .module-hero{grid-template-columns:1fr 1fr!important;padding:32px!important}
}


.boom-real-data-disclaimer{max-width:1450px;margin:6px auto 18px;padding:10px 16px;color:#77859a;font-size:11px;line-height:1.45;text-align:center}
@media(max-width:760px){.boom-real-data-disclaimer{margin:8px 14px 92px;padding:10px 12px;border:1px solid #e8edf5;border-radius:14px;background:#fff;font-size:9.5px}}

/* =========================================================
   SOURCE: assets/css/boomlink-masterline2026.css
   Consolidated into the single Boomlink stylesheet
   ========================================================= */
/* ==========================================================
   Boomlink Masterline 2026
   One visual system for every public page, aligned to homepage
   ========================================================== */
:root{
  --blx-ink:#071b3d;
  --blx-ink-2:#13294d;
  --blx-muted:#718099;
  --blx-bg:#f8faff;
  --blx-card:#ffffff;
  --blx-line:#e7edf5;
  --blx-blue:#1c62ff;
  --blx-shadow:0 18px 55px rgba(24,50,86,.075);
  --blx-shadow-lg:0 28px 80px rgba(24,50,86,.105);
  --blx-r-lg:28px;
  --blx-r-md:20px;
  --blx-r-sm:14px;
}
html{background:var(--blx-bg)!important}
body{background:linear-gradient(180deg,#fff 0,#f9fbff 360px,#f8faff 100%)!important;color:var(--blx-ink)!important}
.premium-app-main{width:min(1440px,calc(100% - 56px))!important;margin:0 auto!important;padding-top:30px!important;padding-bottom:48px!important}

/* Homepage: use a real device render instead of a CSS-drawn phone */
.premium-hero-media{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}
.premium-real-device-stage{position:relative;width:min(100%,720px);margin-left:auto;isolation:isolate}
.premium-real-device-stage:before{content:"";position:absolute;z-index:-1;inset:13% 7% 8% 13%;border-radius:50%;background:radial-gradient(circle,rgba(28,98,255,.17),rgba(109,93,252,.08) 48%,transparent 72%);filter:blur(18px)}
.premium-real-device-mockup{display:block;width:100%;height:auto;object-fit:contain;filter:drop-shadow(0 30px 42px rgba(7,27,61,.14));transform:translate3d(1.5%,0,0)}

/* Site-wide typography rhythm */
body:not(.premium-home) h1,body:not(.premium-home) h2,body:not(.premium-home) h3{color:var(--blx-ink)!important;letter-spacing:-.04em!important}
body:not(.premium-home) p{color:var(--blx-muted)}

/* The same card language everywhere */
body:not(.premium-home) :is(.card,.simple-card,.form-card,.hero-card,.provider-panel,.profile-card,.dashboard-card,.action-card,.stat-card,.feature-row,.edu-panel,.admin-card,.search-result-card,.list-item,.doctor-glance-card,.restaurant-glance-card,.clinic-action-card,.doctor-action-card,.pharmacy-action-card,.staff-action-card,.customer-action-card,.food-quick-card,.med-quick-card,.food-feature-card,.med-feature-card,.payment-mode-card,.bill-detail-section){
  border:1px solid var(--blx-line)!important;
  border-radius:var(--blx-r-md)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:var(--blx-shadow)!important;
}
body:not(.premium-home) :is(.form-card,.provider-panel,.profile-card,.dashboard-card,.edu-panel){padding:22px!important}

/* Buttons – same weight, radius and motion as home */
body:not(.premium-home) :is(.btn,.btn-blue,.btn-primary,.btn-light,button[type="submit"]){
  border-radius:14px!important;font-weight:800!important;min-height:44px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important
}
body:not(.premium-home) :is(.btn-blue,.btn-primary,button[type="submit"]){background:var(--blx-ink)!important;border-color:var(--blx-ink)!important;color:#fff!important;box-shadow:0 9px 22px rgba(7,27,61,.13)!important}
body:not(.premium-home) :is(.btn-blue,.btn-primary,button[type="submit"]):hover{transform:translateY(-1px)!important;background:#0b2856!important}
body:not(.premium-home) .btn-light{background:#fff!important;border:1px solid #dfe6ef!important;color:var(--blx-ink)!important;box-shadow:none!important}

/* Inputs */
body:not(.premium-home) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea,.form-control){
  border:1px solid #dfe6ef!important;border-radius:14px!important;background:#f8faff!important;box-shadow:none!important;color:var(--blx-ink)!important
}
body:not(.premium-home) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,.form-control){min-height:48px!important}
body:not(.premium-home) :is(input,select,textarea):focus{background:#fff!important;border-color:#a9bfff!important;box-shadow:0 0 0 4px rgba(28,98,255,.08)!important;outline:0!important}

/* General top heroes on auth/profile/services/root pages */
body:not(.premium-home):not(.module-page) :is(.hero-card,.page-hero,.services-hero,.profile-hero,.auth-card){
  border:1px solid var(--blx-line)!important;border-radius:var(--blx-r-lg)!important;background:linear-gradient(120deg,#fff 0%,#fff 56%,#f2f6ff 100%)!important;box-shadow:var(--blx-shadow-lg)!important
}

/* Module pages: remove remaining visual drift and use the exact homepage navy/white language */
body.module-page .premium-app-main{padding-top:24px!important}
body.module-page .section{margin-bottom:20px!important}
body.module-page :is(.module-hero,.food-app-hero,.med-list-hero,.med-clinics-hero,.auto-centers-hero,.auto-masters-hero,.edu-teachers-hero,.beauty-salons-hero,.beauty-services-hero,.beauty-masters-hero,.single-clinic-hero,.teacher-detail-hero,.master-detail-hero){
  border-radius:var(--blx-r-lg)!important;border-color:var(--blx-line)!important;box-shadow:var(--blx-shadow-lg)!important
}
body.module-page .module-hero{padding:40px 44px!important}
body.module-page .module-hero h1{font-size:clamp(38px,4.15vw,62px)!important;font-weight:850!important;line-height:.98!important}
body.module-page .section-title{font-size:clamp(23px,2vw,29px)!important;font-weight:850!important}
body.module-page .action-card{min-height:172px!important}
body.module-page :is(.action-card,.simple-card,.stat-card,.form-card,.provider-panel){box-shadow:0 12px 36px rgba(24,50,86,.06)!important}
body.module-page :is(.action-card,.simple-card,.form-card,.provider-panel):hover{border-color:#d9e2ee!important}

/* Tables / management views */
body:not(.premium-home) :is(.table-wrap,.system-table-wrap,.admin-table-wrap){border:1px solid var(--blx-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:var(--blx-shadow)!important;overflow:auto!important}
body:not(.premium-home) table{border-collapse:separate!important;border-spacing:0!important}
body:not(.premium-home) table th{background:#f7f9fd!important;color:#5c6b84!important;font-size:11px!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body:not(.premium-home) table td{border-color:#edf1f6!important}

/* Empty states and notices */
body:not(.premium-home) .empty-state{border:1px dashed #d7e0ec!important;border-radius:20px!important;background:#fbfcff!important;color:var(--blx-muted)!important;box-shadow:none!important}
body:not(.premium-home) .flash{border-radius:16px!important;box-shadow:0 10px 28px rgba(24,50,86,.06)!important}

/* Keep media consistent */
body:not(.premium-home) :is(.search-result-image img,.card img,.simple-card img){border-radius:16px}

@media (max-width: 1050px){
  .premium-app-main{width:min(100% - 32px,1440px)!important}
  .premium-real-device-stage{width:min(100%,620px)}
}
@media (max-width: 780px){
  .premium-app-main{width:calc(100% - 24px)!important;padding-top:16px!important;padding-bottom:92px!important}
  .premium-real-device-stage{width:112%;margin-left:-6%;margin-top:8px}
  .premium-real-device-mockup{transform:none;filter:drop-shadow(0 20px 30px rgba(7,27,61,.12))}
  body.module-page .module-hero{padding:22px!important;border-radius:24px!important}
  body.module-page .module-hero h1{font-size:clamp(34px,10vw,48px)!important}
  body:not(.premium-home) :is(.form-card,.provider-panel,.profile-card,.dashboard-card,.edu-panel){padding:17px!important}
  body:not(.premium-home) :is(.card,.simple-card,.form-card,.hero-card,.provider-panel,.profile-card,.dashboard-card,.action-card,.stat-card,.feature-row,.edu-panel,.admin-card,.search-result-card,.list-item){border-radius:17px!important}
}

/* =========================================================
   PAGE: admin/edu.php
   Former inline <style> rules; isolated to .page-scope-admin-edu
   ========================================================= */
body.page-scope-admin-edu .edu-admin-head h1{font-size:40px;line-height:.95;margin:12px 0 8px;letter-spacing:-.06em}body.page-scope-admin-edu .edu-admin-head p{color:#64748b}body.page-scope-admin-edu .edu-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}body.page-scope-admin-edu .admin-panel{background:#fff;border-radius:30px;padding:20px;box-shadow:0 18px 55px rgba(15,23,42,.08)}body.page-scope-admin-edu .admin-panel h2{margin-top:0}body.page-scope-admin-edu .admin-row{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;border-bottom:1px solid #f1f5f9;padding:12px 0}body.page-scope-admin-edu .admin-row:last-child{border-bottom:0}body.page-scope-admin-edu .admin-row strong{display:block}body.page-scope-admin-edu .admin-row span{display:block;color:#64748b;font-size:13px;margin-top:4px}body.page-scope-admin-edu .admin-row form{display:flex;gap:8px;flex-wrap:wrap}body.page-scope-admin-edu .mini-list{display:flex;gap:8px;flex-wrap:wrap}body.page-scope-admin-edu .mini-list span{border-radius:999px;background:#eff6ff;color:#1d4ed8;padding:8px 11px;font-weight:900;font-size:13px}@media(max-width:900px){body.page-scope-admin-edu .edu-admin-grid{grid-template-columns:1fr}body.page-scope-admin-edu .section{padding-left:12px;padding-right:12px}body.page-scope-admin-edu .admin-row{grid-template-columns:1fr}body.page-scope-admin-edu .edu-admin-head h1{font-size:34px}}

/* =========================================================
   PAGE: admin/index.php
   Former inline <style> rules; isolated to .page-scope-admin-index
   ========================================================= */

body.page-scope-admin-index .admin-dashboard-page .app-main{
    padding-top: 18px;
}

body.page-scope-admin-index .admin-dashboard-hero{
    position: relative;
    overflow: hidden;
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(168,85,247,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 24px 60px rgba(15,23,42,.26);
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 72px;
    gap: 16px;
    align-items: start;
}

body.page-scope-admin-index .admin-dashboard-hero::after{
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    right: -85px;
    bottom: -90px;
    background: rgba(255,255,255,.10);
}

body.page-scope-admin-index .admin-hero-content{
    position: relative;
    z-index: 2;
}

body.page-scope-admin-index .admin-dashboard-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 36px;
    line-height: .96;
    letter-spacing: -0.08em;
}

body.page-scope-admin-index .admin-dashboard-hero p{
    margin: 0;
    color: rgba(255,255,255,.78);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-admin-index .admin-hero-user{
    margin-top: 16px;
    border-radius: 22px;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(14px);
    padding: 12px 14px;
}

body.page-scope-admin-index .admin-hero-user span{
    display: block;
    color: rgba(255,255,255,.70);
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-admin-index .admin-hero-user strong{
    display: block;
    color: #fff;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-admin-index .admin-hero-icon{
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 26px;
    background: rgba(255,255,255,.14);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
}

body.page-scope-admin-index .admin-hero-icon svg{
    width: 34px;
    height: 34px;
    fill: currentColor;
}

body.page-scope-admin-index .admin-overview-section{
    margin-top: 18px;
}

body.page-scope-admin-index .admin-section-subtitle{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-admin-index .admin-stats-grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-admin-index .admin-stat-card{
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 13px;
    min-height: 112px;
}

body.page-scope-admin-index .admin-stat-card span{
    width: 38px;
    height: 38px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 11px;
}

body.page-scope-admin-index .admin-stat-card span svg{
    width: 19px;
    height: 19px;
    fill: currentColor;
}

body.page-scope-admin-index .admin-stat-card.users span{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-admin-index .admin-stat-card.doctors span, body.page-scope-admin-index .admin-stat-card.appointments span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-admin-index .admin-stat-card.pending span{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-admin-index .admin-stat-card.active span, body.page-scope-admin-index .admin-stat-card.today span{
    background: rgba(168,85,247,.14);
    color: #7e22ce;
}

body.page-scope-admin-index .admin-stat-card.food span, body.page-scope-admin-index .admin-stat-card.orders span{
    background: rgba(249,115,22,.14);
    color: #f97316;
}

body.page-scope-admin-index .admin-stat-card strong{
    display: block;
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.05em;
}

body.page-scope-admin-index .admin-stat-card small{
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.25;
}

body.page-scope-admin-index .admin-module-grid{
    display: grid;
    gap: 14px;
}

body.page-scope-admin-index .admin-module-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 15px;
    color: var(--text);
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 13px;
    align-items: center;
}

body.page-scope-admin-index .admin-module-card > span{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-admin-index .admin-module-card > span svg{
    width: 25px;
    height: 25px;
    fill: currentColor;
}

body.page-scope-admin-index .admin-module-card.med > span{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-admin-index .admin-module-card.food > span{
    background: rgba(249,115,22,.14);
    color: #f97316;
}

body.page-scope-admin-index .admin-module-card.beauty > span{
    background: rgba(236,72,153,.13);
    color: #db2777;
}

body.page-scope-admin-index .admin-module-card.edu > span{
    background: rgba(168,85,247,.14);
    color: #7e22ce;
}

body.page-scope-admin-index .admin-module-card.auto > span{
    background: rgba(100,116,139,.14);
    color: #475569;
}

body.page-scope-admin-index .admin-module-card.users > span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-admin-index .admin-module-card.notifications > span{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-admin-index .admin-module-card.loyalty > span{
    background: rgba(22,163,74,.13);
    color: #15803d;
}

body.page-scope-admin-index .admin-module-card.settings > span{
    background: rgba(15,23,42,.08);
    color: #0f172a;
}

body.page-scope-admin-index .admin-module-card h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-admin-index .admin-module-card p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

body.page-scope-admin-index .admin-module-card b{
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-admin-index .admin-pending-list{
    display: grid;
    gap: 14px;
}

body.page-scope-admin-index .admin-pending-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-index .pending-doctor-main{
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-admin-index .pending-avatar{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-admin-index .pending-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-index .pending-avatar svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-admin-index .pending-doctor-main span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-admin-index .pending-doctor-main h3{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-admin-index .pending-doctor-main p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-admin-index .pending-meta-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-admin-index .pending-meta-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-admin-index .pending-meta-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-admin-index .pending-meta-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-admin-index .pending-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-admin-index .pending-actions form{
    margin: 0;
}

@media (max-width: 430px) {
    body.page-scope-admin-index .admin-dashboard-hero{
        border-radius: 32px;
        grid-template-columns: 1fr;
    }

    body.page-scope-admin-index .admin-hero-icon{
        display: none;
    }

    body.page-scope-admin-index .admin-dashboard-hero h1{
        font-size: 32px;
    }

    body.page-scope-admin-index .admin-stats-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-admin-index .admin-module-card{
        grid-template-columns: 54px 1fr;
    }

    body.page-scope-admin-index .admin-module-card b{
        grid-column: 1 / -1;
        justify-content: center;
    }

    body.page-scope-admin-index .pending-meta-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: admin/med-appointments.php
   Former inline <style> rules; isolated to .page-scope-admin-med-appointments
   ========================================================= */

body.page-scope-admin-med-appointments .admin-med-appointments-page .app-main{
    padding-top: 18px;
}

body.page-scope-admin-med-appointments .admin-med-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
    margin-bottom: 14px;
}

body.page-scope-admin-med-appointments .admin-med-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-admin-med-appointments .admin-med-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-admin-med-appointments .admin-med-hero .hero-actions{
    margin-top: 16px;
}

body.page-scope-admin-med-appointments .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-admin-med-appointments .admin-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-appointments .admin-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-admin-med-appointments .admin-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-admin-med-appointments .admin-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-admin-med-appointments .admin-filter-grid{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}

body.page-scope-admin-med-appointments .admin-filter-grid select{
    min-height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    background: #fff;
    padding: 0 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
    outline: 0;
}

body.page-scope-admin-med-appointments .admin-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-admin-med-appointments .admin-appointment-list{
    display: grid;
    gap: 14px;
}

body.page-scope-admin-med-appointments .admin-appointment-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-appointments .admin-appointment-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-admin-med-appointments .appointment-doctor-box{
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

body.page-scope-admin-med-appointments .appointment-doctor-avatar{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-admin-med-appointments .appointment-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-appointments .appointment-doctor-avatar svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-admin-med-appointments .appointment-doctor-box h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-admin-med-appointments .appointment-doctor-box p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-admin-med-appointments .appointment-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}

body.page-scope-admin-med-appointments .status-pill{
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-admin-med-appointments .status-pending, body.page-scope-admin-med-appointments .payment-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-admin-med-appointments .status-confirmed, body.page-scope-admin-med-appointments .payment-paid{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-admin-med-appointments .status-completed, body.page-scope-admin-med-appointments .payment-not_required{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-admin-med-appointments .status-cancelled, body.page-scope-admin-med-appointments .payment-failed, body.page-scope-admin-med-appointments .payment-refunded{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-admin-med-appointments .appointment-main-date{
    margin-top: 13px;
    border-radius: 24px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    padding: 16px;
    box-shadow: 0 16px 38px rgba(14,165,233,.18);
}

body.page-scope-admin-med-appointments .appointment-main-date strong{
    display: block;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-admin-med-appointments .appointment-main-date span{
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    opacity: .86;
}

body.page-scope-admin-med-appointments .admin-appointment-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-admin-med-appointments .admin-appointment-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-admin-med-appointments .admin-appointment-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-admin-med-appointments .admin-appointment-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-admin-med-appointments .admin-clinic-box, body.page-scope-admin-med-appointments .admin-app-note{
    margin-top: 12px;
    border-radius: 20px;
    background: #f8fafc;
    padding: 13px;
}

body.page-scope-admin-med-appointments .admin-clinic-box h3{
    margin: 0 0 6px;
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-admin-med-appointments .admin-clinic-box p{
    margin: 0;
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
}

body.page-scope-admin-med-appointments .admin-clinic-box small{
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

body.page-scope-admin-med-appointments .admin-app-note{
    color: #92400e;
    background: rgba(245,158,11,.09);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-admin-med-appointments .admin-appointment-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-admin-med-appointments .admin-appointment-actions form{
    margin: 0;
}

@media (max-width: 430px) {
    body.page-scope-admin-med-appointments .admin-med-hero{
        border-radius: 30px;
    }

    body.page-scope-admin-med-appointments .admin-filter-grid, body.page-scope-admin-med-appointments .admin-filter-actions, body.page-scope-admin-med-appointments .admin-appointment-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-admin-med-appointments .admin-appointment-head{
        display: block;
    }

    body.page-scope-admin-med-appointments .appointment-badges{
        justify-content: flex-start;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: admin/med-clinics.php
   Former inline <style> rules; isolated to .page-scope-admin-med-clinics
   ========================================================= */

body.page-scope-admin-med-clinics .admin-med-clinics-page .app-main{
    padding-top: 18px;
}

body.page-scope-admin-med-clinics .admin-med-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
    margin-bottom: 14px;
}

body.page-scope-admin-med-clinics .admin-med-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-admin-med-clinics .admin-med-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-admin-med-clinics .admin-med-hero .hero-actions{
    margin-top: 16px;
}

body.page-scope-admin-med-clinics .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-admin-med-clinics .admin-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-clinics .admin-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-admin-med-clinics .admin-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-admin-med-clinics .admin-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-admin-med-clinics .admin-status-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0;
}

body.page-scope-admin-med-clinics .admin-status-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-admin-med-clinics .admin-status-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-admin-med-clinics .admin-status-tabs input{
    display: none;
}

body.page-scope-admin-med-clinics .admin-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-admin-med-clinics .admin-clinic-list{
    display: grid;
    gap: 16px;
}

body.page-scope-admin-med-clinics .admin-clinic-card{
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-admin-med-clinics .admin-clinic-cover{
    height: 150px;
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.22), transparent 42%),
        linear-gradient(135deg, #f8fafc, #e0f2fe);
}

body.page-scope-admin-med-clinics .admin-clinic-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-clinics .admin-clinic-cover-placeholder{
    width: 100%;
    height: 100%;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-admin-med-clinics .admin-clinic-cover-placeholder svg{
    width: 54px;
    height: 54px;
    fill: currentColor;
}

body.page-scope-admin-med-clinics .admin-clinic-cover .status-pill{
    position: absolute;
    top: 12px;
    right: 12px;
}

body.page-scope-admin-med-clinics .status-pill{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-admin-med-clinics .status-pending{
    background: rgba(245,158,11,.94);
    color: #fff;
}

body.page-scope-admin-med-clinics .status-active{
    background: rgba(22,163,74,.94);
    color: #fff;
}

body.page-scope-admin-med-clinics .status-blocked{
    background: rgba(239,68,68,.94);
    color: #fff;
}

body.page-scope-admin-med-clinics .admin-clinic-body{
    padding: 14px;
}

body.page-scope-admin-med-clinics .admin-clinic-main{
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-admin-med-clinics .admin-clinic-logo{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-admin-med-clinics .admin-clinic-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-clinics .admin-clinic-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-admin-med-clinics .admin-clinic-main h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    letter-spacing: -0.05em;
}

body.page-scope-admin-med-clinics .admin-clinic-main p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-admin-med-clinics .admin-clinic-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-admin-med-clinics .admin-clinic-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-admin-med-clinics .admin-clinic-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-admin-med-clinics .admin-clinic-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-admin-med-clinics .admin-clinic-address{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(14,165,233,.08);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-admin-med-clinics .admin-clinic-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-admin-med-clinics .admin-clinic-actions form{
    margin: 0;
}

@media (max-width: 430px) {
    body.page-scope-admin-med-clinics .admin-med-hero{
        border-radius: 30px;
    }

    body.page-scope-admin-med-clinics .admin-filter-actions, body.page-scope-admin-med-clinics .admin-clinic-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-admin-med-clinics .admin-clinic-cover{
        height: 132px;
    }

    body.page-scope-admin-med-clinics .admin-clinic-main{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-admin-med-clinics .admin-clinic-logo{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }
}


/* =========================================================
   PAGE: admin/med-doctors.php
   Former inline <style> rules; isolated to .page-scope-admin-med-doctors
   ========================================================= */

body.page-scope-admin-med-doctors .admin-med-doctors-page .app-main{
    padding-top: 18px;
}

body.page-scope-admin-med-doctors .admin-med-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
    margin-bottom: 14px;
}

body.page-scope-admin-med-doctors .admin-med-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-admin-med-doctors .admin-med-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-admin-med-doctors .admin-med-hero .hero-actions{
    margin-top: 16px;
}

body.page-scope-admin-med-doctors .admin-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-doctors .admin-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-admin-med-doctors .admin-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-admin-med-doctors .admin-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-admin-med-doctors .admin-status-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0;
}

body.page-scope-admin-med-doctors .admin-status-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-admin-med-doctors .admin-status-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-admin-med-doctors .admin-status-tabs input{
    display: none;
}

body.page-scope-admin-med-doctors .admin-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-admin-med-doctors .admin-doctor-list{
    display: grid;
    gap: 14px;
}

body.page-scope-admin-med-doctors .admin-doctor-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-doctors .admin-doctor-head{
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-admin-med-doctors .admin-doctor-avatar{
    width: 82px;
    height: 82px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.18), transparent 48%),
        #f8fafc;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-admin-med-doctors .admin-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-doctors .admin-doctor-avatar svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-admin-med-doctors .admin-doctor-main{
    min-width: 0;
}

body.page-scope-admin-med-doctors .admin-doctor-title-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

body.page-scope-admin-med-doctors .admin-doctor-title-row h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

body.page-scope-admin-med-doctors .admin-doctor-main p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-admin-med-doctors .status-pill{
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-admin-med-doctors .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-admin-med-doctors .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-admin-med-doctors .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-admin-med-doctors .admin-mini-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

body.page-scope-admin-med-doctors .admin-mini-tags span{
    border-radius: 999px;
    background: rgba(14,165,233,.09);
    color: #0284c7;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-admin-med-doctors .admin-doctor-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-admin-med-doctors .admin-doctor-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-admin-med-doctors .admin-doctor-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-admin-med-doctors .admin-doctor-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-admin-med-doctors .admin-doctor-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-admin-med-doctors .admin-doctor-actions form{
    margin: 0;
}

body.page-scope-admin-med-doctors .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

@media (max-width: 430px) {
    body.page-scope-admin-med-doctors .admin-med-hero{
        border-radius: 30px;
    }

    body.page-scope-admin-med-doctors .admin-filter-actions{
        grid-template-columns: 1fr;
    }

    body.page-scope-admin-med-doctors .admin-doctor-head{
        grid-template-columns: 72px 1fr;
    }

    body.page-scope-admin-med-doctors .admin-doctor-avatar{
        width: 72px;
        height: 72px;
        border-radius: 25px;
    }

    body.page-scope-admin-med-doctors .admin-doctor-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-admin-med-doctors .admin-doctor-title-row{
        display: block;
    }

    body.page-scope-admin-med-doctors .admin-doctor-title-row .status-pill{
        display: inline-flex;
        margin-top: 8px;
    }
}


/* =========================================================
   PAGE: admin/med-pharmacies.php
   Former inline <style> rules; isolated to .page-scope-admin-med-pharmacies
   ========================================================= */

body.page-scope-admin-med-pharmacies .admin-med-pharmacies-page .app-main{
    padding-top: 18px;
}

body.page-scope-admin-med-pharmacies .admin-med-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
    margin-bottom: 14px;
}

body.page-scope-admin-med-pharmacies .admin-med-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-admin-med-pharmacies .admin-med-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-admin-med-pharmacies .admin-med-hero .hero-actions{
    margin-top: 16px;
}

body.page-scope-admin-med-pharmacies .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-admin-med-pharmacies .admin-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-pharmacies .admin-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-admin-med-pharmacies .admin-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-admin-med-pharmacies .admin-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-admin-med-pharmacies .admin-status-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0;
}

body.page-scope-admin-med-pharmacies .admin-status-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-admin-med-pharmacies .admin-status-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-admin-med-pharmacies .admin-status-tabs input{
    display: none;
}

body.page-scope-admin-med-pharmacies .admin-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-list{
    display: grid;
    gap: 16px;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-card{
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-cover{
    height: 150px;
    position: relative;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.22), transparent 42%),
        linear-gradient(135deg, #f8fafc, #e0f2fe);
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-cover-placeholder{
    width: 100%;
    height: 100%;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-cover-placeholder svg{
    width: 54px;
    height: 54px;
    fill: currentColor;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-cover .status-pill{
    position: absolute;
    top: 12px;
    right: 12px;
}

body.page-scope-admin-med-pharmacies .status-pill{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-admin-med-pharmacies .status-pending{
    background: rgba(245,158,11,.94);
    color: #fff;
}

body.page-scope-admin-med-pharmacies .status-active{
    background: rgba(22,163,74,.94);
    color: #fff;
}

body.page-scope-admin-med-pharmacies .status-blocked{
    background: rgba(239,68,68,.94);
    color: #fff;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-body{
    padding: 14px;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-main{
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-logo{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-main h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    letter-spacing: -0.05em;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-main p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-address{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(14,165,233,.08);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-admin-med-pharmacies .admin-pharmacy-actions form{
    margin: 0;
}

@media (max-width: 430px) {
    body.page-scope-admin-med-pharmacies .admin-med-hero{
        border-radius: 30px;
    }

    body.page-scope-admin-med-pharmacies .admin-filter-actions, body.page-scope-admin-med-pharmacies .admin-pharmacy-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-admin-med-pharmacies .admin-pharmacy-cover{
        height: 132px;
    }

    body.page-scope-admin-med-pharmacies .admin-pharmacy-main{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-admin-med-pharmacies .admin-pharmacy-logo{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }
}


/* =========================================================
   PAGE: admin/med-prescriptions.php
   Former inline <style> rules; isolated to .page-scope-admin-med-prescriptions
   ========================================================= */

body.page-scope-admin-med-prescriptions .admin-med-prescriptions-page .app-main{
    padding-top: 18px;
}

body.page-scope-admin-med-prescriptions .admin-med-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
    margin-bottom: 14px;
}

body.page-scope-admin-med-prescriptions .admin-med-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-admin-med-prescriptions .admin-med-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-admin-med-prescriptions .admin-med-hero .hero-actions{
    margin-top: 16px;
}

body.page-scope-admin-med-prescriptions .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-admin-med-prescriptions .admin-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-prescriptions .admin-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-admin-med-prescriptions .admin-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-admin-med-prescriptions .admin-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-admin-med-prescriptions .admin-status-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0;
}

body.page-scope-admin-med-prescriptions .admin-status-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-admin-med-prescriptions .admin-status-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-admin-med-prescriptions .admin-status-tabs input{
    display: none;
}

body.page-scope-admin-med-prescriptions .admin-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-list{
    display: grid;
    gap: 14px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-admin-med-prescriptions .prescription-doctor-box{
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-admin-med-prescriptions .prescription-doctor-avatar{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-admin-med-prescriptions .prescription-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-prescriptions .prescription-doctor-avatar svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-admin-med-prescriptions .prescription-doctor-box h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-admin-med-prescriptions .prescription-doctor-box p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-admin-med-prescriptions .status-pill{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 950;
    flex: 0 0 auto;
}

body.page-scope-admin-med-prescriptions .status-active{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-admin-med-prescriptions .status-completed{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-admin-med-prescriptions .status-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-admin-med-prescriptions .admin-prescription-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-admin-med-prescriptions .admin-prescription-text{
    margin-top: 12px;
    border-radius: 20px;
    background: #f8fafc;
    padding: 13px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-text.note{
    background: rgba(14,165,233,.08);
    color: #075985;
}

body.page-scope-admin-med-prescriptions .admin-prescription-text h3, body.page-scope-admin-med-prescriptions .admin-prescription-medicines h3{
    margin: 0 0 8px;
    color: var(--text);
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-admin-med-prescriptions .admin-prescription-text p{
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-admin-med-prescriptions .admin-prescription-medicines{
    margin-top: 12px;
    border-radius: 22px;
    background: rgba(15,23,42,.03);
    border: 1px solid rgba(226,232,240,.85);
    padding: 13px;
}

body.page-scope-admin-med-prescriptions .medicine-empty{
    border-radius: 18px;
    background: #fff;
    padding: 12px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-admin-med-prescriptions .medicine-list{
    display: grid;
    gap: 10px;
}

body.page-scope-admin-med-prescriptions .medicine-item{
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    padding: 12px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 11px;
}

body.page-scope-admin-med-prescriptions .medicine-icon{
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-admin-med-prescriptions .medicine-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-admin-med-prescriptions .medicine-icon svg{
    width: 24px;
    height: 24px;
    fill: currentColor;
}

body.page-scope-admin-med-prescriptions .medicine-content h4{
    margin: 0 0 8px;
    color: var(--text);
    font-size: 14px;
    letter-spacing: -0.03em;
}

body.page-scope-admin-med-prescriptions .medicine-meta{
    display: grid;
    gap: 5px;
}

body.page-scope-admin-med-prescriptions .medicine-meta span{
    color: var(--muted);
    font-size: 11.5px;
    font-weight: 850;
    line-height: 1.35;
}

body.page-scope-admin-med-prescriptions .medicine-meta b{
    color: var(--text);
}

body.page-scope-admin-med-prescriptions .medicine-content p{
    margin: 8px 0 0;
    color: #475569;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-scope-admin-med-prescriptions .admin-prescription-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-admin-med-prescriptions .admin-prescription-actions form{
    margin: 0;
}

@media (max-width: 430px) {
    body.page-scope-admin-med-prescriptions .admin-med-hero{
        border-radius: 30px;
    }

    body.page-scope-admin-med-prescriptions .admin-filter-actions, body.page-scope-admin-med-prescriptions .admin-prescription-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-admin-med-prescriptions .admin-prescription-head{
        display: block;
    }

    body.page-scope-admin-med-prescriptions .admin-prescription-head .status-pill{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-admin-med-prescriptions .medicine-item{
        grid-template-columns: 48px 1fr;
    }

    body.page-scope-admin-med-prescriptions .medicine-icon{
        width: 48px;
        height: 48px;
        border-radius: 18px;
    }
}


/* =========================================================
   PAGE: admin/med.php
   Former inline <style> rules; isolated to .page-scope-admin-med
   ========================================================= */

body.page-scope-admin-med .admin-med-page .app-main{
    padding-top: 18px;
}

body.page-scope-admin-med .admin-med-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
    margin-bottom: 14px;
}

body.page-scope-admin-med .admin-med-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-admin-med .admin-med-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-admin-med .admin-med-hero .hero-actions{
    margin-top: 16px;
}

body.page-scope-admin-med .med-admin-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-admin-med .admin-med-grid{
    display: grid;
    gap: 14px;
}

body.page-scope-admin-med .admin-med-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 15px;
    color: var(--text);
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 13px;
    align-items: center;
}

body.page-scope-admin-med .admin-med-card > span{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-admin-med .admin-med-card > span svg{
    width: 25px;
    height: 25px;
    fill: currentColor;
}

body.page-scope-admin-med .admin-med-card.doctors > span{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-admin-med .admin-med-card.clinics > span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-admin-med .admin-med-card.pharmacies > span{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-admin-med .admin-med-card.appointments > span{
    background: rgba(168,85,247,.14);
    color: #7e22ce;
}

body.page-scope-admin-med .admin-med-card.prescriptions > span{
    background: rgba(239,68,68,.12);
    color: #dc2626;
}

body.page-scope-admin-med .admin-med-card h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-admin-med .admin-med-card p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

body.page-scope-admin-med .admin-med-card b{
    border-radius: 16px;
    background: #f8fafc;
    color: #0f172a;
    min-height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-admin-med .admin-med-card-stats{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

body.page-scope-admin-med .admin-med-card-stats em{
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    padding: 6px 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

@media (max-width: 430px) {
    body.page-scope-admin-med .admin-med-hero{
        border-radius: 30px;
    }

    body.page-scope-admin-med .med-admin-stats{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-admin-med .admin-med-card{
        grid-template-columns: 54px 1fr;
    }

    body.page-scope-admin-med .admin-med-card b{
        grid-column: 1 / -1;
        justify-content: center;
    }
}


/* =========================================================
   PAGE: auto/master-detail.php
   Former inline <style> rules; isolated to .page-scope-auto-master-detail
   ========================================================= */

body.page-scope-auto-master-detail .auto-master-detail-page .app-main{
    padding-top: 18px;
}

body.page-scope-auto-master-detail .auto-master-detail-back{
    margin-bottom: 12px;
}

body.page-scope-auto-master-detail .auto-master-detail-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .36), transparent 42%),
        radial-gradient(circle at bottom left, rgba(239, 68, 68, .26), transparent 38%),
        linear-gradient(135deg, #c2410c, #dc2626);
    color: #fff;
    box-shadow: 0 20px 50px rgba(220, 38, 38, .20);
    padding: 20px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: center;
}

body.page-scope-auto-master-detail .auto-master-detail-avatar{
    width: 100px;
    height: 100px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

body.page-scope-auto-master-detail .auto-master-detail-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-auto-master-detail .auto-master-detail-avatar svg{
    width: 48px;
    height: 48px;
    fill: currentColor;
}

body.page-scope-auto-master-detail .auto-master-detail-verified{
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-auto-master-detail .auto-master-detail-verified svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-auto-master-detail .auto-master-detail-heading h1{
    margin: 10px 0 6px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-auto-master-detail .auto-master-detail-heading p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 850;
}

body.page-scope-auto-master-detail .auto-master-detail-rating{
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(12px);
}

body.page-scope-auto-master-detail .auto-master-detail-rating svg{
    width: 15px;
    height: 15px;
    fill: #fbbf24;
}

body.page-scope-auto-master-detail .auto-master-detail-rating strong{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-auto-master-detail .auto-master-detail-rating span{
    font-size: 10px;
    font-weight: 900;
    opacity: .82;
}

body.page-scope-auto-master-detail .auto-master-detail-info-grid{
    display: grid;
    gap: 14px;
}

body.page-scope-auto-master-detail .auto-master-detail-about-card, body.page-scope-auto-master-detail .auto-master-detail-contact-card, body.page-scope-auto-master-detail .auto-master-center-card, body.page-scope-auto-master-detail .auto-master-service-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
}

body.page-scope-auto-master-detail .auto-master-detail-about-card, body.page-scope-auto-master-detail .auto-master-detail-contact-card{
    padding: 14px;
}

body.page-scope-auto-master-detail .auto-master-detail-about-card h2, body.page-scope-auto-master-detail .auto-master-detail-contact-card h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -.05em;
}

body.page-scope-auto-master-detail .auto-master-detail-about-card p{
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 800;
}

body.page-scope-auto-master-detail .auto-master-request-btn, body.page-scope-auto-master-detail .auto-master-center-btn{
    margin-top: 12px;
}

body.page-scope-auto-master-detail .auto-master-contact-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-auto-master-detail .auto-master-contact-list div, body.page-scope-auto-master-detail .auto-master-center-meta div, body.page-scope-auto-master-detail .auto-master-service-meta div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-master-detail .auto-master-contact-list span, body.page-scope-auto-master-detail .auto-master-center-meta span, body.page-scope-auto-master-detail .auto-master-service-meta span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-auto-master-detail .auto-master-contact-list strong, body.page-scope-auto-master-detail .auto-master-center-meta strong, body.page-scope-auto-master-detail .auto-master-service-meta strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-auto-master-detail .auto-master-center-card{
    overflow: hidden;
}

body.page-scope-auto-master-detail .auto-master-center-image{
    min-height: 180px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .26), transparent 45%),
        linear-gradient(135deg, rgba(194, 65, 12, .12), rgba(220, 38, 38, .12));
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-auto-master-detail .auto-master-center-image img{
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

body.page-scope-auto-master-detail .auto-master-center-image svg{
    width: 60px;
    height: 60px;
    fill: currentColor;
}

body.page-scope-auto-master-detail .auto-master-center-body{
    padding: 14px;
}

body.page-scope-auto-master-detail .auto-master-center-body > span{
    display: block;
    color: #c2410c;
    font-size: 11px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-auto-master-detail .auto-master-center-body h2{
    margin: 0;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -.04em;
}

body.page-scope-auto-master-detail .auto-master-center-body p{
    margin: 9px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-auto-master-detail .auto-master-center-meta{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-auto-master-detail .auto-master-services-list{
    display: grid;
    gap: 14px;
}

body.page-scope-auto-master-detail .auto-master-service-card{
    overflow: hidden;
}

body.page-scope-auto-master-detail .auto-master-service-image{
    min-height: 170px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .26), transparent 45%),
        linear-gradient(135deg, rgba(194, 65, 12, .12), rgba(220, 38, 38, .12));
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-auto-master-detail .auto-master-service-image img{
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

body.page-scope-auto-master-detail .auto-master-service-image svg{
    width: 52px;
    height: 52px;
    fill: currentColor;
}

body.page-scope-auto-master-detail .auto-master-service-body{
    padding: 14px;
}

body.page-scope-auto-master-detail .auto-master-service-heading{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-auto-master-detail .auto-master-service-heading span{
    display: block;
    color: #c2410c;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-auto-master-detail .auto-master-service-heading h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -.04em;
}

body.page-scope-auto-master-detail .auto-master-service-heading > strong{
    border-radius: 999px;
    background: rgba(194, 65, 12, .10);
    color: #c2410c;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
}

body.page-scope-auto-master-detail .auto-master-service-body > p{
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-auto-master-detail .auto-master-service-meta{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 12px;
}

body.page-scope-auto-master-detail .auto-master-service-actions{
    margin-top: 12px;
}

@media (min-width: 760px) {
    body.page-scope-auto-master-detail .auto-master-detail-info-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-auto-master-detail .auto-master-center-card{
        display: grid;
        grid-template-columns: 230px 1fr;
    }

    body.page-scope-auto-master-detail .auto-master-center-image, body.page-scope-auto-master-detail .auto-master-center-image img{
        height: 100%;
        min-height: 210px;
    }

    body.page-scope-auto-master-detail .auto-master-services-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-auto-master-detail .auto-master-detail-hero-card{
        border-radius: 30px;
        grid-template-columns: 76px 1fr;
        gap: 12px;
    }

    body.page-scope-auto-master-detail .auto-master-detail-avatar{
        width: 76px;
        height: 76px;
        border-radius: 27px;
    }

    body.page-scope-auto-master-detail .auto-master-detail-avatar svg{
        width: 36px;
        height: 36px;
    }

    body.page-scope-auto-master-detail .auto-master-detail-heading h1{
        font-size: 24px;
    }

    body.page-scope-auto-master-detail .auto-master-contact-list, body.page-scope-auto-master-detail .auto-master-center-meta, body.page-scope-auto-master-detail .auto-master-service-meta{
        grid-template-columns: 1fr;
    }

    body.page-scope-auto-master-detail .auto-master-service-heading{
        display: block;
    }

    body.page-scope-auto-master-detail .auto-master-service-heading > strong{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: auto/masters.php
   Former inline <style> rules; isolated to .page-scope-auto-masters
   ========================================================= */

body.page-scope-auto-masters .auto-masters-page .app-main{
    padding-top: 18px;
}

body.page-scope-auto-masters .auto-masters-back{
    margin-bottom: 12px;
}

body.page-scope-auto-masters .auto-masters-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .36), transparent 42%),
        radial-gradient(circle at bottom left, rgba(239, 68, 68, .26), transparent 38%),
        linear-gradient(135deg, #c2410c, #dc2626);
    color: #fff;
    box-shadow: 0 20px 50px rgba(220, 38, 38, .20);
    padding: 20px;
}

body.page-scope-auto-masters .auto-masters-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-auto-masters .auto-masters-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-auto-masters .auto-masters-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-auto-masters .auto-masters-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-auto-masters .auto-masters-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-auto-masters .auto-masters-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-auto-masters .auto-masters-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-auto-masters .auto-masters-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-auto-masters .auto-masters-sort-group{
    grid-column: 1 / -1;
}

body.page-scope-auto-masters .auto-masters-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-auto-masters .auto-masters-list{
    display: grid;
    gap: 14px;
}

body.page-scope-auto-masters .auto-master-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-auto-masters .auto-master-top{
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-auto-masters .auto-master-avatar{
    width: 78px;
    height: 78px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .24), transparent 46%),
        linear-gradient(135deg, rgba(194, 65, 12, .12), rgba(220, 38, 38, .12));
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-auto-masters .auto-master-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-auto-masters .auto-master-avatar svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-auto-masters .auto-master-name-row{
    display: flex;
    align-items: center;
    gap: 7px;
}

body.page-scope-auto-masters .auto-master-name-row h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-auto-masters .auto-master-verified{
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-auto-masters .auto-master-verified svg{
    width: 13px;
    height: 13px;
    fill: currentColor;
}

body.page-scope-auto-masters .auto-master-heading p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-auto-masters .auto-master-rating{
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    color: #d97706;
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.page-scope-auto-masters .auto-master-rating svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-auto-masters .auto-master-rating strong{
    font-size: 11px;
    font-weight: 950;
}

body.page-scope-auto-masters .auto-master-rating span{
    font-size: 10px;
    font-weight: 900;
}

body.page-scope-auto-masters .auto-master-bio{
    margin-top: 13px;
    border-radius: 18px;
    background: rgba(194, 65, 12, .07);
    color: #9a3412;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-auto-masters .auto-master-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-auto-masters .auto-master-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-masters .auto-master-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-auto-masters .auto-master-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-auto-masters .auto-master-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-auto-masters .auto-masters-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-auto-masters .auto-masters-hero-card{
        border-radius: 30px;
    }

    body.page-scope-auto-masters .auto-masters-stats, body.page-scope-auto-masters .auto-masters-filter-grid, body.page-scope-auto-masters .auto-masters-filter-actions, body.page-scope-auto-masters .auto-master-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-auto-masters .auto-masters-sort-group{
        grid-column: auto;
    }

    body.page-scope-auto-masters .auto-master-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: auto/my-cars.php
   Former inline <style> rules; isolated to .page-scope-auto-my-cars
   ========================================================= */

body.page-scope-auto-my-cars .auto-my-cars-page .app-main{
    padding-top: 18px;
}

body.page-scope-auto-my-cars .auto-cars-back{
    margin-bottom: 12px;
}

body.page-scope-auto-my-cars .auto-cars-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .36), transparent 42%),
        radial-gradient(circle at bottom left, rgba(239, 68, 68, .26), transparent 38%),
        linear-gradient(135deg, #c2410c, #dc2626);
    color: #fff;
    box-shadow: 0 20px 50px rgba(220, 38, 38, .20);
    padding: 20px;
}

body.page-scope-auto-my-cars .auto-cars-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-auto-my-cars .auto-cars-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-auto-my-cars .auto-cars-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-auto-my-cars .auto-car-form-card, body.page-scope-auto-my-cars .auto-car-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
}

body.page-scope-auto-my-cars .auto-car-form-card{
    padding: 14px;
}

body.page-scope-auto-my-cars .auto-car-form-card h2{
    margin: 0 0 14px;
    color: var(--text);
    font-size: 21px;
    letter-spacing: -.05em;
}

body.page-scope-auto-my-cars .auto-car-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-auto-my-cars .auto-car-full{
    grid-column: 1 / -1;
}

body.page-scope-auto-my-cars .auto-car-submit{
    margin-top: 12px;
}

body.page-scope-auto-my-cars .auto-cars-list{
    display: grid;
    gap: 14px;
}

body.page-scope-auto-my-cars .auto-car-card{
    overflow: hidden;
}

body.page-scope-auto-my-cars .auto-car-image{
    position: relative;
    min-height: 190px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .26), transparent 45%),
        linear-gradient(135deg, rgba(194, 65, 12, .12), rgba(220, 38, 38, .12));
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-auto-my-cars .auto-car-image img{
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

body.page-scope-auto-my-cars .auto-car-image > svg{
    width: 70px;
    height: 70px;
    fill: currentColor;
}

body.page-scope-auto-my-cars .auto-car-plate{
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .94);
    color: #111827;
    border: 2px solid #111827;
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
}

body.page-scope-auto-my-cars .auto-car-body{
    padding: 14px;
}

body.page-scope-auto-my-cars .auto-car-title{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-auto-my-cars .auto-car-title span{
    display: block;
    color: #c2410c;
    font-size: 11px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-auto-my-cars .auto-car-title h3{
    margin: 0;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -.04em;
}

body.page-scope-auto-my-cars .auto-car-title > strong{
    border-radius: 999px;
    background: rgba(194, 65, 12, .10);
    color: #c2410c;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-auto-my-cars .auto-car-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-auto-my-cars .auto-car-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-my-cars .auto-car-info-grid span, body.page-scope-auto-my-cars .auto-car-vin span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-auto-my-cars .auto-car-info-grid strong, body.page-scope-auto-my-cars .auto-car-vin strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-auto-my-cars .auto-car-vin{
    margin-top: 12px;
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-my-cars .auto-car-notes{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(194, 65, 12, .07);
    color: #9a3412;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-auto-my-cars .auto-car-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-auto-my-cars .auto-cars-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-auto-my-cars .auto-cars-hero-card{
        border-radius: 30px;
    }

    body.page-scope-auto-my-cars .auto-cars-stats, body.page-scope-auto-my-cars .auto-car-form-grid, body.page-scope-auto-my-cars .auto-car-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-auto-my-cars .auto-car-full{
        grid-column: auto;
    }

    body.page-scope-auto-my-cars .auto-car-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: auto/problem-request.php
   Former inline <style> rules; isolated to .page-scope-auto-problem-request
   ========================================================= */

body.page-scope-auto-problem-request .auto-problem-request-page .app-main{
    padding-top: 18px;
}

body.page-scope-auto-problem-request .auto-request-back{
    margin-bottom: 12px;
}

body.page-scope-auto-problem-request .auto-request-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .36), transparent 42%),
        radial-gradient(circle at bottom left, rgba(239, 68, 68, .26), transparent 38%),
        linear-gradient(135deg, #c2410c, #dc2626);
    color: #fff;
    box-shadow: 0 20px 50px rgba(220, 38, 38, .20);
    padding: 20px;
}

body.page-scope-auto-problem-request .auto-request-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-auto-problem-request .auto-request-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-auto-problem-request .auto-request-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-auto-problem-request .auto-request-form-card, body.page-scope-auto-problem-request .auto-request-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-auto-problem-request .auto-request-form-card h2{
    margin: 0 0 14px;
    color: var(--text);
    font-size: 21px;
    letter-spacing: -.05em;
}

body.page-scope-auto-problem-request .auto-request-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-auto-problem-request .auto-request-full{
    grid-column: 1 / -1;
}

body.page-scope-auto-problem-request .auto-request-submit{
    margin-top: 12px;
}

body.page-scope-auto-problem-request .auto-request-list{
    display: grid;
    gap: 14px;
}

body.page-scope-auto-problem-request .auto-request-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-auto-problem-request .auto-request-head span{
    display: block;
    color: #c2410c;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-auto-problem-request .auto-request-head h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-auto-problem-request .auto-request-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-auto-problem-request .status-pending{
    background: rgba(245, 158, 11, .14);
    color: #d97706;
}

body.page-scope-auto-problem-request .status-accepted{
    background: rgba(14, 165, 233, .14);
    color: #0284c7;
}

body.page-scope-auto-problem-request .status-in-progress{
    background: rgba(99, 102, 241, .14);
    color: #4f46e5;
}

body.page-scope-auto-problem-request .status-completed{
    background: rgba(22, 163, 74, .14);
    color: #16a34a;
}

body.page-scope-auto-problem-request .status-cancelled{
    background: rgba(239, 68, 68, .14);
    color: #dc2626;
}

body.page-scope-auto-problem-request .auto-request-description{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(194, 65, 12, .07);
    color: #9a3412;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-auto-problem-request .auto-request-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-auto-problem-request .auto-request-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-problem-request .auto-request-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-auto-problem-request .auto-request-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-auto-problem-request .auto-request-actions{
    margin-top: 13px;
}

@media (min-width: 760px) {
    body.page-scope-auto-problem-request .auto-request-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-auto-problem-request .auto-request-hero-card{
        border-radius: 30px;
    }

    body.page-scope-auto-problem-request .auto-request-stats, body.page-scope-auto-problem-request .auto-request-form-grid, body.page-scope-auto-problem-request .auto-request-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-auto-problem-request .auto-request-full{
        grid-column: auto;
    }

    body.page-scope-auto-problem-request .auto-request-head{
        display: block;
    }

    body.page-scope-auto-problem-request .auto-request-head em{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: auto/service-centers.php
   Former inline <style> rules; isolated to .page-scope-auto-service-centers
   ========================================================= */

body.page-scope-auto-service-centers .auto-service-centers-page .app-main{
    padding-top: 18px;
}

body.page-scope-auto-service-centers .auto-centers-back{
    margin-bottom: 12px;
}

body.page-scope-auto-service-centers .auto-centers-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .36), transparent 42%),
        radial-gradient(circle at bottom left, rgba(239, 68, 68, .26), transparent 38%),
        linear-gradient(135deg, #c2410c, #dc2626);
    color: #fff;
    box-shadow: 0 20px 50px rgba(220, 38, 38, .20);
    padding: 20px;
}

body.page-scope-auto-service-centers .auto-centers-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-auto-service-centers .auto-centers-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-auto-service-centers .auto-centers-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-auto-service-centers .auto-centers-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-auto-service-centers .auto-centers-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-auto-service-centers .auto-centers-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-auto-service-centers .auto-centers-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-auto-service-centers .auto-centers-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-auto-service-centers .auto-centers-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-auto-service-centers .auto-centers-list{
    display: grid;
    gap: 14px;
}

body.page-scope-auto-service-centers .auto-center-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-auto-service-centers .auto-center-image{
    position: relative;
    min-height: 210px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .26), transparent 45%),
        linear-gradient(135deg, rgba(194, 65, 12, .12), rgba(220, 38, 38, .12));
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-auto-service-centers .auto-center-image img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

body.page-scope-auto-service-centers .auto-center-image > svg{
    width: 70px;
    height: 70px;
    fill: currentColor;
}

body.page-scope-auto-service-centers .auto-center-verified{
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #16a34a;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-auto-service-centers .auto-center-verified svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-auto-service-centers .auto-center-body{
    padding: 14px;
}

body.page-scope-auto-service-centers .auto-center-heading{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-auto-service-centers .auto-center-heading h2{
    margin: 0;
    color: var(--text);
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-auto-service-centers .auto-center-heading p{
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-auto-service-centers .auto-center-rating{
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    color: #d97706;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.page-scope-auto-service-centers .auto-center-rating svg{
    width: 15px;
    height: 15px;
    fill: currentColor;
}

body.page-scope-auto-service-centers .auto-center-rating strong{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-auto-service-centers .auto-center-rating span{
    font-size: 10px;
    font-weight: 900;
}

body.page-scope-auto-service-centers .auto-center-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-auto-service-centers .auto-center-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-service-centers .auto-center-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-auto-service-centers .auto-center-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-auto-service-centers .auto-center-address{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(194, 65, 12, .07);
    color: #9a3412;
    padding: 12px;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-auto-service-centers .auto-center-address svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
}

body.page-scope-auto-service-centers .auto-center-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-auto-service-centers .auto-centers-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-auto-service-centers .auto-centers-hero-card{
        border-radius: 30px;
    }

    body.page-scope-auto-service-centers .auto-centers-stats, body.page-scope-auto-service-centers .auto-centers-filter-grid, body.page-scope-auto-service-centers .auto-centers-filter-actions, body.page-scope-auto-service-centers .auto-center-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-auto-service-centers .auto-center-heading{
        display: block;
    }

    body.page-scope-auto-service-centers .auto-center-rating{
        margin-top: 10px;
    }

    body.page-scope-auto-service-centers .auto-center-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: auto/service-history.php
   Former inline <style> rules; isolated to .page-scope-auto-service-history
   ========================================================= */

body.page-scope-auto-service-history .auto-service-history-page .app-main{
    padding-top: 18px;
}

body.page-scope-auto-service-history .auto-history-back{
    margin-bottom: 12px;
}

body.page-scope-auto-service-history .auto-history-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .36), transparent 42%),
        radial-gradient(circle at bottom left, rgba(239, 68, 68, .26), transparent 38%),
        linear-gradient(135deg, #c2410c, #dc2626);
    color: #fff;
    box-shadow: 0 20px 50px rgba(220, 38, 38, .20);
    padding: 20px;
}

body.page-scope-auto-service-history .auto-history-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-auto-service-history .auto-history-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-auto-service-history .auto-history-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-auto-service-history .auto-history-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-auto-service-history .auto-history-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-auto-service-history .auto-history-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-auto-service-history .auto-history-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-auto-service-history .auto-history-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-auto-service-history .auto-history-sort-group{
    grid-column: 1 / -1;
}

body.page-scope-auto-service-history .auto-history-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-auto-service-history .auto-history-top-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

body.page-scope-auto-service-history .auto-history-list{
    display: grid;
    gap: 14px;
}

body.page-scope-auto-service-history .auto-history-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-auto-service-history .auto-history-car{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, .85);
}

body.page-scope-auto-service-history .auto-history-car-image{
    width: 58px;
    height: 58px;
    border-radius: 21px;
    background:
        radial-gradient(circle at top right, rgba(251, 146, 60, .24), transparent 46%),
        linear-gradient(135deg, rgba(194, 65, 12, .12), rgba(220, 38, 38, .12));
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-auto-service-history .auto-history-car-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-auto-service-history .auto-history-car-image svg{
    width: 29px;
    height: 29px;
    fill: currentColor;
}

body.page-scope-auto-service-history .auto-history-car span{
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-auto-service-history .auto-history-car strong{
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-auto-service-history .auto-history-car small{
    display: block;
    margin-top: 3px;
    color: #c2410c;
    font-size: 11px;
    font-weight: 900;
}

body.page-scope-auto-service-history .auto-history-head{
    margin-top: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-auto-service-history .auto-history-head span{
    display: block;
    color: #c2410c;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-auto-service-history .auto-history-head h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-auto-service-history .auto-history-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-auto-service-history .status-pending{
    background: rgba(245, 158, 11, .14);
    color: #d97706;
}

body.page-scope-auto-service-history .status-in-progress{
    background: rgba(99, 102, 241, .14);
    color: #4f46e5;
}

body.page-scope-auto-service-history .status-completed{
    background: rgba(22, 163, 74, .14);
    color: #16a34a;
}

body.page-scope-auto-service-history .status-cancelled{
    background: rgba(239, 68, 68, .14);
    color: #dc2626;
}

body.page-scope-auto-service-history .auto-history-description{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(194, 65, 12, .07);
    color: #9a3412;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-auto-service-history .auto-history-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-auto-service-history .auto-history-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-service-history .auto-history-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-auto-service-history .auto-history-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-auto-service-history .auto-history-meta{
    margin-top: 12px;
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-auto-service-history .auto-history-meta span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-auto-service-history .auto-history-meta strong{
    display: block;
    color: var(--text);
    font-size: 13px;
}

@media (min-width: 760px) {
    body.page-scope-auto-service-history .auto-history-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-auto-service-history .auto-history-hero-card{
        border-radius: 30px;
    }

    body.page-scope-auto-service-history .auto-history-stats, body.page-scope-auto-service-history .auto-history-filter-grid, body.page-scope-auto-service-history .auto-history-filter-actions, body.page-scope-auto-service-history .auto-history-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-auto-service-history .auto-history-sort-group{
        grid-column: auto;
    }

    body.page-scope-auto-service-history .auto-history-head{
        display: block;
    }

    body.page-scope-auto-service-history .auto-history-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-auto-service-history .auto-history-top-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: beauty/bookings.php
   Former inline <style> rules; isolated to .page-scope-beauty-bookings
   ========================================================= */

body.page-scope-beauty-bookings .beauty-bookings-page .app-main{
    padding-top: 18px;
}

body.page-scope-beauty-bookings .beauty-bookings-back{
    margin-bottom: 12px;
}

body.page-scope-beauty-bookings .beauty-bookings-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .38), transparent 42%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, .28), transparent 38%),
        linear-gradient(135deg, #be185d, #7c3aed);
    color: #fff;
    box-shadow: 0 20px 50px rgba(190, 24, 93, .22);
    padding: 20px;
}

body.page-scope-beauty-bookings .beauty-bookings-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-beauty-bookings .beauty-bookings-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-beauty-bookings .beauty-bookings-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-beauty-bookings .beauty-booking-form-card, body.page-scope-beauty-bookings .beauty-booking-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-beauty-bookings .beauty-booking-form-card h2{
    margin: 0 0 14px;
    color: var(--text);
    font-size: 21px;
    letter-spacing: -.05em;
}

body.page-scope-beauty-bookings .beauty-booking-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-beauty-bookings .beauty-booking-grid .full{
    grid-column: 1 / -1;
}

body.page-scope-beauty-bookings .beauty-booking-submit{
    margin-top: 12px;
}

body.page-scope-beauty-bookings .beauty-bookings-list{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-bookings .beauty-booking-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-beauty-bookings .beauty-booking-head span{
    display: block;
    color: #be185d;
    font-size: 11px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-beauty-bookings .beauty-booking-head h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -.04em;
}

body.page-scope-beauty-bookings .beauty-booking-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-beauty-bookings .beauty-booking-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-beauty-bookings .status-pending{
    background: rgba(245, 158, 11, .14);
    color: #d97706;
}

body.page-scope-beauty-bookings .status-confirmed{
    background: rgba(14, 165, 233, .14);
    color: #0284c7;
}

body.page-scope-beauty-bookings .status-completed{
    background: rgba(22, 163, 74, .14);
    color: #16a34a;
}

body.page-scope-beauty-bookings .status-cancelled{
    background: rgba(239, 68, 68, .14);
    color: #dc2626;
}

body.page-scope-beauty-bookings .beauty-booking-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-beauty-bookings .beauty-booking-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-beauty-bookings .beauty-booking-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-bookings .beauty-booking-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-beauty-bookings .beauty-booking-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(190, 24, 93, .08);
    color: #9d174d;
    padding: 12px;
}

body.page-scope-beauty-bookings .beauty-booking-note strong{
    display: block;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-beauty-bookings .beauty-booking-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

@media (min-width: 760px) {
    body.page-scope-beauty-bookings .beauty-bookings-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-beauty-bookings .beauty-bookings-hero-card{
        border-radius: 30px;
    }

    body.page-scope-beauty-bookings .beauty-bookings-stats, body.page-scope-beauty-bookings .beauty-booking-grid, body.page-scope-beauty-bookings .beauty-booking-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-beauty-bookings .beauty-booking-grid .full{
        grid-column: auto;
    }

    body.page-scope-beauty-bookings .beauty-booking-head{
        display: block;
    }

    body.page-scope-beauty-bookings .beauty-booking-head em{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: beauty/master-detail.php
   Former inline <style> rules; isolated to .page-scope-beauty-master-detail
   ========================================================= */

body.page-scope-beauty-master-detail .beauty-master-detail-page .app-main{
    padding-top: 18px;
}

body.page-scope-beauty-master-detail .master-detail-back{
    margin-bottom: 12px;
}

body.page-scope-beauty-master-detail .master-detail-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .38), transparent 42%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, .30), transparent 38%),
        linear-gradient(135deg, #be185d, #7c3aed);
    color: #fff;
    box-shadow: 0 20px 50px rgba(190, 24, 93, .22);
    padding: 20px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: center;
}

body.page-scope-beauty-master-detail .master-detail-avatar{
    width: 100px;
    height: 100px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

body.page-scope-beauty-master-detail .master-detail-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-beauty-master-detail .master-detail-avatar svg{
    width: 48px;
    height: 48px;
    fill: currentColor;
}

body.page-scope-beauty-master-detail .master-detail-verified{
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-beauty-master-detail .master-detail-verified svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-beauty-master-detail .master-detail-heading h1{
    margin: 10px 0 6px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-beauty-master-detail .master-detail-heading p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 850;
}

body.page-scope-beauty-master-detail .master-detail-rating{
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(12px);
}

body.page-scope-beauty-master-detail .master-detail-rating svg{
    width: 15px;
    height: 15px;
    fill: #fbbf24;
}

body.page-scope-beauty-master-detail .master-detail-rating strong{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-beauty-master-detail .master-detail-rating span{
    font-size: 10px;
    font-weight: 900;
    opacity: .82;
}

body.page-scope-beauty-master-detail .master-detail-info-grid{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-master-detail .master-detail-about-card, body.page-scope-beauty-master-detail .master-detail-contact-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-beauty-master-detail .master-detail-about-card h2, body.page-scope-beauty-master-detail .master-detail-contact-card h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -.05em;
}

body.page-scope-beauty-master-detail .master-detail-about-card p{
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 800;
}

body.page-scope-beauty-master-detail .master-contact-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-beauty-master-detail .master-contact-list div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-beauty-master-detail .master-contact-list span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-master-detail .master-contact-list strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-beauty-master-detail .master-salon-link{
    margin-top: 12px;
}

body.page-scope-beauty-master-detail .master-services-list{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-master-detail .master-service-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-beauty-master-detail .master-service-image{
    min-height: 170px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .28), transparent 45%),
        linear-gradient(135deg, rgba(190, 24, 93, .12), rgba(124, 58, 237, .12));
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-beauty-master-detail .master-service-image img{
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

body.page-scope-beauty-master-detail .master-service-image svg{
    width: 48px;
    height: 48px;
    fill: currentColor;
}

body.page-scope-beauty-master-detail .master-service-body{
    padding: 14px;
}

body.page-scope-beauty-master-detail .master-service-heading{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-beauty-master-detail .master-service-heading span{
    display: block;
    color: #be185d;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-beauty-master-detail .master-service-heading h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -.04em;
}

body.page-scope-beauty-master-detail .master-service-heading > strong{
    border-radius: 999px;
    background: rgba(190, 24, 93, .10);
    color: #be185d;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
}

body.page-scope-beauty-master-detail .master-service-body > p{
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-beauty-master-detail .master-service-meta{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 12px;
}

body.page-scope-beauty-master-detail .master-service-meta div{
    border-radius: 16px;
    background: #f8fafc;
    padding: 10px;
}

body.page-scope-beauty-master-detail .master-service-meta span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-master-detail .master-service-meta strong{
    display: block;
    color: var(--text);
    font-size: 13px;
}

body.page-scope-beauty-master-detail .master-service-actions{
    margin-top: 12px;
}

@media (min-width: 760px) {
    body.page-scope-beauty-master-detail .master-detail-info-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-beauty-master-detail .master-services-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-beauty-master-detail .master-detail-hero-card{
        border-radius: 30px;
        grid-template-columns: 76px 1fr;
        gap: 12px;
    }

    body.page-scope-beauty-master-detail .master-detail-avatar{
        width: 76px;
        height: 76px;
        border-radius: 27px;
    }

    body.page-scope-beauty-master-detail .master-detail-avatar svg{
        width: 36px;
        height: 36px;
    }

    body.page-scope-beauty-master-detail .master-detail-heading h1{
        font-size: 24px;
    }

    body.page-scope-beauty-master-detail .master-contact-list, body.page-scope-beauty-master-detail .master-service-meta{
        grid-template-columns: 1fr;
    }

    body.page-scope-beauty-master-detail .master-service-heading{
        display: block;
    }

    body.page-scope-beauty-master-detail .master-service-heading > strong{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-beauty-master-detail .master-service-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: beauty/masters.php
   Former inline <style> rules; isolated to .page-scope-beauty-masters
   ========================================================= */

body.page-scope-beauty-masters .beauty-masters-page .app-main{
    padding-top: 18px;
}

body.page-scope-beauty-masters .beauty-masters-back{
    margin-bottom: 12px;
}

body.page-scope-beauty-masters .beauty-masters-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .38), transparent 42%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, .28), transparent 38%),
        linear-gradient(135deg, #be185d, #7c3aed);
    color: #fff;
    box-shadow: 0 20px 50px rgba(190, 24, 93, .22);
    padding: 20px;
}

body.page-scope-beauty-masters .beauty-masters-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-beauty-masters .beauty-masters-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-beauty-masters .beauty-masters-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-beauty-masters .beauty-masters-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-beauty-masters .beauty-masters-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-beauty-masters .beauty-masters-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-beauty-masters .beauty-masters-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-beauty-masters .beauty-masters-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-beauty-masters .beauty-masters-sort-group{
    grid-column: 1 / -1;
}

body.page-scope-beauty-masters .beauty-masters-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-beauty-masters .beauty-masters-list{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-masters .beauty-master-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-beauty-masters .beauty-master-top{
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-beauty-masters .beauty-master-avatar{
    width: 76px;
    height: 76px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .24), transparent 46%),
        linear-gradient(135deg, rgba(190, 24, 93, .12), rgba(124, 58, 237, .12));
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-beauty-masters .beauty-master-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-beauty-masters .beauty-master-avatar svg{
    width: 36px;
    height: 36px;
    fill: currentColor;
}

body.page-scope-beauty-masters .beauty-master-name-row{
    display: flex;
    align-items: center;
    gap: 7px;
}

body.page-scope-beauty-masters .beauty-master-name-row h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-beauty-masters .beauty-master-verified{
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-beauty-masters .beauty-master-verified svg{
    width: 13px;
    height: 13px;
    fill: currentColor;
}

body.page-scope-beauty-masters .beauty-master-heading p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-beauty-masters .beauty-master-rating{
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    color: #d97706;
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.page-scope-beauty-masters .beauty-master-rating svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-beauty-masters .beauty-master-rating strong{
    font-size: 11px;
    font-weight: 950;
}

body.page-scope-beauty-masters .beauty-master-rating span{
    font-size: 10px;
    font-weight: 900;
}

body.page-scope-beauty-masters .beauty-master-bio{
    margin-top: 13px;
    border-radius: 18px;
    background: rgba(190, 24, 93, .07);
    color: #9d174d;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-beauty-masters .beauty-master-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-beauty-masters .beauty-master-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-beauty-masters .beauty-master-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-masters .beauty-master-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-beauty-masters .beauty-master-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-beauty-masters .beauty-masters-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-beauty-masters .beauty-masters-hero-card{
        border-radius: 30px;
    }

    body.page-scope-beauty-masters .beauty-masters-stats, body.page-scope-beauty-masters .beauty-masters-filter-grid, body.page-scope-beauty-masters .beauty-masters-filter-actions, body.page-scope-beauty-masters .beauty-master-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-beauty-masters .beauty-masters-sort-group{
        grid-column: auto;
    }

    body.page-scope-beauty-masters .beauty-master-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: beauty/salon-detail.php
   Former inline <style> rules; isolated to .page-scope-beauty-salon-detail
   ========================================================= */

body.page-scope-beauty-salon-detail .beauty-salon-detail-page .app-main{
    padding-top: 18px;
}

body.page-scope-beauty-salon-detail .salon-detail-back{
    margin-bottom: 12px;
}

body.page-scope-beauty-salon-detail .salon-detail-cover{
    position: relative;
    min-height: 280px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .40), transparent 42%),
        linear-gradient(135deg, #be185d, #7c3aed);
    box-shadow: 0 20px 50px rgba(190, 24, 93, .22);
}

body.page-scope-beauty-salon-detail .salon-detail-cover > img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

body.page-scope-beauty-salon-detail .salon-detail-cover-placeholder{
    height: 280px;
    color: rgba(255, 255, 255, .75);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-beauty-salon-detail .salon-detail-cover-placeholder svg{
    width: 70px;
    height: 70px;
    fill: currentColor;
}

body.page-scope-beauty-salon-detail .salon-detail-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, .82),
        rgba(15, 23, 42, .10)
    );
}

body.page-scope-beauty-salon-detail .salon-detail-title{
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    color: #fff;
}

body.page-scope-beauty-salon-detail .salon-detail-title h1{
    margin: 9px 0 10px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-beauty-salon-detail .salon-detail-verified{
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-beauty-salon-detail .salon-detail-verified svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-beauty-salon-detail .salon-detail-rating{
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(12px);
}

body.page-scope-beauty-salon-detail .salon-detail-rating svg{
    width: 15px;
    height: 15px;
    fill: #fbbf24;
}

body.page-scope-beauty-salon-detail .salon-detail-rating strong{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-beauty-salon-detail .salon-detail-rating span{
    font-size: 10px;
    font-weight: 900;
    opacity: .82;
}

body.page-scope-beauty-salon-detail .salon-detail-info-grid{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-salon-detail .salon-detail-about-card, body.page-scope-beauty-salon-detail .salon-detail-contact-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-beauty-salon-detail .salon-detail-about-card h2, body.page-scope-beauty-salon-detail .salon-detail-contact-card h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -.05em;
}

body.page-scope-beauty-salon-detail .salon-detail-about-card p{
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 800;
}

body.page-scope-beauty-salon-detail .salon-contact-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-beauty-salon-detail .salon-contact-list div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-beauty-salon-detail .salon-contact-list span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-salon-detail .salon-contact-list strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-beauty-salon-detail .salon-services-list, body.page-scope-beauty-salon-detail .salon-masters-list{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-salon-detail .salon-service-card, body.page-scope-beauty-salon-detail .salon-master-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-beauty-salon-detail .salon-service-image{
    min-height: 170px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .28), transparent 45%),
        linear-gradient(135deg, rgba(190, 24, 93, .12), rgba(124, 58, 237, .12));
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-beauty-salon-detail .salon-service-image img{
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

body.page-scope-beauty-salon-detail .salon-service-image svg{
    width: 48px;
    height: 48px;
    fill: currentColor;
}

body.page-scope-beauty-salon-detail .salon-service-body{
    padding: 14px;
}

body.page-scope-beauty-salon-detail .salon-service-heading{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-beauty-salon-detail .salon-service-heading span{
    display: block;
    color: #be185d;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-beauty-salon-detail .salon-service-heading h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -.04em;
}

body.page-scope-beauty-salon-detail .salon-service-heading > strong{
    border-radius: 999px;
    background: rgba(190, 24, 93, .10);
    color: #be185d;
    padding: 8px 10px;
    font-size: 12px;
    white-space: nowrap;
}

body.page-scope-beauty-salon-detail .salon-service-body > p{
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-beauty-salon-detail .salon-service-meta{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 12px;
}

body.page-scope-beauty-salon-detail .salon-service-meta div{
    border-radius: 16px;
    background: #f8fafc;
    padding: 10px;
}

body.page-scope-beauty-salon-detail .salon-service-meta span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-salon-detail .salon-service-meta strong{
    display: block;
    color: var(--text);
    font-size: 13px;
}

body.page-scope-beauty-salon-detail .salon-service-actions, body.page-scope-beauty-salon-detail .salon-master-actions{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-beauty-salon-detail .salon-master-card{
    padding: 14px;
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 13px;
    align-items: flex-start;
}

body.page-scope-beauty-salon-detail .salon-master-avatar{
    width: 74px;
    height: 74px;
    border-radius: 27px;
    background: rgba(190, 24, 93, .10);
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-beauty-salon-detail .salon-master-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-beauty-salon-detail .salon-master-avatar svg{
    width: 34px;
    height: 34px;
    fill: currentColor;
}

body.page-scope-beauty-salon-detail .salon-master-body h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -.04em;
}

body.page-scope-beauty-salon-detail .salon-master-body p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-beauty-salon-detail .salon-master-meta{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

body.page-scope-beauty-salon-detail .salon-master-meta span{
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    padding: 7px 9px;
    font-size: 10px;
    font-weight: 900;
}

body.page-scope-beauty-salon-detail .salon-master-meta strong{
    color: var(--text);
}

@media (min-width: 760px) {
    body.page-scope-beauty-salon-detail .salon-detail-info-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-beauty-salon-detail .salon-services-list, body.page-scope-beauty-salon-detail .salon-masters-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-beauty-salon-detail .salon-detail-cover{
        border-radius: 30px;
    }

    body.page-scope-beauty-salon-detail .salon-contact-list, body.page-scope-beauty-salon-detail .salon-service-meta{
        grid-template-columns: 1fr;
    }

    body.page-scope-beauty-salon-detail .salon-service-heading{
        display: block;
    }

    body.page-scope-beauty-salon-detail .salon-service-heading > strong{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-beauty-salon-detail .salon-service-actions .btn, body.page-scope-beauty-salon-detail .salon-master-actions .btn{
        width: 100%;
    }

    body.page-scope-beauty-salon-detail .salon-master-card{
        grid-template-columns: 64px 1fr;
    }

    body.page-scope-beauty-salon-detail .salon-master-avatar{
        width: 64px;
        height: 64px;
        border-radius: 23px;
    }
}


/* =========================================================
   PAGE: beauty/salons.php
   Former inline <style> rules; isolated to .page-scope-beauty-salons
   ========================================================= */

body.page-scope-beauty-salons .beauty-salons-page .app-main{
    padding-top: 18px;
}

body.page-scope-beauty-salons .beauty-salons-back{
    margin-bottom: 12px;
}

body.page-scope-beauty-salons .beauty-salons-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .38), transparent 42%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, .28), transparent 38%),
        linear-gradient(135deg, #be185d, #7c3aed);
    color: #fff;
    box-shadow: 0 20px 50px rgba(190, 24, 93, .22);
    padding: 20px;
}

body.page-scope-beauty-salons .beauty-salons-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-beauty-salons .beauty-salons-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-beauty-salons .beauty-salons-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-beauty-salons .beauty-salons-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-beauty-salons .beauty-salons-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-beauty-salons .beauty-salons-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-beauty-salons .beauty-salons-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-beauty-salons .beauty-salons-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-beauty-salons .beauty-salons-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-beauty-salons .beauty-salons-list{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-salons .beauty-salon-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-beauty-salons .beauty-salon-image{
    position: relative;
    min-height: 210px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .26), transparent 45%),
        linear-gradient(135deg, rgba(190, 24, 93, .12), rgba(124, 58, 237, .12));
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-beauty-salons .beauty-salon-image img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

body.page-scope-beauty-salons .beauty-salon-image > svg{
    width: 68px;
    height: 68px;
    fill: currentColor;
}

body.page-scope-beauty-salons .beauty-salon-verified{
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: #16a34a;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-beauty-salons .beauty-salon-verified svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-beauty-salons .beauty-salon-body{
    padding: 14px;
}

body.page-scope-beauty-salons .beauty-salon-title-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-beauty-salons .beauty-salon-title-row h2{
    margin: 0;
    color: var(--text);
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-beauty-salons .beauty-salon-title-row p{
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-beauty-salons .beauty-salon-rating{
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    color: #d97706;
    padding: 8px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.page-scope-beauty-salons .beauty-salon-rating svg{
    width: 15px;
    height: 15px;
    fill: currentColor;
}

body.page-scope-beauty-salons .beauty-salon-rating strong{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-beauty-salons .beauty-salon-rating span{
    font-size: 10px;
    font-weight: 900;
}

body.page-scope-beauty-salons .beauty-salon-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-beauty-salons .beauty-salon-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-beauty-salons .beauty-salon-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-salons .beauty-salon-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-beauty-salons .beauty-salon-address{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(190, 24, 93, .08);
    color: #9d174d;
    padding: 12px;
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-beauty-salons .beauty-salon-address svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
}

body.page-scope-beauty-salons .beauty-salon-actions{
    margin-top: 13px;
}

@media (min-width: 760px) {
    body.page-scope-beauty-salons .beauty-salons-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-beauty-salons .beauty-salons-hero-card{
        border-radius: 30px;
    }

    body.page-scope-beauty-salons .beauty-salons-stats, body.page-scope-beauty-salons .beauty-salons-filter-grid, body.page-scope-beauty-salons .beauty-salons-filter-actions, body.page-scope-beauty-salons .beauty-salon-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-beauty-salons .beauty-salon-title-row{
        display: block;
    }

    body.page-scope-beauty-salons .beauty-salon-rating{
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: beauty/services.php
   Former inline <style> rules; isolated to .page-scope-beauty-services
   ========================================================= */

body.page-scope-beauty-services .beauty-services-page .app-main{
    padding-top: 18px;
}

body.page-scope-beauty-services .beauty-services-back{
    margin-bottom: 12px;
}

body.page-scope-beauty-services .beauty-services-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .38), transparent 42%),
        radial-gradient(circle at bottom left, rgba(168, 85, 247, .28), transparent 38%),
        linear-gradient(135deg, #be185d, #7c3aed);
    color: #fff;
    box-shadow: 0 20px 50px rgba(190, 24, 93, .22);
    padding: 20px;
}

body.page-scope-beauty-services .beauty-services-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-beauty-services .beauty-services-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-beauty-services .beauty-services-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-beauty-services .beauty-services-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-beauty-services .beauty-services-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-beauty-services .beauty-services-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-beauty-services .beauty-services-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-beauty-services .beauty-services-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-beauty-services .beauty-services-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-beauty-services .beauty-services-list{
    display: grid;
    gap: 14px;
}

body.page-scope-beauty-services .beauty-service-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-beauty-services .beauty-service-image{
    position: relative;
    min-height: 190px;
    background:
        radial-gradient(circle at top right, rgba(244, 114, 182, .26), transparent 45%),
        linear-gradient(135deg, rgba(190, 24, 93, .12), rgba(124, 58, 237, .12));
    color: #be185d;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-beauty-services .beauty-service-image img{
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

body.page-scope-beauty-services .beauty-service-image > svg{
    width: 62px;
    height: 62px;
    fill: currentColor;
}

body.page-scope-beauty-services .beauty-service-category{
    position: absolute;
    left: 12px;
    top: 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .90);
    color: #be185d;
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-beauty-services .beauty-service-body{
    padding: 14px;
}

body.page-scope-beauty-services .beauty-service-title-row{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-beauty-services .beauty-service-title-row h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-beauty-services .beauty-service-title-row p{
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-beauty-services .beauty-service-price{
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(190, 24, 93, .10);
    color: #be185d;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-beauty-services .beauty-service-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-beauty-services .beauty-service-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-beauty-services .beauty-service-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-beauty-services .beauty-service-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-beauty-services .beauty-service-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-beauty-services .beauty-services-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-beauty-services .beauty-services-hero-card{
        border-radius: 30px;
    }

    body.page-scope-beauty-services .beauty-services-stats, body.page-scope-beauty-services .beauty-services-filter-grid, body.page-scope-beauty-services .beauty-services-filter-actions, body.page-scope-beauty-services .beauty-service-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-beauty-services .beauty-service-title-row{
        display: block;
    }

    body.page-scope-beauty-services .beauty-service-price{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-beauty-services .beauty-service-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: dashboard/restaurant.php
   Former inline <style> rules; isolated to .page-scope-dashboard-restaurant
   ========================================================= */

body.page-scope-dashboard-restaurant .restaurant-dashboard-page .app-main{
    padding-top: 18px;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-hero{
    margin-bottom: 16px;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-cover{
    position: relative;
    min-height: 250px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.24), transparent 42%),
        linear-gradient(135deg, rgba(18, 102, 241, 0.15), rgba(109, 93, 252, 0.09));
    box-shadow: var(--shadow);
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-cover > img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-overlay{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.25), transparent),
        linear-gradient(to right, rgba(15, 23, 42, 0.42), transparent);
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-hero-content{
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    grid-template-columns: 66px 1fr;
    gap: 13px;
    align-items: end;
    color: #fff;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-logo{
    width: 66px;
    height: 66px;
    border-radius: 24px;
    background: rgba(255,255,255,.92);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15,23,42,.26);
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-logo svg{
    width: 34px;
    height: 34px;
    fill: currentColor;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-hero-content .hero-eyebrow{
    color: rgba(255,255,255,.78);
    margin-bottom: 4px;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-hero-content h1{
    margin: 0;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.06em;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-hero-content p{
    margin: 8px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 750;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-stats{
    margin-bottom: 12px;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-actions .action-card{
    min-height: 145px;
}

body.page-scope-dashboard-restaurant .restaurant-dashboard-actions .action-card span svg{
    width: 24px;
    height: 24px;
    fill: currentColor;
}

body.page-scope-dashboard-restaurant .qr-dashboard-card{
    background:
        linear-gradient(135deg, rgba(245, 158, 11, 0.10), rgba(18, 102, 241, 0.05)),
        #fff;
}

body.page-scope-dashboard-restaurant .qr-dashboard-card span{
    background: rgba(245, 158, 11, 0.13) !important;
    color: #f59e0b !important;
}

@media (max-width: 420px) {
    body.page-scope-dashboard-restaurant .restaurant-dashboard-cover{
        min-height: 245px;
        border-radius: 30px;
    }

    body.page-scope-dashboard-restaurant .restaurant-dashboard-hero-content{
        grid-template-columns: 58px 1fr;
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    body.page-scope-dashboard-restaurant .restaurant-dashboard-logo{
        width: 58px;
        height: 58px;
        border-radius: 22px;
    }

    body.page-scope-dashboard-restaurant .restaurant-dashboard-hero-content h1{
        font-size: 24px;
    }

    body.page-scope-dashboard-restaurant .restaurant-dashboard-actions .action-card{
        min-height: 132px;
    }
}


/* =========================================================
   PAGE: dashboard/staff-availability.php
   Former inline <style> rules; isolated to .page-scope-dashboard-staff-availability
   ========================================================= */

body.page-scope-dashboard-staff-availability .avail-hero{border-radius:32px;background:linear-gradient(135deg,#0f172a,#2563eb 55%,#7c3aed);color:#fff;padding:26px;margin:10px 0 18px;box-shadow:0 24px 70px rgba(15,23,42,.2)}body.page-scope-dashboard-staff-availability .avail-hero h1{margin:10px 0 6px;font-size:clamp(26px,5vw,46px)}body.page-scope-dashboard-staff-availability .avail-card{border:1px solid rgba(15,23,42,.08);background:#fff;border-radius:28px;padding:20px;box-shadow:0 16px 45px rgba(15,23,42,.07);margin-bottom:16px}body.page-scope-dashboard-staff-availability .avail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.page-scope-dashboard-staff-availability .avail-card input, body.page-scope-dashboard-staff-availability .avail-card textarea, body.page-scope-dashboard-staff-availability .avail-card select{width:100%;border:1px solid rgba(15,23,42,.12);background:#f8fafc;border-radius:16px;padding:12px;outline:none}body.page-scope-dashboard-staff-availability .avail-card textarea{min-height:90px}body.page-scope-dashboard-staff-availability .location-row{border:1px solid rgba(15,23,42,.10);background:linear-gradient(180deg,#fff,#f8fafc);border-radius:22px;padding:15px;margin-bottom:12px}body.page-scope-dashboard-staff-availability .online-calendar-box, body.page-scope-dashboard-staff-availability .location-calendar-card, body.page-scope-dashboard-staff-availability .map-note-field{border:1px solid rgba(37,99,235,.12);background:linear-gradient(180deg,#f8fbff,#ffffff);border-radius:18px;padding:14px;margin-top:10px}body.page-scope-dashboard-staff-availability .online-calendar-box p, body.page-scope-dashboard-staff-availability .location-calendar-card p{margin:5px 0 12px;color:#64748b;font-size:13px}body.page-scope-dashboard-staff-availability .online-slot-list{display:grid;gap:10px}body.page-scope-dashboard-staff-availability .online-slot-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;gap:8px;align-items:end}body.page-scope-dashboard-staff-availability .form-row-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}body.page-scope-dashboard-staff-availability .location-row-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}body.page-scope-dashboard-staff-availability .weekday-picker{display:flex;flex-wrap:wrap;gap:8px}body.page-scope-dashboard-staff-availability .weekday-picker label{display:inline-flex;gap:6px;align-items:center;background:#eff6ff;border:1px solid rgba(37,99,235,.16);border-radius:999px;padding:8px 10px;font-weight:900;font-size:12px}body.page-scope-dashboard-staff-availability .add-location-btn, body.page-scope-dashboard-staff-availability .save-btn{border:0;border-radius:18px;padding:13px 16px;background:#2563eb;color:#fff;font-weight:900;cursor:pointer}body.page-scope-dashboard-staff-availability .save-btn{width:100%;background:linear-gradient(135deg,#2563eb,#7c3aed)}body.page-scope-dashboard-staff-availability .mini-remove-location{border:0;border-radius:999px;background:#fee2e2;color:#991b1b;font-weight:900;padding:8px 11px}body.page-scope-dashboard-staff-availability .docs-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px}body.page-scope-dashboard-staff-availability .doc-thumb{border-radius:18px;overflow:hidden;background:#f1f5f9;border:1px solid rgba(15,23,42,.08)}body.page-scope-dashboard-staff-availability .doc-thumb img{width:100%;height:120px;object-fit:cover;display:block}body.page-scope-dashboard-staff-availability .doc-thumb span{display:block;padding:8px;font-size:12px;color:#64748b}@media(max-width:800px){body.page-scope-dashboard-staff-availability .avail-grid, body.page-scope-dashboard-staff-availability .form-row-four{grid-template-columns:1fr}body.page-scope-dashboard-staff-availability .online-slot-row{grid-template-columns:1fr 1fr}body.page-scope-dashboard-staff-availability .online-slot-row .mini-remove-location{grid-column:1/-1}body.page-scope-dashboard-staff-availability .avail-card{padding:16px;border-radius:24px}}

body.page-scope-dashboard-staff-availability .map-link-inline{display:flex;gap:8px;align-items:center}body.page-scope-dashboard-staff-availability .map-link-inline input{min-width:0}body.page-scope-dashboard-staff-availability .map-open-btn{border:0;border-radius:14px;padding:11px 12px;background:#0f172a;color:#fff;font-weight:900;white-space:nowrap;cursor:pointer}@media(max-width:680px){body.page-scope-dashboard-staff-availability .map-link-inline{flex-direction:column;align-items:stretch}body.page-scope-dashboard-staff-availability .map-open-btn{width:100%}}

/* =========================================================
   PAGE: dashboard/staff-profile.php
   Former inline <style> rules; isolated to .page-scope-dashboard-staff-profile
   ========================================================= */

body.page-scope-dashboard-staff-profile .staff-dash-hero{border-radius:34px;padding:28px;background:linear-gradient(135deg,#111827,#2563eb 50%,#14b8a6);color:#fff;box-shadow:0 24px 70px rgba(15,23,42,.2);margin:10px 0 22px}body.page-scope-dashboard-staff-profile .staff-dash-hero small{display:inline-flex;background:rgba(255,255,255,.14);border-radius:999px;padding:8px 12px;font-weight:900}body.page-scope-dashboard-staff-profile .staff-dash-hero h1{font-size:clamp(28px,5vw,50px);margin:14px 0 8px}body.page-scope-dashboard-staff-profile .staff-dash-hero p{color:rgba(255,255,255,.78);max-width:760px}body.page-scope-dashboard-staff-profile .staff-actions-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}body.page-scope-dashboard-staff-profile .staff-action-card{border:1px solid rgba(15,23,42,.08);border-radius:28px;background:#fff;padding:20px;text-decoration:none;color:#0f172a;box-shadow:0 16px 45px rgba(15,23,42,.07)}body.page-scope-dashboard-staff-profile .staff-action-card strong{display:block;font-size:18px;margin-bottom:6px}body.page-scope-dashboard-staff-profile .staff-action-card span{color:#64748b}body.page-scope-dashboard-staff-profile .staff-action-card.primary{background:linear-gradient(135deg,#dcfce7,#eff6ff)}body.page-scope-dashboard-staff-profile .profile-info-panel{margin-top:18px;border-radius:28px;background:#fff;border:1px solid rgba(15,23,42,.08);padding:20px;box-shadow:0 16px 45px rgba(15,23,42,.06)}body.page-scope-dashboard-staff-profile .profile-info-panel dl{display:grid;grid-template-columns:180px 1fr;gap:10px}body.page-scope-dashboard-staff-profile .profile-info-panel dt{font-weight:900;color:#334155}body.page-scope-dashboard-staff-profile .profile-info-panel dd{margin:0;color:#64748b}@media(max-width:800px){body.page-scope-dashboard-staff-profile .staff-actions-grid{grid-template-columns:1fr}body.page-scope-dashboard-staff-profile .profile-info-panel dl{grid-template-columns:1fr}body.page-scope-dashboard-staff-profile .staff-dash-hero{border-radius:28px;padding:22px}}
body.page-scope-dashboard-staff-profile .staff-locations-list{display:grid;gap:10px;margin-top:14px}body.page-scope-dashboard-staff-profile .staff-location-item{border:1px solid rgba(15,23,42,.08);border-radius:18px;background:#f8fafc;padding:13px}body.page-scope-dashboard-staff-profile .staff-location-item strong{display:block}body.page-scope-dashboard-staff-profile .staff-doc-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin-top:12px}body.page-scope-dashboard-staff-profile .staff-doc-grid img{width:100%;height:110px;object-fit:cover;border-radius:16px;border:1px solid rgba(15,23,42,.08)}

/* =========================================================
   PAGE: edu/assignments.php
   Former inline <style> rules; isolated to .page-scope-edu-assignments
   ========================================================= */

body.page-scope-edu-assignments .edu-assignments-page .app-main{
    padding-top: 18px;
}

body.page-scope-edu-assignments .edu-assignments-back{
    margin-bottom: 12px;
}

body.page-scope-edu-assignments .edu-assignments-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, .28), transparent 38%),
        linear-gradient(135deg, #0369a1, #4f46e5);
    color: #fff;
    box-shadow: 0 20px 50px rgba(79, 70, 229, .22);
    padding: 20px;
}

body.page-scope-edu-assignments .edu-assignments-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-edu-assignments .edu-assignments-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-edu-assignments .edu-assignments-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-edu-assignments .edu-assignments-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-assignments .edu-assignments-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-edu-assignments .edu-assignments-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-edu-assignments .edu-assignments-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-edu-assignments .edu-assignments-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-edu-assignments .edu-assignments-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-edu-assignments .edu-assignments-list{
    display: grid;
    gap: 14px;
}

body.page-scope-edu-assignments .edu-assignment-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-assignments .edu-assignment-teacher{
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, .85);
}

body.page-scope-edu-assignments .edu-assignment-teacher-avatar{
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: rgba(3, 105, 161, .10);
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-edu-assignments .edu-assignment-teacher-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-edu-assignments .edu-assignment-teacher-avatar svg{
    width: 27px;
    height: 27px;
    fill: currentColor;
}

body.page-scope-edu-assignments .edu-assignment-teacher span{
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-edu-assignments .edu-assignment-teacher strong{
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-edu-assignments .edu-assignment-teacher small{
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-edu-assignments .edu-assignment-head{
    margin-top: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-edu-assignments .edu-assignment-head span{
    display: block;
    color: #0369a1;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-edu-assignments .edu-assignment-head h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-edu-assignments .edu-assignment-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-edu-assignments .status-pending{
    background: rgba(245, 158, 11, .14);
    color: #d97706;
}

body.page-scope-edu-assignments .status-in-progress{
    background: rgba(14, 165, 233, .14);
    color: #0284c7;
}

body.page-scope-edu-assignments .status-submitted{
    background: rgba(99, 102, 241, .14);
    color: #4f46e5;
}

body.page-scope-edu-assignments .status-completed{
    background: rgba(22, 163, 74, .14);
    color: #16a34a;
}

body.page-scope-edu-assignments .status-overdue{
    background: rgba(239, 68, 68, .14);
    color: #dc2626;
}

body.page-scope-edu-assignments .edu-assignment-description{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(3, 105, 161, .07);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-edu-assignments .edu-assignment-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-edu-assignments .edu-assignment-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-edu-assignments .edu-assignment-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-edu-assignments .edu-assignment-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-edu-assignments .edu-assignment-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(99, 102, 241, .08);
    color: #4338ca;
    padding: 12px;
}

body.page-scope-edu-assignments .edu-assignment-note strong{
    display: block;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-edu-assignments .edu-assignment-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-edu-assignments .edu-assignment-actions{
    margin-top: 13px;
}

@media (min-width: 760px) {
    body.page-scope-edu-assignments .edu-assignments-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-edu-assignments .edu-assignments-hero-card{
        border-radius: 30px;
    }

    body.page-scope-edu-assignments .edu-assignments-stats, body.page-scope-edu-assignments .edu-assignments-filter-grid, body.page-scope-edu-assignments .edu-assignments-filter-actions, body.page-scope-edu-assignments .edu-assignment-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-edu-assignments .edu-assignment-head{
        display: block;
    }

    body.page-scope-edu-assignments .edu-assignment-head em{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: edu/course.php
   Former inline <style> rules; isolated to .page-scope-edu-course
   ========================================================= */

body.page-scope-edu-course .edu-detail-hero{display:grid;grid-template-columns:42% 1fr;gap:18px;border-radius:36px;background:#fff;box-shadow:0 18px 55px rgba(15,23,42,.08);padding:16px}body.page-scope-edu-course .edu-detail-image{border-radius:28px;overflow:hidden;background:#e0e7ff;min-height:360px}body.page-scope-edu-course .edu-detail-image img{width:100%;height:100%;object-fit:cover}body.page-scope-edu-course .edu-detail-info{padding:18px;display:flex;flex-direction:column;justify-content:center}body.page-scope-edu-course .edu-detail-info h1{font-size:44px;line-height:.95;letter-spacing:-.065em;margin:10px 0}body.page-scope-edu-course .edu-detail-info p{color:#64748b;line-height:1.5}body.page-scope-edu-course .edu-meta-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:18px}body.page-scope-edu-course .edu-meta-grid div{background:#f8fafc;border-radius:20px;padding:14px}body.page-scope-edu-course .edu-meta-grid span{display:block;color:#64748b;font-size:12px;font-weight:900}body.page-scope-edu-course .edu-meta-grid strong{display:block;margin-top:5px}body.page-scope-edu-course .edu-two-col{display:grid;grid-template-columns:1.5fr .8fr;gap:16px}body.page-scope-edu-course .edu-info-panel{background:#fff;border-radius:30px;padding:22px;box-shadow:0 18px 55px rgba(15,23,42,.08)}body.page-scope-edu-course .edu-info-panel h2{margin:0 0 12px}body.page-scope-edu-course .edu-info-panel p{color:#475569;line-height:1.65}body.page-scope-edu-course .teacher-mini{display:flex;gap:12px;align-items:center}body.page-scope-edu-course .teacher-mini img{width:68px;height:68px;border-radius:24px;object-fit:cover}body.page-scope-edu-course .teacher-mini span{display:block;color:#64748b;margin-top:4px}body.page-scope-edu-course .edu-group-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}body.page-scope-edu-course .edu-group-card{border-radius:30px;background:#fff;box-shadow:0 18px 55px rgba(15,23,42,.08);padding:18px}body.page-scope-edu-course .edu-group-top{display:flex;justify-content:space-between;gap:10px}body.page-scope-edu-course .edu-group-top h3{margin:0;font-size:21px}body.page-scope-edu-course .edu-group-top span{background:#dbeafe;color:#1d4ed8;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:950}body.page-scope-edu-course .edu-group-price{font-size:30px;letter-spacing:-.04em;font-weight:950;margin:15px 0;color:#16a34a}body.page-scope-edu-course .edu-group-details, body.page-scope-edu-course .edu-schedule-list{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}body.page-scope-edu-course .edu-group-details span, body.page-scope-edu-course .edu-schedule-list span{border-radius:999px;background:#f8fafc;padding:7px 10px;font-size:12px;color:#475569;font-weight:850}body.page-scope-edu-course .btn-full{width:100%;justify-content:center}@media(max-width:950px){body.page-scope-edu-course .edu-detail-hero, body.page-scope-edu-course .edu-two-col, body.page-scope-edu-course .edu-group-grid{grid-template-columns:1fr}body.page-scope-edu-course .edu-detail-head, body.page-scope-edu-course .edu-two-col, body.page-scope-edu-course .section{padding-left:12px;padding-right:12px}body.page-scope-edu-course .edu-detail-info h1{font-size:34px}body.page-scope-edu-course .edu-meta-grid{grid-template-columns:1fr 1fr}body.page-scope-edu-course .edu-detail-image{min-height:230px}}


/* =========================================================
   PAGE: edu/courses.php
   Former inline <style> rules; isolated to .page-scope-edu-courses
   ========================================================= */

body.page-scope-edu-courses .edu-page-head{padding-top:18px}body.page-scope-edu-courses .edu-page-head h1{font-size:40px;line-height:.95;margin:12px 0 8px;letter-spacing:-.06em}body.page-scope-edu-courses .edu-page-head p{color:#64748b;max-width:760px}body.page-scope-edu-courses .edu-filter-card{background:#fff;border-radius:28px;padding:14px;box-shadow:0 18px 55px rgba(15,23,42,.08);display:grid;grid-template-columns:2fr 1fr 1fr auto auto;gap:10px}body.page-scope-edu-courses .edu-filter-card input, body.page-scope-edu-courses .edu-filter-card select{height:48px;border:1px solid #e2e8f0;border-radius:17px;padding:0 14px;background:#f8fafc;font-weight:800}body.page-scope-edu-courses .edu-course-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}body.page-scope-edu-courses .edu-course-card{background:#fff;border-radius:32px;overflow:hidden;text-decoration:none;color:#0f172a;box-shadow:0 18px 55px rgba(15,23,42,.08);transition:.24s}body.page-scope-edu-courses .edu-course-card:hover{transform:translateY(-5px)}body.page-scope-edu-courses .edu-course-image{height:190px;background:#e0e7ff}body.page-scope-edu-courses .edu-course-image img{width:100%;height:100%;object-fit:cover}body.page-scope-edu-courses .edu-course-body{padding:18px}body.page-scope-edu-courses .edu-chip-row{display:flex;gap:8px;flex-wrap:wrap}body.page-scope-edu-courses .edu-chip{border-radius:999px;background:#dbeafe;color:#1d4ed8;padding:7px 10px;font-size:12px;font-weight:950}body.page-scope-edu-courses .edu-chip.soft{background:#f1f5f9;color:#475569}body.page-scope-edu-courses .edu-course-body h3{font-size:21px;line-height:1.05;margin:14px 0 8px;letter-spacing:-.04em}body.page-scope-edu-courses .edu-course-body p{color:#64748b;line-height:1.45;min-height:66px}body.page-scope-edu-courses .edu-card-bottom{display:flex;justify-content:space-between;gap:10px;align-items:end;border-top:1px solid #f1f5f9;padding-top:13px}body.page-scope-edu-courses .edu-card-bottom span{font-size:13px;color:#64748b}body.page-scope-edu-courses .edu-card-bottom strong{color:#16a34a;white-space:nowrap}body.page-scope-edu-courses .edu-card-action{display:flex;justify-content:space-between;align-items:center;margin-top:14px}body.page-scope-edu-courses .edu-card-action span{font-size:13px;color:#64748b;font-weight:800}body.page-scope-edu-courses .edu-card-action b{color:#2563eb}@media(max-width:950px){body.page-scope-edu-courses .edu-filter-card, body.page-scope-edu-courses .edu-course-grid{grid-template-columns:1fr}body.page-scope-edu-courses .edu-filter-card{margin:0 12px}body.page-scope-edu-courses .edu-course-grid{padding:0 12px}body.page-scope-edu-courses .edu-page-head{padding-left:12px;padding-right:12px}body.page-scope-edu-courses .edu-page-head h1{font-size:34px}body.page-scope-edu-courses .edu-course-image{height:170px}}


/* =========================================================
   PAGE: edu/index.php
   Former inline <style> rules; isolated to .page-scope-edu-index
   ========================================================= */

body.page-scope-edu-index .pro-edu-hero{margin:16px 16px 0;border-radius:36px;padding:24px;background:linear-gradient(135deg,#111827,#2563eb 52%,#7c3aed);color:#fff;box-shadow:0 24px 70px rgba(37,99,235,.28);display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;overflow:hidden;position:relative}body.page-scope-edu-index .pro-edu-hero:before{content:"";position:absolute;inset:-40% -20% auto auto;width:360px;height:360px;border-radius:50%;background:rgba(255,255,255,.13)}body.page-scope-edu-index .pro-edu-hero h1{font-size:42px;line-height:.92;margin:10px 0;color:#fff;letter-spacing:-.07em}body.page-scope-edu-index .pro-edu-hero p{max-width:620px;color:rgba(255,255,255,.86);font-size:16px}body.page-scope-edu-index .edu-hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}body.page-scope-edu-index .edu-video-orb{width:190px;height:190px;border-radius:42px;background:rgba(255,255,255,.14);backdrop-filter:blur(16px);display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.22)}body.page-scope-edu-index .edu-video-orb svg{width:54px;height:54px;fill:#fff}body.page-scope-edu-index .edu-video-orb strong{font-size:20px;margin-top:10px}body.page-scope-edu-index .edu-video-orb span{opacity:.85}body.page-scope-edu-index .edu-stat-row{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}body.page-scope-edu-index .edu-stat-card{border-radius:28px;background:#fff;box-shadow:0 16px 40px rgba(15,23,42,.08);padding:18px}body.page-scope-edu-index .edu-stat-card strong{display:block;font-size:31px;letter-spacing:-.04em}body.page-scope-edu-index .edu-stat-card span{color:#64748b;font-weight:800}body.page-scope-edu-index .edu-action-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}body.page-scope-edu-index .edu-action-card{min-height:230px;border-radius:32px;background:#fff;text-decoration:none;color:#0f172a;padding:20px;box-shadow:0 18px 55px rgba(15,23,42,.08);display:flex;flex-direction:column;gap:12px;transition:.25s}body.page-scope-edu-index .edu-action-card:hover{transform:translateY(-5px)}body.page-scope-edu-index .edu-action-card>span{width:54px;height:54px;border-radius:20px;display:grid;place-items:center}body.page-scope-edu-index .edu-action-card svg{width:27px;height:27px;fill:#fff}body.page-scope-edu-index .edu-action-card h3{margin:0;font-size:22px}body.page-scope-edu-index .edu-action-card p{margin:0;color:#64748b;line-height:1.45}body.page-scope-edu-index .edu-action-card b{margin-top:auto}body.page-scope-edu-index .edu-action-card.blue>span{background:#2563eb}body.page-scope-edu-index .edu-action-card.violet>span{background:#7c3aed}body.page-scope-edu-index .edu-action-card.green>span{background:#10b981}body.page-scope-edu-index .edu-action-card.amber>span{background:#f59e0b}body.page-scope-edu-index .edu-feature-card{border-radius:32px;background:linear-gradient(135deg,#eff6ff,#fff);padding:18px;display:grid;grid-template-columns:repeat(3,1fr);gap:14px;border:1px solid rgba(37,99,235,.12)}body.page-scope-edu-index .edu-feature-card div{background:#fff;border-radius:24px;padding:16px;display:flex;gap:12px;align-items:center;box-shadow:0 12px 30px rgba(15,23,42,.06)}body.page-scope-edu-index .edu-feature-card svg{width:24px;height:24px;fill:#2563eb}body.page-scope-edu-index .edu-feature-card span{font-weight:800;color:#334155}@media(max-width:900px){body.page-scope-edu-index .pro-edu-hero{grid-template-columns:1fr;margin:10px;border-radius:30px;padding:20px}body.page-scope-edu-index .pro-edu-hero h1{font-size:38px}body.page-scope-edu-index .edu-video-orb{width:100%;height:auto;padding:18px;border-radius:28px}body.page-scope-edu-index .edu-stat-row, body.page-scope-edu-index .edu-action-grid, body.page-scope-edu-index .edu-feature-card{grid-template-columns:1fr}body.page-scope-edu-index .edu-stat-row{padding:0 12px}body.page-scope-edu-index .edu-action-grid{padding:0 12px}}


/* =========================================================
   PAGE: edu/lessons.php
   Former inline <style> rules; isolated to .page-scope-edu-lessons
   ========================================================= */

body.page-scope-edu-lessons .edu-lessons-page .app-main{
    padding-top: 18px;
}

body.page-scope-edu-lessons .edu-lessons-back{
    margin-bottom: 12px;
}

body.page-scope-edu-lessons .edu-lessons-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, .28), transparent 38%),
        linear-gradient(135deg, #0369a1, #4f46e5);
    color: #fff;
    box-shadow: 0 20px 50px rgba(79, 70, 229, .22);
    padding: 20px;
}

body.page-scope-edu-lessons .edu-lessons-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-edu-lessons .edu-lessons-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-edu-lessons .edu-lessons-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-edu-lessons .edu-lessons-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-lessons .edu-lessons-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-edu-lessons .edu-lessons-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-edu-lessons .edu-lessons-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-edu-lessons .edu-lessons-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-edu-lessons .edu-lessons-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-edu-lessons .edu-lessons-list{
    display: grid;
    gap: 14px;
}

body.page-scope-edu-lessons .edu-lesson-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-lessons .edu-lesson-teacher{
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, .85);
}

body.page-scope-edu-lessons .edu-lesson-teacher-avatar{
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: rgba(3, 105, 161, .10);
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-edu-lessons .edu-lesson-teacher-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-edu-lessons .edu-lesson-teacher-avatar svg{
    width: 27px;
    height: 27px;
    fill: currentColor;
}

body.page-scope-edu-lessons .edu-lesson-teacher span{
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-edu-lessons .edu-lesson-teacher strong{
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-edu-lessons .edu-lesson-teacher small{
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-edu-lessons .edu-lesson-head{
    margin-top: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-edu-lessons .edu-lesson-head span{
    display: block;
    color: #0369a1;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-edu-lessons .edu-lesson-head h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-edu-lessons .edu-lesson-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-edu-lessons .status-active{
    background: rgba(22, 163, 74, .14);
    color: #16a34a;
}

body.page-scope-edu-lessons .status-pending{
    background: rgba(245, 158, 11, .14);
    color: #d97706;
}

body.page-scope-edu-lessons .status-completed{
    background: rgba(14, 165, 233, .14);
    color: #0284c7;
}

body.page-scope-edu-lessons .status-cancelled{
    background: rgba(239, 68, 68, .14);
    color: #dc2626;
}

body.page-scope-edu-lessons .edu-lesson-description{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(3, 105, 161, .07);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-edu-lessons .edu-lesson-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-edu-lessons .edu-lesson-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-edu-lessons .edu-lesson-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-edu-lessons .edu-lesson-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-edu-lessons .edu-lesson-actions{
    margin-top: 13px;
}

@media (min-width: 760px) {
    body.page-scope-edu-lessons .edu-lessons-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-edu-lessons .edu-lessons-hero-card{
        border-radius: 30px;
    }

    body.page-scope-edu-lessons .edu-lessons-stats, body.page-scope-edu-lessons .edu-lessons-filter-grid, body.page-scope-edu-lessons .edu-lessons-filter-actions, body.page-scope-edu-lessons .edu-lesson-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-edu-lessons .edu-lesson-head{
        display: block;
    }

    body.page-scope-edu-lessons .edu-lesson-head em{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: edu/my-courses.php
   Former inline <style> rules; isolated to .page-scope-edu-my-courses
   ========================================================= */

body.page-scope-edu-my-courses .edu-page-head h1{font-size:40px;line-height:.95;margin:12px 0 8px;letter-spacing:-.06em}body.page-scope-edu-my-courses .edu-page-head p{color:#64748b;max-width:760px}body.page-scope-edu-my-courses .edu-my-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}body.page-scope-edu-my-courses .edu-my-card{display:grid;grid-template-columns:220px 1fr;gap:0;background:#fff;border-radius:32px;overflow:hidden;box-shadow:0 18px 55px rgba(15,23,42,.08)}body.page-scope-edu-my-courses .edu-my-card img{width:100%;height:100%;min-height:250px;object-fit:cover}body.page-scope-edu-my-courses .edu-my-body{padding:18px}body.page-scope-edu-my-courses .status-pill{display:inline-flex;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950}body.page-scope-edu-my-courses .status-pill.ok{background:#dcfce7;color:#15803d}body.page-scope-edu-my-courses .status-pill.wait{background:#fef3c7;color:#b45309}body.page-scope-edu-my-courses .edu-my-body h3{font-size:24px;line-height:1.05;margin:14px 0;letter-spacing:-.04em}body.page-scope-edu-my-courses .edu-my-body p{color:#64748b;margin:8px 0}body.page-scope-edu-my-courses .edu-schedule-list{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}body.page-scope-edu-my-courses .edu-schedule-list span{border-radius:999px;background:#f8fafc;padding:7px 10px;font-size:12px;font-weight:850;color:#475569}body.page-scope-edu-my-courses .edu-schedule-list .joinable{background:#dcfce7;color:#15803d}body.page-scope-edu-my-courses .btn-full{width:100%;justify-content:center}body.page-scope-edu-my-courses .edu-two-panels{display:grid;grid-template-columns:1fr 1fr;gap:16px}body.page-scope-edu-my-courses .edu-info-panel{background:#fff;border-radius:30px;padding:20px;box-shadow:0 18px 55px rgba(15,23,42,.08)}body.page-scope-edu-my-courses .mini-row{padding:12px 0;border-bottom:1px solid #f1f5f9}body.page-scope-edu-my-courses .mini-row:last-child{border-bottom:0}body.page-scope-edu-my-courses .mini-row strong{display:block}body.page-scope-edu-my-courses .mini-row span{display:block;color:#64748b;font-size:13px;margin-top:4px}@media(max-width:900px){body.page-scope-edu-my-courses .edu-my-grid, body.page-scope-edu-my-courses .edu-two-panels, body.page-scope-edu-my-courses .edu-my-card{grid-template-columns:1fr}body.page-scope-edu-my-courses .section{padding-left:12px;padding-right:12px}body.page-scope-edu-my-courses .edu-my-card img{min-height:180px}body.page-scope-edu-my-courses .edu-page-head h1{font-size:34px}}


/* =========================================================
   PAGE: edu/online-room.php
   Former inline <style> rules; isolated to .page-scope-edu-online-room
   ========================================================= */

html:has(body.page-scope-edu-online-room), body.page-scope-edu-online-room{margin:0;height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#07111f;color:#fff;overflow:hidden}body.page-scope-edu-online-room .room-shell{height:100vh;display:grid;grid-template-rows:auto 1fr}body.page-scope-edu-online-room .room-top{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 16px;background:rgba(15,23,42,.86);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08)}body.page-scope-edu-online-room .room-top a{color:#fff;text-decoration:none;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:10px 13px;font-weight:800}body.page-scope-edu-online-room .room-title{min-width:0}body.page-scope-edu-online-room .room-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-scope-edu-online-room .room-title span{display:block;color:rgba(255,255,255,.65);font-size:12px;margin-top:3px}body.page-scope-edu-online-room .room-badge{border-radius:999px;background:#2563eb;padding:9px 12px;font-weight:900;font-size:12px}body.page-scope-edu-online-room #root{height:100%;min-height:0}body.page-scope-edu-online-room .fallback{position:absolute;inset:80px 16px 16px;display:grid;place-items:center;text-align:center;color:rgba(255,255,255,.7)}@media(max-width:640px){body.page-scope-edu-online-room .room-top{padding:10px}body.page-scope-edu-online-room .room-badge{display:none}body.page-scope-edu-online-room .room-top a{padding:9px 10px}body.page-scope-edu-online-room .room-title strong{max-width:210px}}


/* =========================================================
   PAGE: edu/teacher-dashboard.php
   Former inline <style> rules; isolated to .page-scope-edu-teacher-dashboard
   ========================================================= */
body.page-scope-edu-teacher-dashboard .edu-page-head h1{font-size:40px;line-height:.95;margin:12px 0 8px;letter-spacing:-.06em}body.page-scope-edu-teacher-dashboard .edu-page-head p{color:#64748b;max-width:760px}body.page-scope-edu-teacher-dashboard .edu-dashboard-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}body.page-scope-edu-teacher-dashboard .edu-panel{background:#fff;border-radius:30px;padding:20px;box-shadow:0 18px 55px rgba(15,23,42,.08)}body.page-scope-edu-teacher-dashboard .edu-panel h2{margin-top:0}body.page-scope-edu-teacher-dashboard .edu-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}body.page-scope-edu-teacher-dashboard .edu-form label{font-size:13px;font-weight:900;color:#475569}body.page-scope-edu-teacher-dashboard .edu-form input, body.page-scope-edu-teacher-dashboard .edu-form select, body.page-scope-edu-teacher-dashboard .edu-form textarea{width:100%;margin-top:6px;border:1px solid #e2e8f0;border-radius:16px;background:#f8fafc;min-height:46px;padding:0 12px;font-weight:800}body.page-scope-edu-teacher-dashboard .edu-form textarea{min-height:100px;padding:12px}body.page-scope-edu-teacher-dashboard .edu-form .wide, body.page-scope-edu-teacher-dashboard .edu-form button{grid-column:1/-1}body.page-scope-edu-teacher-dashboard .mini-row{padding:12px 0;border-bottom:1px solid #f1f5f9}body.page-scope-edu-teacher-dashboard .mini-row:last-child{border-bottom:0}body.page-scope-edu-teacher-dashboard .mini-row strong{display:block}body.page-scope-edu-teacher-dashboard .mini-row span{display:block;color:#64748b;font-size:13px;margin-top:4px}body.page-scope-edu-teacher-dashboard .mini-row a{color:#2563eb;font-weight:900;text-decoration:none}@media(max-width:900px){body.page-scope-edu-teacher-dashboard .edu-dashboard-grid, body.page-scope-edu-teacher-dashboard .edu-form{grid-template-columns:1fr}body.page-scope-edu-teacher-dashboard .section{padding-left:12px;padding-right:12px}body.page-scope-edu-teacher-dashboard .edu-page-head h1{font-size:34px}}

/* =========================================================
   PAGE: edu/teacher-detail.php
   Former inline <style> rules; isolated to .page-scope-edu-teacher-detail
   ========================================================= */

body.page-scope-edu-teacher-detail .edu-teacher-detail-page .app-main{
    padding-top: 18px;
}

body.page-scope-edu-teacher-detail .teacher-detail-back{
    margin-bottom: 12px;
}

body.page-scope-edu-teacher-detail .teacher-detail-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, .28), transparent 38%),
        linear-gradient(135deg, #0369a1, #4f46e5);
    color: #fff;
    box-shadow: 0 20px 50px rgba(79, 70, 229, .22);
    padding: 20px;
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px;
    align-items: center;
}

body.page-scope-edu-teacher-detail .teacher-detail-avatar{
    width: 100px;
    height: 100px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(12px);
}

body.page-scope-edu-teacher-detail .teacher-detail-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-edu-teacher-detail .teacher-detail-avatar svg{
    width: 48px;
    height: 48px;
    fill: currentColor;
}

body.page-scope-edu-teacher-detail .teacher-detail-verified{
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-edu-teacher-detail .teacher-detail-verified svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-edu-teacher-detail .teacher-detail-heading h1{
    margin: 10px 0 6px;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-edu-teacher-detail .teacher-detail-heading p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 850;
}

body.page-scope-edu-teacher-detail .teacher-detail-rating{
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(12px);
}

body.page-scope-edu-teacher-detail .teacher-detail-rating svg{
    width: 15px;
    height: 15px;
    fill: #fbbf24;
}

body.page-scope-edu-teacher-detail .teacher-detail-rating strong{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-edu-teacher-detail .teacher-detail-rating span{
    font-size: 10px;
    font-weight: 900;
    opacity: .82;
}

body.page-scope-edu-teacher-detail .teacher-detail-info-grid{
    display: grid;
    gap: 14px;
}

body.page-scope-edu-teacher-detail .teacher-detail-about-card, body.page-scope-edu-teacher-detail .teacher-detail-contact-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-teacher-detail .teacher-detail-about-card h2, body.page-scope-edu-teacher-detail .teacher-detail-contact-card h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -.05em;
}

body.page-scope-edu-teacher-detail .teacher-detail-about-card p{
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
    font-weight: 800;
}

body.page-scope-edu-teacher-detail .teacher-contact-list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-edu-teacher-detail .teacher-contact-list div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-edu-teacher-detail .teacher-contact-list span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-edu-teacher-detail .teacher-contact-list strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-edu-teacher-detail .teacher-lessons-list{
    display: grid;
    gap: 14px;
}

body.page-scope-edu-teacher-detail .teacher-lesson-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-teacher-detail .teacher-lesson-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-edu-teacher-detail .teacher-lesson-head span{
    display: block;
    color: #0369a1;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-edu-teacher-detail .teacher-lesson-head h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -.04em;
}

body.page-scope-edu-teacher-detail .teacher-lesson-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-edu-teacher-detail .status-active{
    background: rgba(22, 163, 74, .14);
    color: #16a34a;
}

body.page-scope-edu-teacher-detail .status-pending{
    background: rgba(245, 158, 11, .14);
    color: #d97706;
}

body.page-scope-edu-teacher-detail .status-completed{
    background: rgba(14, 165, 233, .14);
    color: #0284c7;
}

body.page-scope-edu-teacher-detail .status-cancelled{
    background: rgba(239, 68, 68, .14);
    color: #dc2626;
}

body.page-scope-edu-teacher-detail .teacher-lesson-description{
    margin: 12px 0 0;
    border-radius: 18px;
    background: rgba(3, 105, 161, .07);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-edu-teacher-detail .teacher-lesson-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-edu-teacher-detail .teacher-lesson-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-edu-teacher-detail .teacher-lesson-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-edu-teacher-detail .teacher-lesson-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

@media (min-width: 760px) {
    body.page-scope-edu-teacher-detail .teacher-detail-info-grid{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-edu-teacher-detail .teacher-lessons-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-edu-teacher-detail .teacher-detail-hero-card{
        border-radius: 30px;
        grid-template-columns: 76px 1fr;
        gap: 12px;
    }

    body.page-scope-edu-teacher-detail .teacher-detail-avatar{
        width: 76px;
        height: 76px;
        border-radius: 27px;
    }

    body.page-scope-edu-teacher-detail .teacher-detail-avatar svg{
        width: 36px;
        height: 36px;
    }

    body.page-scope-edu-teacher-detail .teacher-detail-heading h1{
        font-size: 24px;
    }

    body.page-scope-edu-teacher-detail .teacher-contact-list, body.page-scope-edu-teacher-detail .teacher-lesson-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-edu-teacher-detail .teacher-lesson-head{
        display: block;
    }

    body.page-scope-edu-teacher-detail .teacher-lesson-head em{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: edu/teachers.php
   Former inline <style> rules; isolated to .page-scope-edu-teachers
   ========================================================= */

body.page-scope-edu-teachers .edu-teachers-page .app-main{
    padding-top: 18px;
}

body.page-scope-edu-teachers .edu-teachers-back{
    margin-bottom: 12px;
}

body.page-scope-edu-teachers .edu-teachers-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, .28), transparent 38%),
        linear-gradient(135deg, #0369a1, #4f46e5);
    color: #fff;
    box-shadow: 0 20px 50px rgba(79, 70, 229, .22);
    padding: 20px;
}

body.page-scope-edu-teachers .edu-teachers-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-edu-teachers .edu-teachers-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-edu-teachers .edu-teachers-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-edu-teachers .edu-teachers-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-teachers .edu-teachers-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-edu-teachers .edu-teachers-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-edu-teachers .edu-teachers-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-edu-teachers .edu-teachers-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-edu-teachers .edu-teachers-sort-group{
    grid-column: 1 / -1;
}

body.page-scope-edu-teachers .edu-teachers-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-edu-teachers .edu-teachers-list{
    display: grid;
    gap: 14px;
}

body.page-scope-edu-teachers .edu-teacher-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-teachers .edu-teacher-top{
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-edu-teachers .edu-teacher-avatar{
    width: 78px;
    height: 78px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .24), transparent 46%),
        linear-gradient(135deg, rgba(3, 105, 161, .12), rgba(79, 70, 229, .12));
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-edu-teachers .edu-teacher-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-edu-teachers .edu-teacher-avatar svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-edu-teachers .edu-teacher-name-row{
    display: flex;
    align-items: center;
    gap: 7px;
}

body.page-scope-edu-teachers .edu-teacher-name-row h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-edu-teachers .edu-teacher-verified{
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-edu-teachers .edu-teacher-verified svg{
    width: 13px;
    height: 13px;
    fill: currentColor;
}

body.page-scope-edu-teachers .edu-teacher-heading p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-edu-teachers .edu-teacher-rating{
    margin-top: 8px;
    border-radius: 999px;
    background: rgba(245, 158, 11, .12);
    color: #d97706;
    padding: 6px 9px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

body.page-scope-edu-teachers .edu-teacher-rating svg{
    width: 14px;
    height: 14px;
    fill: currentColor;
}

body.page-scope-edu-teachers .edu-teacher-rating strong{
    font-size: 11px;
    font-weight: 950;
}

body.page-scope-edu-teachers .edu-teacher-rating span{
    font-size: 10px;
    font-weight: 900;
}

body.page-scope-edu-teachers .edu-teacher-bio{
    margin-top: 13px;
    border-radius: 18px;
    background: rgba(3, 105, 161, .07);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-edu-teachers .edu-teacher-tags{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

body.page-scope-edu-teachers .edu-teacher-tags span{
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    padding: 7px 9px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    font-weight: 900;
}

body.page-scope-edu-teachers .edu-teacher-tags svg{
    width: 14px;
    height: 14px;
    fill: #0369a1;
}

body.page-scope-edu-teachers .edu-teacher-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-edu-teachers .edu-teacher-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-edu-teachers .edu-teacher-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-edu-teachers .edu-teacher-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-edu-teachers .edu-teacher-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-edu-teachers .edu-teachers-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-edu-teachers .edu-teachers-hero-card{
        border-radius: 30px;
    }

    body.page-scope-edu-teachers .edu-teachers-stats, body.page-scope-edu-teachers .edu-teachers-filter-grid, body.page-scope-edu-teachers .edu-teachers-filter-actions, body.page-scope-edu-teachers .edu-teacher-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-edu-teachers .edu-teachers-sort-group{
        grid-column: auto;
    }

    body.page-scope-edu-teachers .edu-teacher-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: edu/tests.php
   Former inline <style> rules; isolated to .page-scope-edu-tests
   ========================================================= */

body.page-scope-edu-tests .edu-tests-page .app-main{
    padding-top: 18px;
}

body.page-scope-edu-tests .edu-tests-back{
    margin-bottom: 12px;
}

body.page-scope-edu-tests .edu-tests-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(99, 102, 241, .28), transparent 38%),
        linear-gradient(135deg, #0369a1, #4f46e5);
    color: #fff;
    box-shadow: 0 20px 50px rgba(79, 70, 229, .22);
    padding: 20px;
}

body.page-scope-edu-tests .edu-tests-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.07em;
}

body.page-scope-edu-tests .edu-tests-hero-card p{
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-edu-tests .edu-tests-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-edu-tests .edu-tests-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-tests .edu-tests-search{
    min-height: 52px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, .95);
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-edu-tests .edu-tests-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-edu-tests .edu-tests-search input{
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
}

body.page-scope-edu-tests .edu-tests-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-edu-tests .edu-tests-filter-actions{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-edu-tests .edu-tests-list{
    display: grid;
    gap: 14px;
}

body.page-scope-edu-tests .edu-test-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-edu-tests .edu-test-teacher{
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, .85);
}

body.page-scope-edu-tests .edu-test-teacher-avatar{
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: rgba(3, 105, 161, .10);
    color: #0369a1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-edu-tests .edu-test-teacher-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-edu-tests .edu-test-teacher-avatar svg{
    width: 27px;
    height: 27px;
    fill: currentColor;
}

body.page-scope-edu-tests .edu-test-teacher span{
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-edu-tests .edu-test-teacher strong{
    display: block;
    color: var(--text);
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-edu-tests .edu-test-teacher small{
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-edu-tests .edu-test-head{
    margin-top: 13px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-edu-tests .edu-test-head span{
    display: block;
    color: #0369a1;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 5px;
}

body.page-scope-edu-tests .edu-test-head h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

body.page-scope-edu-tests .edu-test-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-edu-tests .status-available{
    background: rgba(22, 163, 74, .14);
    color: #16a34a;
}

body.page-scope-edu-tests .status-in-progress{
    background: rgba(14, 165, 233, .14);
    color: #0284c7;
}

body.page-scope-edu-tests .status-completed{
    background: rgba(99, 102, 241, .14);
    color: #4f46e5;
}

body.page-scope-edu-tests .status-expired, body.page-scope-edu-tests .status-cancelled{
    background: rgba(239, 68, 68, .14);
    color: #dc2626;
}

body.page-scope-edu-tests .edu-test-description{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(3, 105, 161, .07);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-edu-tests .edu-test-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-edu-tests .edu-test-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-edu-tests .edu-test-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-edu-tests .edu-test-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-edu-tests .edu-test-result{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(99, 102, 241, .08);
    color: #4338ca;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-edu-tests .edu-test-result span{
    font-size: 12px;
    font-weight: 900;
}

body.page-scope-edu-tests .edu-test-result strong{
    font-size: 16px;
    font-weight: 950;
}

body.page-scope-edu-tests .edu-test-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(245, 158, 11, .10);
    color: #92400e;
    padding: 12px;
}

body.page-scope-edu-tests .edu-test-note strong{
    display: block;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-edu-tests .edu-test-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-edu-tests .edu-test-actions{
    margin-top: 13px;
}

@media (min-width: 760px) {
    body.page-scope-edu-tests .edu-tests-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-edu-tests .edu-tests-hero-card{
        border-radius: 30px;
    }

    body.page-scope-edu-tests .edu-tests-stats, body.page-scope-edu-tests .edu-tests-filter-grid, body.page-scope-edu-tests .edu-tests-filter-actions, body.page-scope-edu-tests .edu-test-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-edu-tests .edu-test-head{
        display: block;
    }

    body.page-scope-edu-tests .edu-test-head em{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: food/bill-guest-pay.php
   Former inline <style> rules; isolated to .page-scope-food-bill-guest-pay
   ========================================================= */

body.page-scope-food-bill-guest-pay .bill-summary-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    gap: 10px;
}

body.page-scope-food-bill-guest-pay .bill-summary-card div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-bill-guest-pay .bill-summary-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-bill-guest-pay .bill-summary-card strong{
    display: block;
    color: var(--text);
    font-size: 15px;
}

body.page-scope-food-bill-guest-pay .bill-item-select-list{
    display: grid;
    gap: 10px;
    margin: 12px 0 14px;
}

body.page-scope-food-bill-guest-pay .bill-item-select-card{
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 10px 24px rgba(15,23,42,.04);
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

body.page-scope-food-bill-guest-pay .bill-item-select-card.selected{
    border-color: rgba(18,102,241,.35);
    background: linear-gradient(135deg, rgba(18,102,241,.06), rgba(109,93,252,.03)), #fff;
}

body.page-scope-food-bill-guest-pay .bill-item-select-card.disabled{
    opacity: .58;
    background: #f8fafc;
}

body.page-scope-food-bill-guest-pay .bill-item-select-card h3{
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-food-bill-guest-pay .bill-item-select-card p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-scope-food-bill-guest-pay .bill-item-select-card em{
    display: inline-flex;
    margin-top: 7px;
    border-radius: 999px;
    background: rgba(22,163,74,.10);
    color: #16a34a;
    padding: 5px 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

body.page-scope-food-bill-guest-pay .item-pay-qty{
    display: grid;
    grid-template-columns: 34px 48px 34px;
    gap: 6px;
    align-items: center;
}

body.page-scope-food-bill-guest-pay .item-qty-btn{
    width: 34px;
    height: 34px;
    border-radius: 13px;
    border: 0;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-food-bill-guest-pay .item-qty-btn:disabled{
    cursor: not-allowed;
    opacity: .45;
}

body.page-scope-food-bill-guest-pay .item-qty-input{
    width: 48px;
    height: 34px;
    border-radius: 13px;
    border: 1px solid rgba(226,232,240,.95);
    text-align: center;
    font-weight: 950;
    outline: 0;
}

body.page-scope-food-bill-guest-pay .item-qty-input:disabled{
    opacity: .5;
}

body.page-scope-food-bill-guest-pay .split-preview{
    border-radius: 20px;
    background: rgba(18,102,241,.09);
    padding: 14px;
    margin-bottom: 14px;
}

body.page-scope-food-bill-guest-pay .split-preview span{
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-bill-guest-pay .split-preview strong{
    display: block;
    color: #1266f1;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-bill-guest-pay .paid-card{
    border-radius: 28px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(22,163,74,.22);
}

body.page-scope-food-bill-guest-pay .paid-card strong{
    display: block;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-bill-guest-pay .paid-card span{
    display: block;
    margin-top: 8px;
    font-size: 28px;
    font-weight: 950;
}

body.page-scope-food-bill-guest-pay .split-list{
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

body.page-scope-food-bill-guest-pay .split-row{
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.85);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-bill-guest-pay .split-row span{
    display: block;
    color: var(--text);
    font-weight: 900;
    font-size: 13px;
}

body.page-scope-food-bill-guest-pay .split-row small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-food-bill-guest-pay .split-row strong{
    flex: 0 0 auto;
    color: #f97316;
}

@media (max-width: 420px) {
    body.page-scope-food-bill-guest-pay .bill-item-select-card{
        grid-template-columns: 1fr;
    }

    body.page-scope-food-bill-guest-pay .item-pay-qty{
        justify-content: start;
    }
}


/* =========================================================
   PAGE: food/bill-pay.php
   Former inline <style> rules; isolated to .page-scope-food-bill-pay
   ========================================================= */

body.page-scope-food-bill-pay .bill-summary-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    gap: 10px;
}

body.page-scope-food-bill-pay .bill-summary-card div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-bill-pay .bill-summary-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-bill-pay .bill-summary-card strong{
    display: block;
    color: var(--text);
    font-size: 15px;
}

body.page-scope-food-bill-pay .share-bill-card{
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(18,102,241,.10), rgba(109,93,252,.06)), #fff;
    border: 1px solid rgba(18,102,241,.18);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-food-bill-pay .share-bill-card h2{
    margin: 0;
    font-size: 19px;
    letter-spacing: -0.04em;
}

body.page-scope-food-bill-pay .share-bill-card p{
    margin: 6px 0 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-food-bill-pay .share-bill-card input{
    width: 100%;
    min-height: 46px;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    background: #fff;
    padding: 0 13px;
    margin-bottom: 12px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    outline: none;
}

body.page-scope-food-bill-pay .payment-mode-grid{
    display: grid;
    gap: 10px;
    margin-bottom: 14px;
}

body.page-scope-food-bill-pay .payment-mode-card{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.9);
    padding: 14px;
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 11px;
    align-items: flex-start;
    cursor: pointer;
}

body.page-scope-food-bill-pay .payment-mode-card.active{
    background: linear-gradient(135deg, rgba(18,102,241,.10), rgba(109,93,252,.06));
    border-color: rgba(18,102,241,.35);
}

body.page-scope-food-bill-pay .payment-mode-card input{
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

body.page-scope-food-bill-pay .payment-mode-card strong{
    display: block;
    color: var(--text);
    font-size: 14px;
}

body.page-scope-food-bill-pay .payment-mode-card small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-scope-food-bill-pay .split-equal-box, body.page-scope-food-bill-pay .split-items-box{
    display: none;
    margin-bottom: 14px;
}

body.page-scope-food-bill-pay .split-preview{
    border-radius: 20px;
    background: rgba(18,102,241,.09);
    padding: 14px;
    margin-bottom: 14px;
}

body.page-scope-food-bill-pay .split-preview span{
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-bill-pay .split-preview strong{
    display: block;
    color: #1266f1;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-bill-pay .bill-item-select-list{
    display: grid;
    gap: 10px;
    margin: 12px 0 14px;
}

body.page-scope-food-bill-pay .bill-item-select-card{
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 10px 24px rgba(15,23,42,.04);
    padding: 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

body.page-scope-food-bill-pay .bill-item-select-card.selected{
    border-color: rgba(18,102,241,.35);
    background: linear-gradient(135deg, rgba(18,102,241,.06), rgba(109,93,252,.03)), #fff;
}

body.page-scope-food-bill-pay .bill-item-select-card.disabled{
    opacity: .58;
    background: #f8fafc;
}

body.page-scope-food-bill-pay .bill-item-select-card h3{
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-food-bill-pay .bill-item-select-card p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-scope-food-bill-pay .bill-item-select-card em{
    display: inline-flex;
    margin-top: 7px;
    border-radius: 999px;
    background: rgba(22,163,74,.10);
    color: #16a34a;
    padding: 5px 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

body.page-scope-food-bill-pay .item-pay-qty{
    display: grid;
    grid-template-columns: 34px 48px 34px;
    gap: 6px;
    align-items: center;
}

body.page-scope-food-bill-pay .item-qty-btn{
    width: 34px;
    height: 34px;
    border-radius: 13px;
    border: 0;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-food-bill-pay .item-qty-btn:disabled{
    cursor: not-allowed;
    opacity: .45;
}

body.page-scope-food-bill-pay .item-qty-input{
    width: 48px;
    height: 34px;
    border-radius: 13px;
    border: 1px solid rgba(226,232,240,.95);
    text-align: center;
    font-weight: 950;
    outline: 0;
}

body.page-scope-food-bill-pay .item-qty-input:disabled{
    opacity: .5;
}

body.page-scope-food-bill-pay .paid-card{
    border-radius: 28px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    padding: 20px;
    box-shadow: 0 18px 45px rgba(22,163,74,.22);
}

body.page-scope-food-bill-pay .paid-card strong{
    display: block;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-bill-pay .paid-card span{
    display: block;
    margin-top: 8px;
    font-size: 28px;
    font-weight: 950;
}

body.page-scope-food-bill-pay .split-list{
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

body.page-scope-food-bill-pay .split-row{
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.85);
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-bill-pay .split-row span{
    display: block;
    color: var(--text);
    font-weight: 900;
    font-size: 13px;
}

body.page-scope-food-bill-pay .split-row small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-food-bill-pay .split-row strong{
    flex: 0 0 auto;
    color: #f97316;
}

@media (max-width: 420px) {
    body.page-scope-food-bill-pay .bill-item-select-card{
        grid-template-columns: 1fr;
    }

    body.page-scope-food-bill-pay .item-pay-qty{
        justify-content: start;
    }
}


/* =========================================================
   PAGE: food/bill-qr.php
   Former inline <style> rules; isolated to .page-scope-food-bill-qr
   ========================================================= */

body.page-scope-food-bill-qr .qr-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 18px;
    text-align: center;
}

body.page-scope-food-bill-qr .qr-card h2{
    margin: 0;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-food-bill-qr .qr-card p{
    margin: 8px 0 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-food-bill-qr .qr-box{
    width: 270px;
    height: 270px;
    margin: 0 auto 16px;
    border-radius: 28px;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-bill-qr .qr-info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 14px 0;
}

body.page-scope-food-bill-qr .qr-info div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-bill-qr .qr-info span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-bill-qr .qr-info strong{
    display: block;
    color: var(--text);
    font-size: 14px;
}

body.page-scope-food-bill-qr .qr-waiting{
    border-radius: 20px;
    background: rgba(245, 158, 11, .12);
    color: #d97706;
    padding: 13px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
}


/* =========================================================
   PAGE: food/index.php
   Former inline <style> rules; isolated to .page-scope-food-index
   ========================================================= */

body.page-scope-food-index .food-home-page .app-main{
    padding-top: 18px;
}

body.page-scope-food-index .food-home-hero{
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, .32), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, .18), transparent 36%),
        linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    box-shadow: 0 24px 60px rgba(18, 102, 241, .26);
    padding: 20px;
    overflow: hidden;
    position: relative;
}

body.page-scope-food-index .food-home-hero::after{
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    right: -70px;
    bottom: -80px;
    background: rgba(255,255,255,.12);
}

body.page-scope-food-index .food-home-hero-top{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 64px;
    gap: 14px;
    align-items: start;
}

body.page-scope-food-index .food-home-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 38px;
    line-height: .95;
    letter-spacing: -0.08em;
}

body.page-scope-food-index .food-home-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-index .food-home-avatar{
    width: 64px;
    height: 64px;
    border-radius: 24px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
}

body.page-scope-food-index .food-home-avatar svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-food-index .food-home-user{
    position: relative;
    z-index: 2;
    margin-top: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(14px);
    padding: 12px 14px;
}

body.page-scope-food-index .food-home-user span{
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-food-index .food-home-user strong{
    display: block;
    color: #fff;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-index .food-home-search{
    position: relative;
    z-index: 2;
    margin-top: 14px;
    border-radius: 24px;
    background: #fff;
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

body.page-scope-food-index .food-home-search div{
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    min-height: 46px;
}

body.page-scope-food-index .food-home-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    margin-left: 10px;
}

body.page-scope-food-index .food-home-search input{
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
    min-width: 0;
}

body.page-scope-food-index .food-home-search button{
    border: 0;
    border-radius: 18px;
    background: #0f172a;
    color: #fff;
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-food-index .food-home-stats{
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
}

body.page-scope-food-index .food-home-stats div{
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 12px 8px;
    text-align: center;
}

body.page-scope-food-index .food-home-stats strong{
    display: block;
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.05em;
}

body.page-scope-food-index .food-home-stats span{
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
}

body.page-scope-food-index .food-quick-actions{
    display: grid;
    gap: 12px;
}

body.page-scope-food-index .food-quick-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
    padding: 14px;
    display: grid;
    grid-template-columns: 54px 1fr 34px;
    gap: 12px;
    align-items: center;
    color: var(--text);
}

body.page-scope-food-index .food-quick-card.main{
    background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(18,102,241,.06)), #fff;
}

body.page-scope-food-index .food-quick-card > span{
    width: 54px;
    height: 54px;
    border-radius: 21px;
    background: rgba(18,102,241,.10);
    color: #1266f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-index .food-quick-card.main > span{
    background: rgba(249,115,22,.13);
    color: #f97316;
}

body.page-scope-food-index .food-quick-card svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-food-index .food-quick-card strong{
    display: block;
    font-size: 16px;
    letter-spacing: -0.03em;
    color: var(--text);
}

body.page-scope-food-index .food-quick-card small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-scope-food-index .food-quick-card b{
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: rgba(15,23,42,.05);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-index .section-subtitle{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-index .section-link{
    font-size: 12px;
    font-weight: 950;
    color: #1266f1;
}

body.page-scope-food-index .food-popular-scroll{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 260px;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

body.page-scope-food-index .food-popular-card{
    scroll-snap-align: start;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.08);
    overflow: hidden;
    color: var(--text);
}

body.page-scope-food-index .food-popular-cover{
    position: relative;
    height: 154px;
    background:
        radial-gradient(circle at top right, rgba(249,115,22,.24), transparent 42%),
        linear-gradient(135deg, rgba(249,115,22,.12), rgba(239,68,68,.08));
}

body.page-scope-food-index .food-popular-cover > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-index .food-popular-placeholder{
    width: 100%;
    height: 100%;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-index .food-popular-placeholder svg{
    width: 54px;
    height: 54px;
    fill: currentColor;
}

body.page-scope-food-index .food-popular-gradient{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.72), transparent);
}

body.page-scope-food-index .food-popular-logo{
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
    border-radius: 19px;
    background: rgba(255,255,255,.94);
    color: #f97316;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-index .food-popular-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-index .food-popular-logo svg{
    width: 26px;
    height: 26px;
    fill: currentColor;
}

body.page-scope-food-index .food-popular-body{
    padding: 13px;
}

body.page-scope-food-index .food-popular-body h3{
    margin: 0;
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-food-index .food-popular-body p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-index .food-popular-meta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 11px;
}

body.page-scope-food-index .food-popular-meta span{
    border-radius: 14px;
    background: #f8fafc;
    padding: 8px;
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

body.page-scope-food-index .food-popular-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

body.page-scope-food-index .food-popular-tags em{
    border-radius: 999px;
    background: rgba(18,102,241,.09);
    color: #1266f1;
    padding: 6px 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

body.page-scope-food-index .food-feature-stack{
    display: grid;
    gap: 12px;
}

body.page-scope-food-index .food-feature-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
    padding: 16px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 13px;
    align-items: start;
}

body.page-scope-food-index .food-feature-card > span{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-index .food-feature-card svg{
    width: 25px;
    height: 25px;
    fill: currentColor;
}

body.page-scope-food-index .food-feature-card.takeaway > span{
    background: rgba(249,115,22,.13);
    color: #f97316;
}

body.page-scope-food-index .food-feature-card.booking > span{
    background: rgba(18,102,241,.10);
    color: #1266f1;
}

body.page-scope-food-index .food-feature-card.qr > span{
    background: rgba(245,158,11,.14);
    color: #f59e0b;
}

body.page-scope-food-index .food-feature-card strong{
    display: block;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-food-index .food-feature-card p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-index .food-how-card{
    border-radius: 34px;
    background: #0f172a;
    color: #fff;
    padding: 18px;
    box-shadow: 0 18px 46px rgba(15,23,42,.20);
}

body.page-scope-food-index .food-how-card h2{
    margin: 0 0 14px;
    color: #fff;
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-food-index .food-how-steps{
    display: grid;
    gap: 10px;
}

body.page-scope-food-index .food-how-steps div{
    border-radius: 24px;
    background: rgba(255,255,255,.08);
    padding: 14px;
}

body.page-scope-food-index .food-how-steps b{
    width: 32px;
    height: 32px;
    border-radius: 13px;
    background: #fff;
    color: #1266f1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-bottom: 10px;
}

body.page-scope-food-index .food-how-steps strong{
    display: block;
    color: #fff;
    font-size: 15px;
}

body.page-scope-food-index .food-how-steps p{
    margin: 5px 0 0;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

@media (max-width: 430px) {
    body.page-scope-food-index .food-home-hero{
        border-radius: 32px;
        padding: 18px;
    }

    body.page-scope-food-index .food-home-hero h1{
        font-size: 34px;
    }

    body.page-scope-food-index .food-home-search{
        grid-template-columns: 1fr;
    }

    body.page-scope-food-index .food-home-search button{
        width: 100%;
    }

    body.page-scope-food-index .food-home-stats{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-food-index .food-popular-scroll{
        grid-auto-columns: 244px;
    }
}


/* =========================================================
   PAGE: food/my-bookings.php
   Former inline <style> rules; isolated to .page-scope-food-my-bookings
   ========================================================= */

body.page-scope-food-my-bookings .my-booking-filter-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

body.page-scope-food-my-bookings .my-booking-filter-tabs a{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

body.page-scope-food-my-bookings .my-booking-filter-tabs a.active{
    background: #1266f1;
    color: #fff;
    border-color: #1266f1;
}

body.page-scope-food-my-bookings .my-booking-list{
    display: grid;
    gap: 14px;
}

body.page-scope-food-my-bookings .my-booking-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-food-my-bookings .my-booking-cover{
    position: relative;
    height: 180px;
    border-radius: 24px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.25), transparent 42%),
        linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(239, 68, 68, 0.09));
}

body.page-scope-food-my-bookings .my-booking-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-my-bookings .booking-cover-placeholder{
    width: 100%;
    height: 100%;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-my-bookings .booking-cover-placeholder svg{
    width: 62px;
    height: 62px;
    fill: currentColor;
}

body.page-scope-food-my-bookings .my-booking-cover-gradient{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, .78), rgba(15, 23, 42, .15), transparent);
}

body.page-scope-food-my-bookings .my-booking-cover-content{
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-my-bookings .my-booking-cover-content span{
    display: block;
    color: rgba(255,255,255,.74);
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-my-bookings .my-booking-cover-content strong{
    display: block;
    color: #fff;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-my-bookings .my-booking-status-box{
    margin-top: 12px;
    border-radius: 20px;
    padding: 13px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
}

body.page-scope-food-my-bookings .status-box-pending{
    background: rgba(245, 158, 11, .12);
    color: #d97706;
}

body.page-scope-food-my-bookings .status-box-confirmed{
    background: rgba(18, 102, 241, .10);
    color: #1266f1;
}

body.page-scope-food-my-bookings .status-box-completed{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-my-bookings .status-box-cancelled{
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

body.page-scope-food-my-bookings .my-booking-main-date{
    margin-top: 12px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    padding: 16px;
    box-shadow: 0 16px 38px rgba(18, 102, 241, 0.18);
}

body.page-scope-food-my-bookings .my-booking-main-date strong{
    display: block;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-food-my-bookings .my-booking-main-date span{
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    opacity: .86;
}

body.page-scope-food-my-bookings .my-booking-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 12px;
}

body.page-scope-food-my-bookings .my-booking-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-my-bookings .my-booking-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-food-my-bookings .my-booking-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-food-my-bookings .my-booking-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(245, 158, 11, .09);
    color: #92400e;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-my-bookings .my-booking-actions{
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-food-my-bookings .status-pending{
    background: rgba(245, 158, 11, .12);
    color: #d97706;
}

body.page-scope-food-my-bookings .status-confirmed{
    background: rgba(18, 102, 241, .12);
    color: #1266f1;
}

body.page-scope-food-my-bookings .status-completed{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-my-bookings .status-cancelled{
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

@media (max-width: 420px) {
    body.page-scope-food-my-bookings .my-booking-cover{
        height: 165px;
    }

    body.page-scope-food-my-bookings .my-booking-cover-content{
        display: block;
    }

    body.page-scope-food-my-bookings .my-booking-cover-content .status-badge{
        margin-top: 10px;
    }

    body.page-scope-food-my-bookings .my-booking-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: food/my-orders.php
   Former inline <style> rules; isolated to .page-scope-food-my-orders
   ========================================================= */

body.page-scope-food-my-orders .my-order-filter-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

body.page-scope-food-my-orders .my-order-filter-tabs a{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

body.page-scope-food-my-orders .my-order-filter-tabs a.active{
    background: #1266f1;
    color: #fff;
    border-color: #1266f1;
}

body.page-scope-food-my-orders .my-order-list{
    display: grid;
    gap: 14px;
}

body.page-scope-food-my-orders .my-order-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-food-my-orders .my-order-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-my-orders .my-order-head h3{
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-my-orders .my-order-head p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-my-orders .my-order-status-box{
    margin-top: 14px;
    border-radius: 20px;
    padding: 13px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
}

body.page-scope-food-my-orders .status-box-pending{
    background: rgba(245, 158, 11, .12);
    color: #d97706;
}

body.page-scope-food-my-orders .status-box-accepted{
    background: rgba(18, 102, 241, .10);
    color: #1266f1;
}

body.page-scope-food-my-orders .status-box-ready{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-my-orders .status-box-completed{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-my-orders .status-box-cancelled{
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

body.page-scope-food-my-orders .my-order-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 14px;
}

body.page-scope-food-my-orders .my-order-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-my-orders .my-order-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-food-my-orders .my-order-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-food-my-orders .my-order-items-box{
    margin-top: 14px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.85);
    padding: 12px;
}

body.page-scope-food-my-orders .my-order-items-box h4{
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: -0.03em;
}

body.page-scope-food-my-orders .my-order-item-list{
    display: grid;
    gap: 8px;
}

body.page-scope-food-my-orders .my-order-item-row{
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.8);
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.page-scope-food-my-orders .my-order-item-row strong{
    display: block;
    color: var(--text);
    font-size: 13px;
}

body.page-scope-food-my-orders .my-order-item-row span{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-food-my-orders .my-order-item-row b{
    flex: 0 0 auto;
    color: #f97316;
    font-size: 13px;
}

body.page-scope-food-my-orders .my-order-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(245, 158, 11, .09);
    color: #92400e;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-my-orders .my-order-note.restaurant-note{
    background: rgba(18, 102, 241, .08);
    color: #1266f1;
}

body.page-scope-food-my-orders .my-order-actions{
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-food-my-orders .status-pending{
    background: rgba(245, 158, 11, .12);
    color: #d97706;
}

body.page-scope-food-my-orders .status-accepted{
    background: rgba(18, 102, 241, .12);
    color: #1266f1;
}

body.page-scope-food-my-orders .status-ready{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-my-orders .status-completed{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-my-orders .status-cancelled{
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

@media (max-width: 420px) {
    body.page-scope-food-my-orders .my-order-head{
        display: block;
    }

    body.page-scope-food-my-orders .my-order-head .status-badge{
        margin-top: 10px;
    }

    body.page-scope-food-my-orders .my-order-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-food-my-orders .my-order-item-row{
        display: block;
    }

    body.page-scope-food-my-orders .my-order-item-row b{
        display: block;
        margin-top: 8px;
    }
}


/* =========================================================
   PAGE: food/order-create.php
   Former inline <style> rules; isolated to .page-scope-food-order-create
   ========================================================= */

body.page-scope-food-order-create .takeaway-menu-list{
    display: grid;
    gap: 12px;
}

body.page-scope-food-order-create .takeaway-menu-card{
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 12px;
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-food-order-create .takeaway-menu-card.selected{
    border-color: rgba(18,102,241,.35);
    background: linear-gradient(135deg, rgba(18,102,241,.06), rgba(109,93,252,.03)), #fff;
}

body.page-scope-food-order-create .takeaway-menu-image{
    width: 86px;
    height: 86px;
    border-radius: 24px;
    background: rgba(249,115,22,.10);
    color: #f97316;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-order-create .takeaway-menu-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-order-create .takeaway-menu-image svg{
    width: 34px;
    height: 34px;
    fill: currentColor;
}

body.page-scope-food-order-create .takeaway-menu-info h3{
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-order-create .takeaway-menu-info p{
    margin: 5px 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-scope-food-order-create .takeaway-menu-info small{
    display: block;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
    margin-bottom: 10px;
}

body.page-scope-food-order-create .takeaway-qty-control{
    display: inline-grid;
    grid-template-columns: 36px 52px 36px;
    gap: 7px;
    align-items: center;
}

body.page-scope-food-order-create .takeaway-qty-btn{
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 14px;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 18px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-food-order-create .takeaway-qty-input{
    width: 52px;
    height: 36px;
    border-radius: 14px;
    border: 1px solid rgba(226,232,240,.95);
    text-align: center;
    font-weight: 950;
    outline: none;
}

body.page-scope-food-order-create .cart-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-food-order-create .cart-card h2{
    margin: 0 0 12px;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-order-create .cart-empty{
    border-radius: 18px;
    background: #f8fafc;
    color: var(--muted);
    padding: 13px;
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-food-order-create .cart-lines{
    display: grid;
    gap: 8px;
}

body.page-scope-food-order-create .cart-line{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

body.page-scope-food-order-create .cart-line span{
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
}

body.page-scope-food-order-create .cart-line strong{
    color: #f97316;
    font-size: 12px;
    text-align: right;
}

body.page-scope-food-order-create .cart-total{
    margin-top: 14px;
    border-radius: 22px;
    background: rgba(18,102,241,.09);
    padding: 14px;
}

body.page-scope-food-order-create .cart-total span{
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-order-create .cart-total strong{
    display: block;
    color: #1266f1;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-food-order-create .order-submit-btn{
    min-height: 54px;
}

@media (max-width: 420px) {
    body.page-scope-food-order-create .takeaway-menu-card{
        grid-template-columns: 78px 1fr;
    }

    body.page-scope-food-order-create .takeaway-menu-image{
        width: 78px;
        height: 78px;
        border-radius: 22px;
    }

    body.page-scope-food-order-create .cart-line{
        display: block;
    }

    body.page-scope-food-order-create .cart-line strong{
        display: block;
        margin-top: 5px;
        text-align: left;
    }
}


/* =========================================================
   PAGE: food/restaurant-bills.php
   Former inline <style> rules; isolated to .page-scope-food-restaurant-bills
   ========================================================= */

body.page-scope-food-restaurant-bills .revenue-card{
    border-radius: 28px;
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #fff;
    box-shadow: 0 18px 44px rgba(22, 163, 74, .22);
    padding: 18px;
}

body.page-scope-food-restaurant-bills .revenue-card span{
    display: block;
    font-size: 12px;
    font-weight: 900;
    opacity: .84;
    margin-bottom: 6px;
}

body.page-scope-food-restaurant-bills .revenue-card strong{
    display: block;
    font-size: 30px;
    letter-spacing: -0.06em;
}

body.page-scope-food-restaurant-bills .bill-filter-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

body.page-scope-food-restaurant-bills .bill-filter-tabs a{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

body.page-scope-food-restaurant-bills .bill-filter-tabs a.active{
    background: #1266f1;
    color: #fff;
    border-color: #1266f1;
}

body.page-scope-food-restaurant-bills .restaurant-bill-list{
    display: grid;
    gap: 14px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-head h3{
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-restaurant-bills .restaurant-bill-head p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-restaurant-bills .restaurant-bill-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 14px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-food-restaurant-bills .bill-note-box{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(245, 158, 11, .09);
    padding: 12px;
}

body.page-scope-food-restaurant-bills .bill-note-box p{
    margin: 0;
    color: #92400e;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-restaurant-bills .bill-detail-section{
    margin-top: 14px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.8);
    padding: 12px;
}

body.page-scope-food-restaurant-bills .bill-detail-section h4{
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: -0.03em;
}

body.page-scope-food-restaurant-bills .bill-empty-mini{
    border-radius: 16px;
    background: #fff;
    color: var(--muted);
    padding: 12px;
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-food-restaurant-bills .bill-item-admin-list, body.page-scope-food-restaurant-bills .bill-payment-admin-list{
    display: grid;
    gap: 8px;
}

body.page-scope-food-restaurant-bills .bill-item-admin-row, body.page-scope-food-restaurant-bills .bill-payment-admin-row{
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.8);
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.page-scope-food-restaurant-bills .bill-item-admin-row strong, body.page-scope-food-restaurant-bills .bill-payment-admin-row strong{
    display: block;
    color: var(--text);
    font-size: 13px;
}

body.page-scope-food-restaurant-bills .bill-item-admin-row span, body.page-scope-food-restaurant-bills .bill-payment-admin-row span{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-scope-food-restaurant-bills .bill-item-admin-row b, body.page-scope-food-restaurant-bills .bill-payment-admin-row b{
    flex: 0 0 auto;
    color: #f97316;
    font-size: 13px;
}

body.page-scope-food-restaurant-bills .share-admin-box{
    margin-top: 14px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(18,102,241,.08), rgba(109,93,252,.04)), #fff;
    border: 1px solid rgba(18,102,241,.16);
    padding: 12px;
}

body.page-scope-food-restaurant-bills .share-admin-box span{
    display: block;
    color: #1266f1;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 8px;
}

body.page-scope-food-restaurant-bills .share-admin-box input{
    width: 100%;
    min-height: 42px;
    border-radius: 16px;
    border: 1px solid rgba(226,232,240,.95);
    background: #fff;
    padding: 0 12px;
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    outline: none;
    margin-bottom: 9px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-actions{
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-food-restaurant-bills .restaurant-bill-actions form{
    display: inline-flex;
}

body.page-scope-food-restaurant-bills .btn-small{
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
}

body.page-scope-food-restaurant-bills .status-waiting_waiter{
    background: rgba(245, 158, 11, .12);
    color: #d97706;
}

body.page-scope-food-restaurant-bills .status-amount_set{
    background: rgba(18, 102, 241, .12);
    color: #1266f1;
}

body.page-scope-food-restaurant-bills .status-partially_paid{
    background: rgba(168, 85, 247, .12);
    color: #7e22ce;
}

body.page-scope-food-restaurant-bills .status-paid{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-restaurant-bills .status-cancelled{
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

@media (max-width: 420px) {
    body.page-scope-food-restaurant-bills .restaurant-bill-head{
        display: block;
    }

    body.page-scope-food-restaurant-bills .restaurant-bill-head .status-badge{
        margin-top: 10px;
    }

    body.page-scope-food-restaurant-bills .restaurant-bill-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-food-restaurant-bills .bill-item-admin-row, body.page-scope-food-restaurant-bills .bill-payment-admin-row{
        display: block;
    }

    body.page-scope-food-restaurant-bills .bill-item-admin-row b, body.page-scope-food-restaurant-bills .bill-payment-admin-row b{
        display: block;
        margin-top: 8px;
    }
}


/* =========================================================
   PAGE: food/restaurant-bookings.php
   Former inline <style> rules; isolated to .page-scope-food-restaurant-bookings
   ========================================================= */

body.page-scope-food-restaurant-bookings .booking-filter-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

body.page-scope-food-restaurant-bookings .booking-filter-tabs a{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

body.page-scope-food-restaurant-bookings .booking-filter-tabs a.active{
    background: #1266f1;
    color: #fff;
    border-color: #1266f1;
}

body.page-scope-food-restaurant-bookings .booking-list{
    display: grid;
    gap: 14px;
}

body.page-scope-food-restaurant-bookings .booking-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-food-restaurant-bookings .booking-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-restaurant-bookings .booking-head h3{
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-restaurant-bookings .booking-head p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-restaurant-bookings .booking-main-date{
    margin-top: 14px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    padding: 16px;
    box-shadow: 0 16px 38px rgba(18, 102, 241, 0.18);
}

body.page-scope-food-restaurant-bookings .booking-main-date strong{
    display: block;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-food-restaurant-bookings .booking-main-date span{
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    opacity: .86;
}

body.page-scope-food-restaurant-bookings .booking-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 14px;
}

body.page-scope-food-restaurant-bookings .booking-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-restaurant-bookings .booking-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-food-restaurant-bookings .booking-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-food-restaurant-bookings .booking-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(245, 158, 11, .09);
    color: #92400e;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-restaurant-bookings .booking-actions{
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

body.page-scope-food-restaurant-bookings .status-pending{
    background: rgba(245, 158, 11, .12);
    color: #d97706;
}

body.page-scope-food-restaurant-bookings .status-confirmed{
    background: rgba(18, 102, 241, .12);
    color: #1266f1;
}

body.page-scope-food-restaurant-bookings .status-completed{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-restaurant-bookings .status-cancelled{
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

@media (max-width: 420px) {
    body.page-scope-food-restaurant-bookings .booking-head{
        display: block;
    }

    body.page-scope-food-restaurant-bookings .booking-head .status-badge{
        margin-top: 10px;
    }

    body.page-scope-food-restaurant-bookings .booking-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: food/restaurant-orders.php
   Former inline <style> rules; isolated to .page-scope-food-restaurant-orders
   ========================================================= */

body.page-scope-food-restaurant-orders .order-filter-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

body.page-scope-food-restaurant-orders .order-filter-tabs a{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 0 13px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    color: var(--muted);
    font-size: 12px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15,23,42,.04);
}

body.page-scope-food-restaurant-orders .order-filter-tabs a.active{
    background: #1266f1;
    color: #fff;
    border-color: #1266f1;
}

body.page-scope-food-restaurant-orders .restaurant-order-list{
    display: grid;
    gap: 14px;
}

body.page-scope-food-restaurant-orders .restaurant-order-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-food-restaurant-orders .restaurant-order-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-restaurant-orders .restaurant-order-head h3{
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-restaurant-orders .restaurant-order-head p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-restaurant-orders .restaurant-order-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 14px;
}

body.page-scope-food-restaurant-orders .restaurant-order-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-restaurant-orders .restaurant-order-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-food-restaurant-orders .restaurant-order-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-food-restaurant-orders .order-items-box{
    margin-top: 14px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.85);
    padding: 12px;
}

body.page-scope-food-restaurant-orders .order-items-box h4{
    margin: 0 0 10px;
    font-size: 14px;
    letter-spacing: -0.03em;
}

body.page-scope-food-restaurant-orders .order-item-list{
    display: grid;
    gap: 8px;
}

body.page-scope-food-restaurant-orders .order-item-row{
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.8);
    padding: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

body.page-scope-food-restaurant-orders .order-item-row strong{
    display: block;
    color: var(--text);
    font-size: 13px;
}

body.page-scope-food-restaurant-orders .order-item-row span{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-food-restaurant-orders .order-item-row b{
    flex: 0 0 auto;
    color: #f97316;
    font-size: 13px;
}

body.page-scope-food-restaurant-orders .order-note-box{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(245, 158, 11, .09);
    color: #92400e;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-restaurant-orders .order-note-box.restaurant-note{
    background: rgba(18, 102, 241, .08);
    color: #1266f1;
}

body.page-scope-food-restaurant-orders .order-action-box{
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

body.page-scope-food-restaurant-orders .status-pending{
    background: rgba(245, 158, 11, .12);
    color: #d97706;
}

body.page-scope-food-restaurant-orders .status-accepted{
    background: rgba(18, 102, 241, .12);
    color: #1266f1;
}

body.page-scope-food-restaurant-orders .status-ready{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-restaurant-orders .status-completed{
    background: rgba(22, 163, 74, .12);
    color: #16a34a;
}

body.page-scope-food-restaurant-orders .status-cancelled{
    background: rgba(239, 68, 68, .12);
    color: #dc2626;
}

@media (max-width: 420px) {
    body.page-scope-food-restaurant-orders .restaurant-order-head{
        display: block;
    }

    body.page-scope-food-restaurant-orders .restaurant-order-head .status-badge{
        margin-top: 10px;
    }

    body.page-scope-food-restaurant-orders .restaurant-order-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-food-restaurant-orders .order-item-row{
        display: block;
    }

    body.page-scope-food-restaurant-orders .order-item-row b{
        display: block;
        margin-top: 8px;
    }
}


/* =========================================================
   PAGE: food/restaurant.php
   Former inline <style> rules; isolated to .page-scope-food-restaurant
   ========================================================= */

body.page-scope-food-restaurant .restaurant-detail-page .app-main{
    padding-top: 18px;
}

body.page-scope-food-restaurant .restaurant-hero-pro{
    margin-bottom: 16px;
}

body.page-scope-food-restaurant .restaurant-back-link{
    margin-bottom: 12px;
}

body.page-scope-food-restaurant .restaurant-hero-cover{
    position: relative;
    height: 260px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.25), transparent 42%),
        linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(239, 68, 68, 0.09));
    box-shadow: var(--shadow);
}

body.page-scope-food-restaurant .restaurant-hero-cover > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-restaurant .restaurant-hero-placeholder{
    width: 100%;
    height: 100%;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-restaurant .restaurant-hero-placeholder svg{
    width: 78px;
    height: 78px;
    fill: currentColor;
}

body.page-scope-food-restaurant .restaurant-hero-gradient{
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(15, 23, 42, 0.84), rgba(15, 23, 42, 0.12), transparent),
        linear-gradient(to right, rgba(15, 23, 42, 0.38), transparent);
}

body.page-scope-food-restaurant .restaurant-hero-content{
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: end;
    color: #fff;
}

body.page-scope-food-restaurant .restaurant-logo-badge{
    width: 64px;
    height: 64px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.25);
}

body.page-scope-food-restaurant .restaurant-logo-badge img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-restaurant .restaurant-logo-badge svg{
    width: 34px;
    height: 34px;
    fill: currentColor;
}

body.page-scope-food-restaurant .restaurant-title-block h1{
    margin: 0;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.06em;
    color: #fff;
}

body.page-scope-food-restaurant .restaurant-title-block p{
    margin: 7px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-food-restaurant .restaurant-top-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 10px;
}

body.page-scope-food-restaurant .restaurant-top-tags span{
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

body.page-scope-food-restaurant .restaurant-glance-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

body.page-scope-food-restaurant .restaurant-glance-card{
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
    padding: 14px;
    min-height: 78px;
}

body.page-scope-food-restaurant .restaurant-glance-card strong{
    display: block;
    font-size: 22px;
    letter-spacing: -0.05em;
    color: var(--text);
}

body.page-scope-food-restaurant .restaurant-glance-card span{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
}

body.page-scope-food-restaurant .compact-head{
    margin-bottom: 10px;
}

body.page-scope-food-restaurant .customer-main-actions{
    display: grid;
    gap: 12px;
}

body.page-scope-food-restaurant .customer-action-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    padding: 14px;
    display: grid;
    grid-template-columns: 54px 1fr 34px;
    gap: 12px;
    align-items: center;
    color: var(--text);
}

body.page-scope-food-restaurant .customer-action-card > span{
    width: 54px;
    height: 54px;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-restaurant .customer-action-card svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-food-restaurant .customer-action-card b{
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: rgba(15,23,42,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

body.page-scope-food-restaurant .customer-action-card > div strong{
    display: block;
    font-size: 16px;
    letter-spacing: -0.03em;
    color: var(--text);
}

body.page-scope-food-restaurant .customer-action-card > div small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-scope-food-restaurant .food-action > span{
    background: rgba(249, 115, 22, 0.12);
    color: #f97316;
}

body.page-scope-food-restaurant .menu-action > span{
    background: rgba(18, 102, 241, 0.10);
    color: #1266f1;
}

body.page-scope-food-restaurant .qr-action > span{
    background: rgba(245, 158, 11, 0.13);
    color: #f59e0b;
}

body.page-scope-food-restaurant .booking-action{
    background: linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    border-color: transparent;
}

body.page-scope-food-restaurant .booking-action > span{
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

body.page-scope-food-restaurant .booking-action b{
    background: rgba(255,255,255,.18);
}

body.page-scope-food-restaurant .booking-action > div strong, body.page-scope-food-restaurant .booking-action > div small{
    color: #fff;
}

body.page-scope-food-restaurant .booking-action > div small{
    opacity: .86;
}

body.page-scope-food-restaurant .owner-tools-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-food-restaurant .owner-tools-head h2{
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-food-restaurant .owner-tools-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-scope-food-restaurant .owner-tools-grid{
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

body.page-scope-food-restaurant .owner-tools-grid a{
    border-radius: 20px;
    background: #f8fafc;
    padding: 12px;
    color: var(--text);
    display: grid;
    gap: 9px;
}

body.page-scope-food-restaurant .owner-tools-grid span{
    width: 38px;
    height: 38px;
    border-radius: 15px;
    background: rgba(18, 102, 241, 0.10);
    color: #1266f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-restaurant .owner-tools-grid svg{
    width: 20px;
    height: 20px;
    fill: currentColor;
}

body.page-scope-food-restaurant .owner-tools-grid strong{
    font-size: 12px;
    line-height: 1.2;
}

body.page-scope-food-restaurant .vr-preview-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-food-restaurant .vr-preview-image{
    position: relative;
    height: 250px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
}

body.page-scope-food-restaurant .vr-preview-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-restaurant .vr-preview-overlay{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.12));
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px;
}

body.page-scope-food-restaurant .vr-preview-overlay span{
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

body.page-scope-food-restaurant .vr-preview-overlay svg{
    width: 23px;
    height: 23px;
    fill: currentColor;
}

body.page-scope-food-restaurant .vr-preview-overlay strong{
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-restaurant .vr-preview-overlay small{
    margin-top: 4px;
    color: rgba(255,255,255,.84);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-restaurant .map-booking-cta{
    margin-top: 12px;
    border-radius: 24px;
    background: linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    padding: 14px;
    display: grid;
    grid-template-columns: 46px 1fr 32px;
    gap: 12px;
    align-items: center;
    box-shadow: 0 16px 38px rgba(18, 102, 241, 0.22);
}

body.page-scope-food-restaurant .map-booking-cta span{
    width: 46px;
    height: 46px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-restaurant .map-booking-cta svg{
    width: 21px;
    height: 21px;
    fill: currentColor;
}

body.page-scope-food-restaurant .map-booking-cta b{
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-restaurant .map-booking-cta strong{
    display: block;
    font-size: 15px;
    color: #fff;
}

body.page-scope-food-restaurant .map-booking-cta small{
    display: block;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.82);
}

body.page-scope-food-restaurant .restaurant-description{
    margin: 10px 0 14px;
    color: var(--muted);
    font-size: 13.5px;
    line-height: 1.55;
}

body.page-scope-food-restaurant .user-friendly-menu .menu-item-card{
    grid-template-columns: 86px 1fr;
    padding: 12px;
}

body.page-scope-food-restaurant .menu-item-headline{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

body.page-scope-food-restaurant .menu-item-headline h3{
    margin: 0;
    font-size: 15px;
}

body.page-scope-food-restaurant .menu-item-headline strong{
    flex: 0 0 auto;
    color: #f97316;
    font-size: 14px;
}

body.page-scope-food-restaurant .menu-bottom-cta{
    position: sticky;
    bottom: 92px;
    margin-top: 16px;
    z-index: 30;
}

@media (max-width: 420px) {
    body.page-scope-food-restaurant .restaurant-hero-cover{
        height: 245px;
        border-radius: 30px;
    }

    body.page-scope-food-restaurant .restaurant-hero-content{
        grid-template-columns: 58px 1fr;
        left: 14px;
        right: 14px;
        bottom: 14px;
    }

    body.page-scope-food-restaurant .restaurant-logo-badge{
        width: 58px;
        height: 58px;
        border-radius: 22px;
    }

    body.page-scope-food-restaurant .restaurant-title-block h1{
        font-size: 24px;
    }

    body.page-scope-food-restaurant .restaurant-glance-grid{
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    body.page-scope-food-restaurant .restaurant-glance-card{
        border-radius: 20px;
        padding: 12px 10px;
    }

    body.page-scope-food-restaurant .restaurant-glance-card strong{
        font-size: 18px;
    }

    body.page-scope-food-restaurant .customer-action-card{
        grid-template-columns: 50px 1fr 30px;
        border-radius: 24px;
    }

    body.page-scope-food-restaurant .customer-action-card > span{
        width: 50px;
        height: 50px;
        border-radius: 19px;
    }

    body.page-scope-food-restaurant .owner-tools-grid{
        grid-template-columns: 1fr 1fr;
    }

    body.page-scope-food-restaurant .vr-preview-image{
        height: 220px;
    }
}


/* =========================================================
   PAGE: food/restaurants.php
   Former inline <style> rules; isolated to .page-scope-food-restaurants
   ========================================================= */

body.page-scope-food-restaurants .restaurants-page .app-main{
    padding-top: 18px;
}

body.page-scope-food-restaurants .food-app-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(249,115,22,.28), transparent 42%),
        linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    box-shadow: 0 20px 50px rgba(18,102,241,.24);
    padding: 20px;
    margin-bottom: 18px;
}

body.page-scope-food-restaurants .food-app-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-food-restaurants .food-app-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-food-restaurants .food-hero-actions{
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-food-restaurants .food-hero-action{
    border-radius: 22px;
    background: rgba(255,255,255,.16);
    color: #fff;
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 12px;
    backdrop-filter: blur(14px);
}

body.page-scope-food-restaurants .food-hero-action svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-food-restaurants .food-hero-action span{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-food-restaurants .restaurant-search-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-food-restaurants .search-input-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-food-restaurants .search-input-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-food-restaurants .search-input-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-food-restaurants .restaurant-filter-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}

body.page-scope-food-restaurants .restaurant-filter-grid select{
    min-height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    background: #fff;
    padding: 0 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
    outline: 0;
}

body.page-scope-food-restaurants .feature-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

body.page-scope-food-restaurants .feature-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-food-restaurants .feature-tabs label.active{
    background: #1266f1;
    color: #fff;
    border-color: #1266f1;
}

body.page-scope-food-restaurants .feature-tabs input{
    display: none;
}

body.page-scope-food-restaurants .filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-food-restaurants .restaurant-app-list{
    display: grid;
    gap: 16px;
}

body.page-scope-food-restaurants .restaurant-app-card{
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
    color: var(--text);
}

body.page-scope-food-restaurants .restaurant-app-cover{
    position: relative;
    height: 210px;
    background:
        radial-gradient(circle at top right, rgba(249,115,22,.24), transparent 42%),
        linear-gradient(135deg, rgba(249,115,22,.12), rgba(239,68,68,.08));
}

body.page-scope-food-restaurants .restaurant-app-cover > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-restaurants .restaurant-cover-placeholder{
    width: 100%;
    height: 100%;
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-food-restaurants .restaurant-cover-placeholder svg{
    width: 70px;
    height: 70px;
    fill: currentColor;
}

body.page-scope-food-restaurants .restaurant-cover-gradient{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.82), rgba(15,23,42,.12), transparent);
}

body.page-scope-food-restaurants .restaurant-cover-content{
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-food-restaurants .restaurant-logo-small{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-food-restaurants .restaurant-logo-small img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-restaurants .restaurant-logo-small svg{
    width: 30px;
    height: 30px;
    fill: currentColor;
}

body.page-scope-food-restaurants .restaurant-cover-content h2{
    margin: 0;
    color: #fff;
    font-size: 23px;
    letter-spacing: -0.05em;
    line-height: 1;
}

body.page-scope-food-restaurants .restaurant-cover-content p{
    margin: 5px 0 0;
    color: rgba(255,255,255,.8);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-food-restaurants .restaurant-app-body{
    padding: 14px;
}

body.page-scope-food-restaurants .restaurant-app-meta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-food-restaurants .restaurant-app-meta div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-food-restaurants .restaurant-app-meta span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-restaurants .restaurant-app-meta strong{
    display: block;
    color: var(--text);
    font-size: 14px;
}

body.page-scope-food-restaurants .restaurant-feature-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

body.page-scope-food-restaurants .restaurant-feature-badges span{
    min-height: 30px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(18,102,241,.09);
    color: #1266f1;
    font-size: 11px;
    font-weight: 950;
}

body.page-scope-food-restaurants .restaurant-open-row{
    margin-top: 13px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
}

body.page-scope-food-restaurants .restaurant-open-row span{
    font-size: 13px;
    font-weight: 950;
}

body.page-scope-food-restaurants .restaurant-open-row svg{
    width: 19px;
    height: 19px;
    fill: currentColor;
}

@media (max-width: 420px) {
    body.page-scope-food-restaurants .food-app-hero{
        border-radius: 30px;
    }

    body.page-scope-food-restaurants .food-app-hero h1{
        font-size: 30px;
    }

    body.page-scope-food-restaurants .restaurant-filter-grid, body.page-scope-food-restaurants .filter-actions{
        grid-template-columns: 1fr;
    }

    body.page-scope-food-restaurants .restaurant-app-cover{
        height: 190px;
    }
}


/* =========================================================
   PAGE: food/table-booking.php
   Former inline <style> rules; isolated to .page-scope-food-table-booking
   ========================================================= */

body.page-scope-food-table-booking .vr-booking-page .app-main{
    padding-top: 18px;
}

body.page-scope-food-table-booking .vr-hero{
    margin-bottom: 14px;
}

body.page-scope-food-table-booking .vr-viewer-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-food-table-booking .vr-viewer-head{
    margin-bottom: 12px;
}

body.page-scope-food-table-booking .vr-viewer-head h2{
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-table-booking .vr-viewer-head p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-food-table-booking #restaurantPanorama{
    width: 100%;
    height: 520px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
}

body.page-scope-food-table-booking .vr-selected-table-box{
    margin-top: 12px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.10), rgba(109, 93, 252, 0.08));
    padding: 14px;
}

body.page-scope-food-table-booking .vr-selected-table-box span{
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-food-table-booking .vr-selected-table-box strong{
    display: block;
    color: var(--text);
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-table-booking .vr-table-hotspot{
    width: auto !important;
    min-width: 92px;
    min-height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    box-shadow: 0 16px 36px rgba(18, 102, 241, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.95);
    padding: 9px 12px;
    text-align: center;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: 0.18s ease;
}

body.page-scope-food-table-booking .vr-table-hotspot:hover, body.page-scope-food-table-booking .vr-table-hotspot.selected{
    background: linear-gradient(135deg, #16a34a, #22c55e);
    transform: translate(-50%, -50%) scale(1.08);
}

body.page-scope-food-table-booking .vr-table-hotspot span{
    display: block;
    font-size: 10px;
    opacity: .82;
    font-weight: 900;
    line-height: 1;
}

body.page-scope-food-table-booking .vr-table-hotspot strong{
    display: block;
    margin-top: 3px;
    font-size: 14px;
    line-height: 1;
}

body.page-scope-food-table-booking .vr-table-hotspot small{
    display: block;
    margin-top: 4px;
    font-size: 10px;
    opacity: .88;
    line-height: 1;
    font-weight: 800;
}

body.page-scope-food-table-booking .vr-booking-form-card{
    scroll-margin-top: 20px;
}

body.page-scope-food-table-booking .vr-submit-btn{
    min-height: 54px;
}

body.page-scope-food-table-booking .pnlm-container{
    border-radius: 24px;
}

body.page-scope-food-table-booking .pnlm-controls-container{
    z-index: 20;
}

body.page-scope-food-table-booking .pnlm-load-box{
    border-radius: 18px;
}

@media (max-width: 520px) {
    body.page-scope-food-table-booking #restaurantPanorama{
        height: 430px;
    }

    body.page-scope-food-table-booking .vr-table-hotspot{
        min-width: 82px;
        min-height: 54px;
        padding: 8px 10px;
    }

    body.page-scope-food-table-booking .vr-table-hotspot strong{
        font-size: 13px;
    }
}

@media (max-width: 380px) {
    body.page-scope-food-table-booking #restaurantPanorama{
        height: 390px;
    }
}


/* =========================================================
   PAGE: food/table-map-manage.php
   Former inline <style> rules; isolated to .page-scope-food-table-map-manage
   ========================================================= */

body.page-scope-food-table-map-manage .vr-map-manage-page .app-main{
    padding-top: 18px;
}

body.page-scope-food-table-map-manage .vr-muted-text{
    margin: 6px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-table-map-manage .vr-current-image{
    margin-bottom: 14px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 12px;
}

body.page-scope-food-table-map-manage .vr-current-image span{
    display: block;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
}

body.page-scope-food-table-map-manage .vr-current-image img{
    display: block;
    width: 100%;
    height: 130px;
    border-radius: 18px;
    object-fit: cover;
}

body.page-scope-food-table-map-manage .vr-builder-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-food-table-map-manage .vr-builder-head h2{
    margin: 0;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-food-table-map-manage .vr-builder-head p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-food-table-map-manage .vr-tap-helper{
    margin: 14px 0 12px;
    min-height: 44px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(18, 102, 241, 0.12), rgba(109, 93, 252, 0.08));
    color: #1266f1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-food-table-map-manage #adminPanorama{
    width: 100%;
    height: 530px;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
}

body.page-scope-food-table-map-manage .pnlm-container{
    border-radius: 24px;
}

body.page-scope-food-table-map-manage .admin-vr-table-hotspot{
    width: auto !important;
    min-width: 92px;
    min-height: 58px;
    border-radius: 20px;
    background: linear-gradient(135deg, #1266f1, #6d5dfc);
    color: #fff;
    box-shadow: 0 16px 36px rgba(18, 102, 241, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.95);
    padding: 9px 12px;
    text-align: center;
    cursor: default;
    transform: translate(-50%, -50%);
    transition: 0.18s ease;
}

body.page-scope-food-table-map-manage .admin-vr-table-hotspot.inactive{
    background: linear-gradient(135deg, #64748b, #475569);
    opacity: .78;
}

body.page-scope-food-table-map-manage .admin-vr-table-hotspot span{
    display: block;
    font-size: 10px;
    opacity: .82;
    font-weight: 900;
    line-height: 1;
}

body.page-scope-food-table-map-manage .admin-vr-table-hotspot strong{
    display: block;
    margin-top: 3px;
    font-size: 14px;
    line-height: 1;
}

body.page-scope-food-table-map-manage .admin-vr-table-hotspot small{
    display: block;
    margin-top: 4px;
    font-size: 10px;
    opacity: .88;
    line-height: 1;
    font-weight: 800;
}

body.page-scope-food-table-map-manage .vr-table-list{
    display: grid;
    gap: 12px;
}

body.page-scope-food-table-map-manage .vr-table-card{
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, 0.86);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
    padding: 14px;
    display: grid;
    gap: 12px;
}

body.page-scope-food-table-map-manage .vr-table-card h3{
    margin: 0;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-food-table-map-manage .vr-table-card p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-food-table-map-manage .table-add-sheet{
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
}

body.page-scope-food-table-map-manage .table-add-sheet.active{
    pointer-events: auto;
}

body.page-scope-food-table-map-manage .table-add-backdrop{
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    transition: 0.2s ease;
}

body.page-scope-food-table-map-manage .table-add-sheet.active .table-add-backdrop{
    opacity: 1;
}

body.page-scope-food-table-map-manage .table-add-panel{
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(100%, 575px);
    transform: translate(-50%, 110%);
    background: #fff;
    border-radius: 30px 30px 0 0;
    padding: 12px 20px 24px;
    box-shadow: 0 -20px 55px rgba(15, 23, 42, 0.22);
    transition: 0.25s ease;
}

body.page-scope-food-table-map-manage .table-add-sheet.active .table-add-panel{
    transform: translate(-50%, 0);
}

body.page-scope-food-table-map-manage .table-add-handle{
    width: 48px;
    height: 5px;
    border-radius: 999px;
    background: #cbd5e1;
    margin: 0 auto 16px;
}

body.page-scope-food-table-map-manage .table-add-panel h2{
    margin: 0 0 8px;
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-food-table-map-manage .selected-place-text{
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-table-map-manage .selected-place-text strong{
    color: #1266f1;
}

body.page-scope-food-table-map-manage .table-add-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 520px) {
    body.page-scope-food-table-map-manage #adminPanorama{
        height: 430px;
    }

    body.page-scope-food-table-map-manage .admin-vr-table-hotspot{
        min-width: 82px;
        min-height: 54px;
        padding: 8px 10px;
    }

    body.page-scope-food-table-map-manage .admin-vr-table-hotspot strong{
        font-size: 13px;
    }

    body.page-scope-food-table-map-manage .table-add-panel{
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 380px) {
    body.page-scope-food-table-map-manage #adminPanorama{
        height: 390px;
    }
}


/* =========================================================
   PAGE: food/waiter-bill.php
   Former inline <style> rules; isolated to .page-scope-food-waiter-bill
   ========================================================= */

body.page-scope-food-waiter-bill .bill-menu-list{
    display: grid;
    gap: 12px;
    margin: 14px 0;
}

body.page-scope-food-waiter-bill .bill-menu-card{
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.9);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 12px;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-food-waiter-bill .bill-menu-card.selected{
    border-color: rgba(18,102,241,.35);
    background: linear-gradient(135deg, rgba(18,102,241,.05), rgba(109,93,252,.03)), #fff;
}

body.page-scope-food-waiter-bill .bill-menu-image{
    width: 76px;
    height: 76px;
    border-radius: 22px;
    background: rgba(249,115,22,.10);
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-food-waiter-bill .bill-menu-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-food-waiter-bill .bill-menu-image svg{
    width: 30px;
    height: 30px;
    fill: currentColor;
}

body.page-scope-food-waiter-bill .bill-menu-info h3{
    margin: 0;
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-food-waiter-bill .bill-menu-info p{
    margin: 5px 0 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-waiter-bill .bill-qty-control{
    display: inline-grid;
    grid-template-columns: 34px 48px 34px;
    gap: 6px;
    align-items: center;
}

body.page-scope-food-waiter-bill .bill-qty-btn{
    width: 34px;
    height: 34px;
    border-radius: 13px;
    border: 0;
    background: #f1f5f9;
    color: #0f172a;
    font-size: 17px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-food-waiter-bill .bill-qty-input{
    width: 48px;
    height: 34px;
    border-radius: 13px;
    border: 1px solid rgba(226,232,240,.95);
    text-align: center;
    font-weight: 950;
    outline: 0;
}

body.page-scope-food-waiter-bill .bill-live-total{
    border-radius: 22px;
    background: rgba(18,102,241,.09);
    padding: 14px;
    margin: 14px 0;
}

body.page-scope-food-waiter-bill .bill-live-total span{
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-food-waiter-bill .bill-live-total strong{
    display: block;
    color: #1266f1;
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-food-waiter-bill .manual-amount-box{
    margin-top: 16px;
}

body.page-scope-food-waiter-bill .manual-amount-box small{
    display: block;
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-scope-food-waiter-bill .current-bill-items{
    display: grid;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-food-waiter-bill .current-bill-item{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-food-waiter-bill .current-bill-item strong{
    display: block;
    font-size: 14px;
    color: var(--text);
}

body.page-scope-food-waiter-bill .current-bill-item span{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-food-waiter-bill .current-bill-item b{
    color: #f97316;
    font-size: 14px;
}


/* =========================================================
   PAGE: med/admin-appointments.php
   Former inline <style> rules; isolated to .page-scope-med-admin-appointments
   ========================================================= */

body.page-scope-med-admin-appointments .admin-appointments-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-appointments .admin-app-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-appointments .admin-app-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-appointments .admin-app-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-appointments .admin-app-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-appointments .admin-app-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-appointments .admin-app-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-admin-appointments .admin-app-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-admin-appointments .admin-app-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-admin-appointments .admin-app-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-admin-appointments .admin-app-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-admin-appointments .admin-app-tabs label.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-admin-appointments .admin-app-tabs input{
    display: none;
}

body.page-scope-med-admin-appointments .admin-app-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-admin-appointments .admin-app-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-admin-appointments .admin-app-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-appointments .admin-app-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-admin-appointments .admin-app-main-person{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: center;
}

body.page-scope-med-admin-appointments .admin-app-avatar{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-admin-appointments .admin-app-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-appointments .admin-app-avatar svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-admin-appointments .admin-app-main-person span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-admin-appointments .admin-app-main-person h2{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-appointments .admin-app-main-person p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-appointments .admin-app-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-admin-appointments .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-admin-appointments .status-confirmed{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-admin-appointments .status-completed{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-admin-appointments .status-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-admin-appointments .admin-app-date-card{
    margin-top: 13px;
    border-radius: 24px;
    color: #fff;
    padding: 16px;
    box-shadow: 0 16px 38px rgba(14,165,233,.18);
}

body.page-scope-med-admin-appointments .admin-app-date-card.online{
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

body.page-scope-med-admin-appointments .admin-app-date-card.offline{
    background: linear-gradient(135deg, #16a34a, #0ea5e9);
}

body.page-scope-med-admin-appointments .admin-app-date-card strong{
    display: block;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-med-admin-appointments .admin-app-date-card span{
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    opacity: .86;
}

body.page-scope-med-admin-appointments .admin-app-grid, body.page-scope-med-admin-appointments .admin-app-update-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-admin-appointments .admin-app-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-appointments .admin-app-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-appointments .admin-app-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-admin-appointments .admin-app-note{
    margin-top: 12px;
    border-radius: 20px;
    background: rgba(245,158,11,.12);
    padding: 13px;
}

body.page-scope-med-admin-appointments .admin-app-note strong{
    display: block;
    color: #92400e;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-med-admin-appointments .admin-app-note p{
    margin: 0;
    color: #92400e;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-admin-appointments .admin-app-update-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-admin-appointments .admin-app-update-form .form-group{
    margin-bottom: 11px;
}

body.page-scope-med-admin-appointments .admin-app-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-appointments .admin-app-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-appointments .admin-app-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-appointments .admin-app-filter-actions, body.page-scope-med-admin-appointments .admin-app-grid, body.page-scope-med-admin-appointments .admin-app-update-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-admin-appointments .admin-app-head{
        display: block;
    }

    body.page-scope-med-admin-appointments .admin-app-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-admin-appointments .admin-app-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/admin-approvals.php
   Former inline <style> rules; isolated to .page-scope-med-admin-approvals
   ========================================================= */

body.page-scope-med-admin-approvals .admin-approvals-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-approvals .admin-approvals-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-approvals .admin-approvals-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-approvals .admin-approvals-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-approvals .admin-approvals-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-approvals .admin-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-approvals .admin-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-admin-approvals .admin-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-admin-approvals .admin-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-admin-approvals .admin-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-admin-approvals .admin-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-admin-approvals .admin-tabs label.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-admin-approvals .admin-tabs input{
    display: none;
}

body.page-scope-med-admin-approvals .admin-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-admin-approvals .admin-approval-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-admin-approvals .admin-approval-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-approvals .admin-approval-main{
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-admin-approvals .admin-approval-image{
    width: 76px;
    height: 76px;
    border-radius: 26px;
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-admin-approvals .admin-approval-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-approvals .admin-approval-image svg{
    width: 34px;
    height: 34px;
    fill: currentColor;
}

body.page-scope-med-admin-approvals .admin-approval-main span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-approvals .admin-approval-main h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-approvals .admin-approval-main p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-approvals .admin-approval-pills{
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.page-scope-med-admin-approvals .admin-approval-pills em{
    border-radius: 999px;
    background: rgba(14,165,233,.10);
    color: #0284c7;
    padding: 6px 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

body.page-scope-med-admin-approvals .status-active{
    background: rgba(22,163,74,.14) !important;
    color: #16a34a !important;
}

body.page-scope-med-admin-approvals .status-pending{
    background: rgba(245,158,11,.14) !important;
    color: #d97706 !important;
}

body.page-scope-med-admin-approvals .status-blocked{
    background: rgba(239,68,68,.14) !important;
    color: #dc2626 !important;
}

body.page-scope-med-admin-approvals .admin-approval-grid{
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-admin-approvals .admin-approval-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-approvals .admin-approval-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-approvals .admin-approval-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-admin-approvals .admin-approval-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-admin-approvals .admin-approval-actions form{
    margin: 0;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-approvals .admin-approval-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-approvals .admin-approvals-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-approvals .admin-filter-actions, body.page-scope-med-admin-approvals .admin-approval-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-admin-approvals .admin-approval-main{
        grid-template-columns: 64px 1fr;
    }

    body.page-scope-med-admin-approvals .admin-approval-image{
        width: 64px;
        height: 64px;
        border-radius: 22px;
    }

    body.page-scope-med-admin-approvals .admin-approval-actions .btn, body.page-scope-med-admin-approvals .admin-approval-actions form{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/admin-clinics.php
   Former inline <style> rules; isolated to .page-scope-med-admin-clinics
   ========================================================= */

body.page-scope-med-admin-clinics .admin-clinics-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-clinics .admin-clinics-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-clinics .admin-clinics-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-clinics .admin-clinics-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-clinics .admin-clinics-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-clinics .admin-clinics-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-clinics .admin-clinics-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-admin-clinics .admin-clinics-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-admin-clinics .admin-clinics-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-admin-clinics .admin-clinics-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-admin-clinics .admin-clinics-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-admin-clinics .admin-clinics-tabs label.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-admin-clinics .admin-clinics-tabs input{
    display: none;
}

body.page-scope-med-admin-clinics .admin-clinics-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-admin-clinics .admin-clinics-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-admin-clinics .admin-clinic-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-med-admin-clinics .admin-clinic-cover{
    position: relative;
    height: 170px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.20), transparent 42%),
        linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.08));
}

body.page-scope-med-admin-clinics .admin-clinic-cover > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-clinics .admin-clinic-cover-placeholder{
    width: 100%;
    height: 100%;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-admin-clinics .admin-clinic-cover-placeholder svg{
    width: 58px;
    height: 58px;
    fill: currentColor;
}

body.page-scope-med-admin-clinics .admin-clinic-logo{
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(255,255,255,.94);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 32px rgba(15,23,42,.14);
}

body.page-scope-med-admin-clinics .admin-clinic-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-clinics .admin-clinic-logo svg{
    width: 30px;
    height: 30px;
    fill: currentColor;
}

body.page-scope-med-admin-clinics .admin-clinic-body{
    padding: 14px;
}

body.page-scope-med-admin-clinics .admin-clinic-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-admin-clinics .admin-clinic-head span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-admin-clinics .admin-clinic-head h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-clinics .admin-clinic-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-clinics .admin-clinic-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-admin-clinics .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-admin-clinics .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-admin-clinics .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-admin-clinics .admin-clinic-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-admin-clinics .admin-clinic-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-clinics .admin-clinic-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-clinics .admin-clinic-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-admin-clinics .admin-clinic-update-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-admin-clinics .admin-clinic-update-form .form-group{
    margin-bottom: 11px;
}

body.page-scope-med-admin-clinics .admin-clinic-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-clinics .admin-clinics-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-clinics .admin-clinics-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-clinics .admin-clinics-filter-actions, body.page-scope-med-admin-clinics .admin-clinic-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-admin-clinics .admin-clinic-head{
        display: block;
    }

    body.page-scope-med-admin-clinics .admin-clinic-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-admin-clinics .admin-clinic-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/admin-dashboard.php
   Former inline <style> rules; isolated to .page-scope-med-admin-dashboard
   ========================================================= */

body.page-scope-med-admin-dashboard .med-admin-dashboard-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-dashboard .med-admin-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-dashboard .med-admin-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-dashboard .med-admin-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-dashboard .med-admin-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-dashboard .med-admin-hero-actions{
    margin-top: 16px;
}

body.page-scope-med-admin-dashboard .med-admin-note{
    border-radius: 24px;
    background: rgba(15,23,42,.06);
    border: 1px solid rgba(15,23,42,.08);
    color: #0f172a;
    padding: 13px;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-admin-dashboard .med-admin-note svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-med-admin-dashboard .med-admin-actions{
    display: grid;
    gap: 12px;
}

body.page-scope-med-admin-dashboard .med-admin-action-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    color: var(--text);
    display: grid;
    gap: 8px;
    min-height: 120px;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.main{
    background: linear-gradient(135deg, rgba(15,23,42,.10), rgba(245,158,11,.08)), #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.clinics{
    background: linear-gradient(135deg, rgba(14,165,233,.13), rgba(34,197,94,.06)), #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.pharmacy{
    background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(14,165,233,.05)), #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.medicine{
    background: linear-gradient(135deg, rgba(245,158,11,.13), rgba(14,165,233,.05)), #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.appointments{
    background: linear-gradient(135deg, rgba(14,165,233,.13), rgba(37,99,235,.06)), #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.prescriptions{
    background: linear-gradient(135deg, rgba(124,58,237,.13), rgba(14,165,233,.05)), #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.dark{
    background: #0f172a;
    color: #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card svg{
    width: 26px;
    height: 26px;
    fill: currentColor;
    color: #0ea5e9;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.prescriptions svg{
    color: #7c3aed;
}

body.page-scope-med-admin-dashboard .med-admin-action-card.dark svg, body.page-scope-med-admin-dashboard .med-admin-action-card.dark strong, body.page-scope-med-admin-dashboard .med-admin-action-card.dark span{
    color: #fff;
}

body.page-scope-med-admin-dashboard .med-admin-action-card strong{
    display: block;
    color: var(--text);
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-med-admin-dashboard .med-admin-action-card span{
    display: block;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.35;
}

body.page-scope-med-admin-dashboard .admin-mini-list{
    display: grid;
    gap: 12px;
}

body.page-scope-med-admin-dashboard .admin-mini-card{
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 12px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
    color: var(--text);
}

body.page-scope-med-admin-dashboard .admin-mini-image{
    width: 64px;
    height: 64px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-admin-dashboard .admin-mini-image.blue{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-med-admin-dashboard .admin-mini-image.cyan{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-med-admin-dashboard .admin-mini-image.green{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-admin-dashboard .admin-mini-image.orange{
    background: rgba(245,158,11,.14);
    color: #f59e0b;
}

body.page-scope-med-admin-dashboard .admin-mini-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-dashboard .admin-mini-image svg{
    width: 30px;
    height: 30px;
    fill: currentColor;
}

body.page-scope-med-admin-dashboard .admin-mini-card h3{
    margin: 0;
    color: var(--text);
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-med-admin-dashboard .admin-mini-card p{
    margin: 5px 0 8px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-dashboard .admin-mini-card span, body.page-scope-med-admin-dashboard .admin-appointment-head em, body.page-scope-med-admin-dashboard .admin-prescription-head em{
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
    font-style: normal;
}

body.page-scope-med-admin-dashboard .status-active{
    background: rgba(22,163,74,.14) !important;
    color: #16a34a !important;
}

body.page-scope-med-admin-dashboard .status-pending{
    background: rgba(245,158,11,.14) !important;
    color: #d97706 !important;
}

body.page-scope-med-admin-dashboard .status-blocked{
    background: rgba(239,68,68,.14) !important;
    color: #dc2626 !important;
}

body.page-scope-med-admin-dashboard .admin-appointment-list, body.page-scope-med-admin-dashboard .admin-prescription-list{
    display: grid;
    gap: 12px;
}

body.page-scope-med-admin-dashboard .admin-appointment-card, body.page-scope-med-admin-dashboard .admin-prescription-card{
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: block;
    color: var(--text);
}

body.page-scope-med-admin-dashboard .admin-appointment-head, body.page-scope-med-admin-dashboard .admin-prescription-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-admin-dashboard .admin-appointment-head span, body.page-scope-med-admin-dashboard .admin-prescription-head span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-dashboard .admin-appointment-head h3, body.page-scope-med-admin-dashboard .admin-prescription-head h3{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-dashboard .admin-appointment-head p, body.page-scope-med-admin-dashboard .admin-prescription-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-dashboard .admin-appointment-grid, body.page-scope-med-admin-dashboard .admin-prescription-grid{
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-admin-dashboard .admin-appointment-grid div, body.page-scope-med-admin-dashboard .admin-prescription-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-dashboard .admin-appointment-grid span, body.page-scope-med-admin-dashboard .admin-prescription-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-dashboard .admin-appointment-grid strong, body.page-scope-med-admin-dashboard .admin-prescription-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-dashboard .med-admin-actions{
        grid-template-columns: repeat(3, 1fr);
    }

    body.page-scope-med-admin-dashboard .admin-mini-list, body.page-scope-med-admin-dashboard .admin-appointment-list, body.page-scope-med-admin-dashboard .admin-prescription-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-dashboard .med-admin-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-dashboard .admin-appointment-head, body.page-scope-med-admin-dashboard .admin-prescription-head{
        display: block;
    }

    body.page-scope-med-admin-dashboard .admin-appointment-head em, body.page-scope-med-admin-dashboard .admin-prescription-head em{
        margin-top: 10px;
    }

    body.page-scope-med-admin-dashboard .admin-appointment-grid, body.page-scope-med-admin-dashboard .admin-prescription-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: med/admin-doctors.php
   Former inline <style> rules; isolated to .page-scope-med-admin-doctors
   ========================================================= */

body.page-scope-med-admin-doctors .admin-doctors-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-doctors .admin-doctors-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-doctors .admin-doctors-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-doctors .admin-doctors-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-doctors .admin-doctors-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-doctors .admin-doctors-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-doctors .admin-doctors-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-admin-doctors .admin-doctors-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-admin-doctors .admin-doctors-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-admin-doctors .admin-doctors-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-admin-doctors .admin-doctors-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-admin-doctors .admin-doctors-tabs label.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-admin-doctors .admin-doctors-tabs input{
    display: none;
}

body.page-scope-med-admin-doctors .admin-doctors-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-admin-doctors .admin-doctors-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-admin-doctors .admin-doctor-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-doctors .admin-doctor-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-admin-doctors .admin-doctor-person{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: center;
}

body.page-scope-med-admin-doctors .admin-doctor-avatar{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-admin-doctors .admin-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-doctors .admin-doctor-avatar svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-admin-doctors .admin-doctor-person span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-admin-doctors .admin-doctor-person h2{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-doctors .admin-doctor-person p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-doctors .admin-doctor-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-admin-doctors .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-admin-doctors .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-admin-doctors .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-admin-doctors .admin-doctor-grid, body.page-scope-med-admin-doctors .admin-doctor-update-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-admin-doctors .admin-doctor-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-doctors .admin-doctor-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-doctors .admin-doctor-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-admin-doctors .admin-doctor-update-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-admin-doctors .admin-doctor-update-form .form-group{
    margin-bottom: 11px;
}

body.page-scope-med-admin-doctors .admin-doctor-switch{
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    cursor: pointer;
    margin-bottom: 11px;
}

body.page-scope-med-admin-doctors .admin-doctor-switch input{
    display: none;
}

body.page-scope-med-admin-doctors .admin-doctor-switch span{
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    transition: .2s ease;
}

body.page-scope-med-admin-doctors .admin-doctor-switch span::after{
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    border-radius: 999px;
    background: #fff;
    transition: .2s ease;
}

body.page-scope-med-admin-doctors .admin-doctor-switch input:checked + span{
    background: #0ea5e9;
}

body.page-scope-med-admin-doctors .admin-doctor-switch input:checked + span::after{
    transform: translateX(20px);
}

body.page-scope-med-admin-doctors .admin-doctor-switch strong{
    color: var(--text);
    font-size: 13px;
    font-weight: 950;
}

body.page-scope-med-admin-doctors .admin-doctor-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-doctors .admin-doctors-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-doctors .admin-doctors-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-doctors .admin-doctors-filter-actions, body.page-scope-med-admin-doctors .admin-doctor-grid, body.page-scope-med-admin-doctors .admin-doctor-update-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-admin-doctors .admin-doctor-head{
        display: block;
    }

    body.page-scope-med-admin-doctors .admin-doctor-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-admin-doctors .admin-doctor-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/admin-medicines.php
   Former inline <style> rules; isolated to .page-scope-med-admin-medicines
   ========================================================= */

body.page-scope-med-admin-medicines .admin-medicines-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-medicines .admin-medicines-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-medicines .admin-medicines-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #f59e0b);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-medicines .admin-medicines-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-medicines .admin-medicines-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-medicines .admin-medicines-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-medicines .admin-medicines-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 12px;
}

body.page-scope-med-admin-medicines .admin-medicines-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-admin-medicines .admin-medicines-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-admin-medicines .admin-medicines-select-wrap{
    margin-bottom: 12px;
}

body.page-scope-med-admin-medicines .admin-medicines-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-admin-medicines .admin-medicines-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-admin-medicines .admin-medicines-tabs label.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-admin-medicines .admin-medicines-tabs input{
    display: none;
}

body.page-scope-med-admin-medicines .admin-medicines-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-admin-medicines .admin-medicines-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-admin-medicines .admin-medicine-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-medicines .admin-medicine-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-admin-medicines .admin-medicine-person{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: center;
}

body.page-scope-med-admin-medicines .admin-medicine-avatar{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(245,158,11,.14);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-admin-medicines .admin-medicine-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-medicines .admin-medicine-avatar svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-admin-medicines .admin-medicine-person span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-admin-medicines .admin-medicine-person h2{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-medicines .admin-medicine-person p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-medicines .admin-medicine-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-admin-medicines .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-admin-medicines .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-admin-medicines .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-admin-medicines .admin-medicine-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-admin-medicines .admin-medicine-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-medicines .admin-medicine-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-medicines .admin-medicine-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-admin-medicines .admin-medicine-note{
    margin-top: 12px;
    border-radius: 20px;
    background: rgba(245,158,11,.12);
    padding: 13px;
}

body.page-scope-med-admin-medicines .admin-medicine-note strong{
    display: block;
    color: #92400e;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-med-admin-medicines .admin-medicine-note p{
    margin: 0;
    color: #92400e;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-admin-medicines .admin-medicine-update-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-admin-medicines .admin-medicine-update-form .form-group{
    margin-bottom: 11px;
}

body.page-scope-med-admin-medicines .admin-medicine-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-medicines .admin-medicines-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-medicines .admin-medicines-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-medicines .admin-medicines-filter-actions, body.page-scope-med-admin-medicines .admin-medicine-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-admin-medicines .admin-medicine-head{
        display: block;
    }

    body.page-scope-med-admin-medicines .admin-medicine-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-admin-medicines .admin-medicine-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/admin-pharmacies.php
   Former inline <style> rules; isolated to .page-scope-med-admin-pharmacies
   ========================================================= */

body.page-scope-med-admin-pharmacies .admin-pharmacies-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #16a34a);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-tabs label.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-tabs input{
    display: none;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacies-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-person{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: center;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-avatar{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-avatar svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-person span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-person h2{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-person p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-admin-pharmacies .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-admin-pharmacies .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-admin-pharmacies .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-update-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-update-form .form-group{
    margin-bottom: 11px;
}

body.page-scope-med-admin-pharmacies .admin-pharmacy-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-pharmacies .admin-pharmacies-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-pharmacies .admin-pharmacies-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-pharmacies .admin-pharmacies-filter-actions, body.page-scope-med-admin-pharmacies .admin-pharmacy-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-admin-pharmacies .admin-pharmacy-head{
        display: block;
    }

    body.page-scope-med-admin-pharmacies .admin-pharmacy-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-admin-pharmacies .admin-pharmacy-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/admin-prescriptions.php
   Former inline <style> rules; isolated to .page-scope-med-admin-prescriptions
   ========================================================= */

body.page-scope-med-admin-prescriptions .admin-prescriptions-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-admin-prescriptions .admin-pres-back{
    margin-bottom: 12px;
}

body.page-scope-med-admin-prescriptions .admin-pres-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(168,85,247,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #7c3aed);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-admin-prescriptions .admin-pres-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-admin-prescriptions .admin-pres-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-admin-prescriptions .admin-pres-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-prescriptions .admin-pres-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-admin-prescriptions .admin-pres-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-admin-prescriptions .admin-pres-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-admin-prescriptions .admin-pres-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-admin-prescriptions .admin-pres-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-admin-prescriptions .admin-pres-tabs label.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-admin-prescriptions .admin-pres-tabs input{
    display: none;
}

body.page-scope-med-admin-prescriptions .admin-pres-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-admin-prescriptions .admin-pres-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-admin-prescriptions .admin-pres-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-admin-prescriptions .admin-pres-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-admin-prescriptions .admin-pres-doctor{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: center;
}

body.page-scope-med-admin-prescriptions .admin-pres-avatar{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(124,58,237,.12);
    color: #7c3aed;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-admin-prescriptions .admin-pres-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-prescriptions .admin-pres-avatar svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-admin-prescriptions .admin-pres-doctor span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-admin-prescriptions .admin-pres-doctor h2{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-prescriptions .admin-pres-doctor p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-prescriptions .admin-pres-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-admin-prescriptions .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-admin-prescriptions .status-completed{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-admin-prescriptions .status-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-admin-prescriptions .admin-pres-grid, body.page-scope-med-admin-prescriptions .admin-pres-medicine-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-admin-prescriptions .admin-pres-grid div, body.page-scope-med-admin-prescriptions .admin-pres-medicine-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-admin-prescriptions .admin-pres-grid span, body.page-scope-med-admin-prescriptions .admin-pres-medicine-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-admin-prescriptions .admin-pres-grid strong, body.page-scope-med-admin-prescriptions .admin-pres-medicine-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-admin-prescriptions .admin-pres-note{
    margin-top: 12px;
    border-radius: 20px;
    background: rgba(124,58,237,.10);
    padding: 13px;
}

body.page-scope-med-admin-prescriptions .admin-pres-note.diagnosis{
    background: rgba(245,158,11,.12);
}

body.page-scope-med-admin-prescriptions .admin-pres-note strong{
    display: block;
    color: #6d28d9;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-med-admin-prescriptions .admin-pres-note.diagnosis strong{
    color: #92400e;
}

body.page-scope-med-admin-prescriptions .admin-pres-note p{
    margin: 0;
    color: #6d28d9;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-admin-prescriptions .admin-pres-note.diagnosis p{
    color: #92400e;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-section{
    margin-top: 14px;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-section h3{
    margin: 0 0 10px;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-admin-prescriptions .no-items-note{
    border-radius: 18px;
    background: rgba(100,116,139,.10);
    color: #64748b;
    padding: 12px;
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-list{
    display: grid;
    gap: 10px;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-card{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-title{
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-icon{
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: rgba(245,158,11,.14);
    color: #f59e0b;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-icon svg{
    width: 23px;
    height: 23px;
    fill: currentColor;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-title strong{
    display: block;
    color: var(--text);
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-title small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
}

body.page-scope-med-admin-prescriptions .admin-pres-instruction{
    margin-top: 9px;
    border-radius: 16px;
    background: #fff;
    color: var(--muted);
    padding: 10px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-admin-prescriptions .admin-pres-medicine-link{
    margin-top: 10px;
}

body.page-scope-med-admin-prescriptions .admin-pres-update-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-admin-prescriptions .admin-pres-update-form .form-group{
    margin-bottom: 11px;
}

body.page-scope-med-admin-prescriptions .admin-pres-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-admin-prescriptions .admin-pres-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-admin-prescriptions .admin-pres-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-admin-prescriptions .admin-pres-filter-actions, body.page-scope-med-admin-prescriptions .admin-pres-grid, body.page-scope-med-admin-prescriptions .admin-pres-medicine-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-admin-prescriptions .admin-pres-head{
        display: block;
    }

    body.page-scope-med-admin-prescriptions .admin-pres-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-admin-prescriptions .admin-pres-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/appointment-create.php
   Former inline <style> rules; isolated to .page-scope-med-appointment-create
   ========================================================= */

body.page-scope-med-appointment-create .appointment-create-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-appointment-create .appointment-back-link{
    margin-bottom: 12px;
}

body.page-scope-med-appointment-create .appointment-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-appointment-create .appointment-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-appointment-create .appointment-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-appointment-create .doctor-summary-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-med-appointment-create .doctor-summary-avatar{
    width: 76px;
    height: 76px;
    border-radius: 26px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-appointment-create .doctor-summary-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-appointment-create .doctor-summary-avatar svg{
    width: 36px;
    height: 36px;
    fill: currentColor;
}

body.page-scope-med-appointment-create .doctor-summary-card span{
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
}

body.page-scope-med-appointment-create .doctor-summary-card h2{
    margin: 4px 0;
    font-size: 19px;
    letter-spacing: -0.04em;
}

body.page-scope-med-appointment-create .doctor-summary-card p{
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-appointment-create .appointment-type-preview{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
    padding: 16px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 13px;
    align-items: start;
}

body.page-scope-med-appointment-create .appointment-type-preview > span{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-appointment-create .appointment-type-preview.online > span{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-med-appointment-create .appointment-type-preview.offline > span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-appointment-create .appointment-type-preview svg{
    width: 25px;
    height: 25px;
    fill: currentColor;
}

body.page-scope-med-appointment-create .appointment-type-preview strong{
    display: block;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-appointment-create .appointment-type-preview p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-appointment-create .appointment-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-appointment-create .appointment-info-grid div{
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 13px;
}

body.page-scope-med-appointment-create .appointment-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-appointment-create .appointment-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-appointment-create .clinic-preview-box{
    display: grid;
    gap: 9px;
    margin: 0 0 14px;
}

body.page-scope-med-appointment-create .clinic-preview-box div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-appointment-create .clinic-preview-box span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-appointment-create .clinic-preview-box strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-appointment-create .payment-hint-card{
    border-radius: 22px;
    padding: 14px;
    margin-bottom: 14px;
}

body.page-scope-med-appointment-create .payment-hint-card.online{
    background: rgba(14,165,233,.10);
    color: #0369a1;
}

body.page-scope-med-appointment-create .payment-hint-card.offline{
    background: rgba(34,197,94,.10);
    color: #15803d;
}

body.page-scope-med-appointment-create .payment-hint-card strong{
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

body.page-scope-med-appointment-create .payment-hint-card p{
    margin: 0;
    font-size: 12px;
    font-weight: 850;
    line-height: 1.4;
}

body.page-scope-med-appointment-create .appointment-submit{
    min-height: 54px;
}

@media (max-width: 430px) {
    body.page-scope-med-appointment-create .appointment-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-appointment-create .doctor-summary-card{
        grid-template-columns: 68px 1fr;
    }

    body.page-scope-med-appointment-create .doctor-summary-avatar{
        width: 68px;
        height: 68px;
        border-radius: 24px;
    }

    body.page-scope-med-appointment-create .appointment-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-appointment-create .appointment-type-preview{
        grid-template-columns: 52px 1fr;
    }

    body.page-scope-med-appointment-create .appointment-type-preview > span{
        width: 52px;
        height: 52px;
        border-radius: 20px;
    }
}


/* =========================================================
   PAGE: med/appointment-pay.php
   Former inline <style> rules; isolated to .page-scope-med-appointment-pay
   ========================================================= */

body.page-scope-med-appointment-pay .appointment-pay-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-appointment-pay .appointment-pay-back{
    margin-bottom: 12px;
}

body.page-scope-med-appointment-pay .appointment-pay-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-appointment-pay .appointment-pay-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-appointment-pay .appointment-pay-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-appointment-pay .pay-doctor-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-med-appointment-pay .pay-doctor-avatar{
    width: 76px;
    height: 76px;
    border-radius: 26px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-appointment-pay .pay-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-appointment-pay .pay-doctor-avatar svg{
    width: 36px;
    height: 36px;
    fill: currentColor;
}

body.page-scope-med-appointment-pay .pay-doctor-card span{
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
}

body.page-scope-med-appointment-pay .pay-doctor-card h2{
    margin: 4px 0;
    font-size: 19px;
    letter-spacing: -0.04em;
}

body.page-scope-med-appointment-pay .pay-doctor-card p{
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-appointment-pay .pay-amount-card{
    border-radius: 32px;
    background: #0f172a;
    color: #fff;
    padding: 20px;
    box-shadow: 0 18px 46px rgba(15,23,42,.20);
}

body.page-scope-med-appointment-pay .pay-amount-card span{
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

body.page-scope-med-appointment-pay .pay-amount-card strong{
    display: block;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
}

body.page-scope-med-appointment-pay .pay-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-appointment-pay .pay-info-grid div{
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 13px;
}

body.page-scope-med-appointment-pay .pay-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-appointment-pay .pay-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-appointment-pay .payment-note-card{
    border-radius: 28px;
    background: rgba(14,165,233,.10);
    color: #0369a1;
    padding: 16px;
}

body.page-scope-med-appointment-pay .payment-note-card h2{
    margin: 0 0 8px;
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-appointment-pay .payment-note-card p{
    margin: 0;
    font-size: 12.5px;
    font-weight: 850;
    line-height: 1.45;
}

body.page-scope-med-appointment-pay .next-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,.70);
    padding: 12px;
    color: #075985;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.4;
}

body.page-scope-med-appointment-pay .paid-success-card{
    border-radius: 22px;
    background: rgba(22,163,74,.12);
    color: #15803d;
    padding: 14px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 950;
}

body.page-scope-med-appointment-pay .pay-confirm-btn{
    min-height: 54px;
}

@media (max-width: 430px) {
    body.page-scope-med-appointment-pay .appointment-pay-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-appointment-pay .pay-doctor-card{
        grid-template-columns: 68px 1fr;
    }

    body.page-scope-med-appointment-pay .pay-doctor-avatar{
        width: 68px;
        height: 68px;
        border-radius: 24px;
    }

    body.page-scope-med-appointment-pay .pay-info-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: med/book-appointment.php
   Former inline <style> rules; isolated to .page-scope-med-book-appointment
   ========================================================= */

body.page-scope-med-book-appointment .book-appointment-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-book-appointment .book-back{
    margin-bottom: 12px;
}

body.page-scope-med-book-appointment .book-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.32), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-book-appointment .book-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-book-appointment .book-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-book-appointment .book-doctor-mini{
    margin-top: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.14);
    padding: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-book-appointment .book-doctor-mini > div{
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255,255,255,.20);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-book-appointment .book-doctor-mini img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-book-appointment .book-doctor-mini svg{
    width: 25px;
    height: 25px;
    fill: currentColor;
}

body.page-scope-med-book-appointment .book-doctor-mini strong{
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-med-book-appointment .book-doctor-mini small{
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-med-book-appointment .book-type-tabs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-book-appointment .book-type-tabs a{
    min-height: 58px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 950;
}

body.page-scope-med-book-appointment .book-type-tabs a.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-book-appointment .book-type-tabs svg{
    width: 21px;
    height: 21px;
    fill: currentColor;
}

body.page-scope-med-book-appointment .book-summary-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
}

body.page-scope-med-book-appointment .book-summary-card div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-book-appointment .book-summary-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-book-appointment .book-summary-card strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-book-appointment .book-form{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-book-appointment .book-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-med-book-appointment .book-submit{
    margin-top: 12px;
}

@media (max-width: 430px) {
    body.page-scope-med-book-appointment .book-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-book-appointment .book-type-tabs, body.page-scope-med-book-appointment .book-summary-card, body.page-scope-med-book-appointment .book-form-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: med/clinic-dashboard.php
   Former inline <style> rules; isolated to .page-scope-med-clinic-dashboard
   ========================================================= */

body.page-scope-med-clinic-dashboard .clinic-dashboard-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-clinic-dashboard .clinic-dashboard-back{
    margin-bottom: 12px;
}

body.page-scope-med-clinic-dashboard .clinic-dashboard-cover{
    position: relative;
    height: 155px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 20px 50px rgba(37,99,235,.18);
}

body.page-scope-med-clinic-dashboard .clinic-dashboard-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic-dashboard .clinic-status-pill{
    position: absolute;
    top: 13px;
    right: 13px;
    border-radius: 999px;
    padding: 8px 11px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-clinic-dashboard .clinic-status-pill.status-pending, body.page-scope-med-clinic-dashboard .clinic-status-note.status-pending{
    background: rgba(245,158,11,.12);
    color: #92400e;
}

body.page-scope-med-clinic-dashboard .clinic-status-pill.status-active, body.page-scope-med-clinic-dashboard .clinic-status-note.status-active{
    background: rgba(22,163,74,.12);
    color: #166534;
}

body.page-scope-med-clinic-dashboard .clinic-status-pill.status-blocked, body.page-scope-med-clinic-dashboard .clinic-status-note.status-blocked{
    background: rgba(239,68,68,.12);
    color: #b91c1c;
}

body.page-scope-med-clinic-dashboard .clinic-dashboard-card{
    margin-top: -38px;
    position: relative;
    z-index: 3;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-med-clinic-dashboard .clinic-logo{
    width: 78px;
    height: 78px;
    border-radius: 28px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-clinic-dashboard .clinic-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic-dashboard .clinic-logo svg{
    width: 36px;
    height: 36px;
    fill: currentColor;
}

body.page-scope-med-clinic-dashboard .clinic-dashboard-card h1{
    margin: 4px 0 6px;
    color: var(--text);
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.06em;
}

body.page-scope-med-clinic-dashboard .clinic-dashboard-card p{
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

body.page-scope-med-clinic-dashboard .clinic-status-note{
    border-radius: 24px;
    padding: 14px;
    border: 1px solid rgba(226,232,240,.75);
}

body.page-scope-med-clinic-dashboard .clinic-status-note strong{
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

body.page-scope-med-clinic-dashboard .clinic-status-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-clinic-dashboard .clinic-actions-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-med-clinic-dashboard .clinic-action-card{
    min-height: 104px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 14px;
    color: var(--text);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.page-scope-med-clinic-dashboard .clinic-action-card svg{
    width: 25px;
    height: 25px;
    fill: #0ea5e9;
}

body.page-scope-med-clinic-dashboard .clinic-action-card span{
    font-size: 13px;
    font-weight: 950;
    line-height: 1.25;
}

body.page-scope-med-clinic-dashboard .clinic-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

body.page-scope-med-clinic-dashboard .clinic-info-grid div{
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 13px;
}

body.page-scope-med-clinic-dashboard .clinic-info-grid div.full{
    grid-column: 1 / -1;
}

body.page-scope-med-clinic-dashboard .clinic-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-clinic-dashboard .clinic-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.4;
    word-break: break-word;
}

body.page-scope-med-clinic-dashboard .latest-clinic-doctor-list{
    display: grid;
    gap: 12px;
}

body.page-scope-med-clinic-dashboard .latest-clinic-doctor-card{
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 12px;
    color: var(--text);
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-clinic-dashboard .doctor-thumb{
    width: 64px;
    height: 64px;
    border-radius: 24px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-clinic-dashboard .doctor-thumb img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic-dashboard .doctor-thumb svg{
    width: 30px;
    height: 30px;
    fill: currentColor;
}

body.page-scope-med-clinic-dashboard .latest-clinic-doctor-card h3{
    margin: 0;
    color: var(--text);
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-med-clinic-dashboard .latest-clinic-doctor-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-clinic-dashboard .doctor-mini-meta{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

body.page-scope-med-clinic-dashboard .doctor-mini-meta span{
    border-radius: 999px;
    background: rgba(14,165,233,.08);
    color: #0284c7;
    padding: 5px 7px;
    font-size: 10px;
    font-weight: 950;
}

@media (max-width: 430px) {
    body.page-scope-med-clinic-dashboard .clinic-dashboard-cover{
        border-radius: 30px;
        height: 140px;
    }

    body.page-scope-med-clinic-dashboard .clinic-dashboard-card{
        grid-template-columns: 70px 1fr;
        border-radius: 28px;
    }

    body.page-scope-med-clinic-dashboard .clinic-logo{
        width: 70px;
        height: 70px;
        border-radius: 25px;
    }

    body.page-scope-med-clinic-dashboard .clinic-actions-grid, body.page-scope-med-clinic-dashboard .clinic-info-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: med/clinic-doctor-add.php
   Former inline <style> rules; isolated to .page-scope-med-clinic-doctor-add
   ========================================================= */

body.page-scope-med-clinic-doctor-add .clinic-doctor-add-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-clinic-doctor-add .clinic-doctor-add-back{
    margin-bottom: 12px;
}

body.page-scope-med-clinic-doctor-add .clinic-doctor-add-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.22);
    padding: 20px;
}

body.page-scope-med-clinic-doctor-add .clinic-doctor-add-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-clinic-doctor-add .clinic-doctor-add-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-clinic-doctor-add .clinic-mini-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-clinic-doctor-add .clinic-mini-logo{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-clinic-doctor-add .clinic-mini-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic-doctor-add .clinic-mini-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-clinic-doctor-add .clinic-mini-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-clinic-doctor-add .clinic-mini-card strong{
    display: block;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-clinic-doctor-add .clinic-mini-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-clinic-doctor-add .doctor-search-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-clinic-doctor-add .doctor-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-clinic-doctor-add .doctor-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-clinic-doctor-add .doctor-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-clinic-doctor-add .doctor-search-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-card, body.page-scope-med-clinic-doctor-add .doctor-preview-card{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-avatar, body.page-scope-med-clinic-doctor-add .doctor-preview-avatar{
    width: 64px;
    height: 64px;
    border-radius: 24px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-avatar img, body.page-scope-med-clinic-doctor-add .doctor-preview-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-avatar svg, body.page-scope-med-clinic-doctor-add .doctor-preview-avatar svg{
    width: 30px;
    height: 30px;
    fill: currentColor;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-card h3, body.page-scope-med-clinic-doctor-add .doctor-preview-card h3{
    margin: 0;
    color: var(--text);
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-card p, body.page-scope-med-clinic-doctor-add .doctor-preview-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-tags, body.page-scope-med-clinic-doctor-add .doctor-preview-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

body.page-scope-med-clinic-doctor-add .selected-doctor-tags span, body.page-scope-med-clinic-doctor-add .doctor-preview-tags span{
    border-radius: 999px;
    background: rgba(14,165,233,.08);
    color: #0284c7;
    padding: 5px 7px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-clinic-doctor-add .doctor-preview-list{
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

body.page-scope-med-clinic-doctor-add .empty-mini-note{
    border-radius: 20px;
    background: rgba(245,158,11,.10);
    color: #92400e;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
    margin-bottom: 14px;
}

body.page-scope-med-clinic-doctor-add .clinic-doctor-submit{
    min-height: 54px;
}

@media (max-width: 430px) {
    body.page-scope-med-clinic-doctor-add .clinic-doctor-add-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-clinic-doctor-add .doctor-search-actions{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-clinic-doctor-add .clinic-mini-card{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-med-clinic-doctor-add .clinic-mini-logo{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }
}


/* =========================================================
   PAGE: med/clinic-doctors.php
   Former inline <style> rules; isolated to .page-scope-med-clinic-doctors
   ========================================================= */

body.page-scope-med-clinic-doctors .clinic-doctors-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-clinic-doctors .clinic-doctors-back{
    margin-bottom: 12px;
}

body.page-scope-med-clinic-doctors .clinic-doctors-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-clinic-doctors .clinic-doctors-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-clinic-doctors .clinic-doctors-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-clinic-doctors .clinic-doctors-clinic-mini{
    margin-top: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.14);
    padding: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-clinic-doctors .clinic-doctors-clinic-mini > div{
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255,255,255,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-clinic-doctors .clinic-doctors-clinic-mini img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic-doctors .clinic-doctors-clinic-mini svg{
    width: 25px;
    height: 25px;
    fill: #fff;
}

body.page-scope-med-clinic-doctors .clinic-doctors-clinic-mini strong{
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-med-clinic-doctors .clinic-doctors-clinic-mini small{
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-med-clinic-doctors .clinic-doctors-actions-top{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-clinic-doctors .clinic-doctors-search-card, body.page-scope-med-clinic-doctors .clinic-doctors-add-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-clinic-doctors .clinic-doctors-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
    margin-bottom: 12px;
}

body.page-scope-med-clinic-doctors .clinic-doctors-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-clinic-doctors .clinic-doctors-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-clinic-doctors .clinic-doctors-add-card h2{
    margin: 0 0 14px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.05em;
}

body.page-scope-med-clinic-doctors .clinic-doctors-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-med-clinic-doctors .clinic-doctors-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-clinic-doctors .clinic-doctor-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-clinic-doctors .clinic-doctor-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-clinic-doctors .clinic-doctor-person{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: center;
}

body.page-scope-med-clinic-doctors .clinic-doctor-avatar{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-clinic-doctors .clinic-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic-doctors .clinic-doctor-avatar svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-clinic-doctors .clinic-doctor-person span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-clinic-doctors .clinic-doctor-person h2{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-clinic-doctors .clinic-doctor-person p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-clinic-doctors .clinic-doctor-head em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-clinic-doctors .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-clinic-doctors .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-clinic-doctors .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-clinic-doctors .clinic-doctor-update-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-clinic-doctors .clinic-doctor-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-clinic-doctors .clinic-doctor-actions form{
    margin: 0;
}

@media (min-width: 760px) {
    body.page-scope-med-clinic-doctors .clinic-doctors-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-clinic-doctors .clinic-doctors-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-clinic-doctors .clinic-doctors-actions-top, body.page-scope-med-clinic-doctors .clinic-doctors-form-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-clinic-doctors .clinic-doctor-head{
        display: block;
    }

    body.page-scope-med-clinic-doctors .clinic-doctor-head em{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-clinic-doctors .clinic-doctor-actions .btn, body.page-scope-med-clinic-doctors .clinic-doctor-actions form{
        width: 100%;
    }

    body.page-scope-med-clinic-doctors .clinic-doctor-actions button{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/clinic-edit.php
   Former inline <style> rules; isolated to .page-scope-med-clinic-edit
   ========================================================= */

body.page-scope-med-clinic-edit .clinic-edit-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-clinic-edit .clinic-edit-back{
    margin-bottom: 12px;
}

body.page-scope-med-clinic-edit .clinic-edit-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.22);
    padding: 20px;
}

body.page-scope-med-clinic-edit .clinic-edit-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-clinic-edit .clinic-edit-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-clinic-edit .clinic-status-note{
    border-radius: 24px;
    padding: 14px;
    border: 1px solid rgba(226,232,240,.75);
}

body.page-scope-med-clinic-edit .clinic-status-note strong{
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

body.page-scope-med-clinic-edit .clinic-status-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-clinic-edit .clinic-status-note.status-pending{
    background: rgba(245,158,11,.12);
    color: #92400e;
}

body.page-scope-med-clinic-edit .clinic-status-note.status-active{
    background: rgba(22,163,74,.12);
    color: #166534;
}

body.page-scope-med-clinic-edit .clinic-status-note.status-blocked{
    background: rgba(239,68,68,.12);
    color: #b91c1c;
}

body.page-scope-med-clinic-edit .current-image-box{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
    margin-bottom: 14px;
}

body.page-scope-med-clinic-edit .current-image-box span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 10px;
}

body.page-scope-med-clinic-edit .current-image-box img{
    width: 100%;
    max-height: 230px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

body.page-scope-med-clinic-edit .current-image-box.small img{
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 30px;
}

body.page-scope-med-clinic-edit .clinic-edit-submit{
    min-height: 54px;
}

@media (max-width: 430px) {
    body.page-scope-med-clinic-edit .clinic-edit-hero-card{
        border-radius: 30px;
    }
}


/* =========================================================
   PAGE: med/clinic.php
   Former inline <style> rules; isolated to .page-scope-med-clinic
   ========================================================= */

body.page-scope-med-clinic .med-clinic-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-clinic .single-clinic-back{
    margin-bottom: 12px;
}

body.page-scope-med-clinic .single-clinic-cover{
    height: 155px;
    border-radius: 34px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 20px 50px rgba(37,99,235,.18);
}

body.page-scope-med-clinic .single-clinic-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic .single-clinic-card{
    margin-top: -38px;
    position: relative;
    z-index: 3;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-med-clinic .single-clinic-logo{
    width: 78px;
    height: 78px;
    border-radius: 28px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-clinic .single-clinic-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic .single-clinic-logo svg{
    width: 36px;
    height: 36px;
    fill: currentColor;
}

body.page-scope-med-clinic .single-clinic-card h1{
    margin: 4px 0 6px;
    color: var(--text);
    font-size: 25px;
    line-height: 1;
    letter-spacing: -0.06em;
}

body.page-scope-med-clinic .single-clinic-card p{
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 800;
}

body.page-scope-med-clinic .single-clinic-hero-card{
    border-radius: 34px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    padding: 20px;
}

body.page-scope-med-clinic .single-clinic-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    letter-spacing: -0.07em;
}

body.page-scope-med-clinic .single-clinic-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
}

body.page-scope-med-clinic .clinic-contact-card, body.page-scope-med-clinic .clinic-doctor-filter-card, body.page-scope-med-clinic .clinic-doctor-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-clinic .clinic-contact-card h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 19px;
    letter-spacing: -0.05em;
}

body.page-scope-med-clinic .clinic-contact-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-clinic .clinic-contact-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-clinic .clinic-contact-grid div.full{
    grid-column: 1 / -1;
}

body.page-scope-med-clinic .clinic-contact-grid span, body.page-scope-med-clinic .clinic-doctor-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-clinic .clinic-contact-grid strong, body.page-scope-med-clinic .clinic-contact-grid a, body.page-scope-med-clinic .clinic-doctor-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-clinic .clinic-contact-actions{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-clinic .clinic-doctor-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-clinic .clinic-doctor-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-clinic .clinic-doctor-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-clinic .clinic-doctor-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

body.page-scope-med-clinic .clinic-doctor-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-clinic .clinic-doctor-main{
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-clinic .clinic-doctor-avatar{
    width: 78px;
    height: 78px;
    border-radius: 28px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-clinic .clinic-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinic .clinic-doctor-avatar svg{
    width: 36px;
    height: 36px;
    fill: currentColor;
}

body.page-scope-med-clinic .clinic-doctor-main h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-clinic .clinic-doctor-main p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-clinic .clinic-doctor-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

body.page-scope-med-clinic .clinic-doctor-tags span{
    border-radius: 999px;
    background: rgba(14,165,233,.09);
    color: #0284c7;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-clinic .clinic-doctor-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-clinic .clinic-doctor-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-clinic .clinic-doctor-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 430px) {
    body.page-scope-med-clinic .single-clinic-cover{
        border-radius: 30px;
        height: 140px;
    }

    body.page-scope-med-clinic .single-clinic-card{
        grid-template-columns: 70px 1fr;
    }

    body.page-scope-med-clinic .single-clinic-logo{
        width: 70px;
        height: 70px;
        border-radius: 25px;
    }

    body.page-scope-med-clinic .clinic-contact-grid, body.page-scope-med-clinic .clinic-doctor-filter-actions, body.page-scope-med-clinic .clinic-doctor-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-clinic .clinic-doctor-main{
        grid-template-columns: 68px 1fr;
    }

    body.page-scope-med-clinic .clinic-doctor-avatar{
        width: 68px;
        height: 68px;
        border-radius: 25px;
    }
}


/* =========================================================
   PAGE: med/clinics.php
   Former inline <style> rules; isolated to .page-scope-med-clinics
   ========================================================= */

body.page-scope-med-clinics .med-clinics-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-clinics .med-clinics-back{
    margin-bottom: 12px;
}

body.page-scope-med-clinics .med-clinics-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-clinics .med-clinics-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-clinics .med-clinics-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-clinics .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-clinics .clinic-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-clinics .clinic-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-clinics .clinic-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-clinics .clinic-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-clinics .clinic-filter-grid{
    margin: 10px 0;
}

body.page-scope-med-clinics .clinic-filter-grid select{
    width: 100%;
    min-height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    background: #fff;
    padding: 0 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
    outline: 0;
}

body.page-scope-med-clinics .clinic-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-clinics .public-clinic-list{
    display: grid;
    gap: 16px;
}

body.page-scope-med-clinics .public-clinic-card{
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-med-clinics .public-clinic-cover{
    height: 150px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.22), transparent 42%),
        linear-gradient(135deg, #f8fafc, #e0f2fe);
}

body.page-scope-med-clinics .public-clinic-cover img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinics .clinic-cover-placeholder{
    width: 100%;
    height: 100%;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-clinics .clinic-cover-placeholder svg{
    width: 54px;
    height: 54px;
    fill: currentColor;
}

body.page-scope-med-clinics .public-clinic-body{
    padding: 14px;
}

body.page-scope-med-clinics .public-clinic-main{
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-clinics .public-clinic-logo{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-clinics .public-clinic-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-clinics .public-clinic-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-clinics .public-clinic-main h2{
    margin: 0;
    color: var(--text);
    font-size: 19px;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

body.page-scope-med-clinics .public-clinic-main p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-med-clinics .public-clinic-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-clinics .public-clinic-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-clinics .public-clinic-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-clinics .public-clinic-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-clinics .public-clinic-address{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(14,165,233,.08);
    color: #075985;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-clinics .public-clinic-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 430px) {
    body.page-scope-med-clinics .med-clinics-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-clinics .clinic-filter-actions, body.page-scope-med-clinics .public-clinic-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-clinics .public-clinic-cover{
        height: 132px;
    }

    body.page-scope-med-clinics .public-clinic-main{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-med-clinics .public-clinic-logo{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }
}


/* =========================================================
   PAGE: med/doctor-appointments.php
   Former inline <style> rules; isolated to .page-scope-med-doctor-appointments
   ========================================================= */

body.page-scope-med-doctor-appointments .doctor-appointments-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctor-appointments .doctor-app-back{
    margin-bottom: 12px;
}

body.page-scope-med-doctor-appointments .doctor-app-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-doctor-appointments .doctor-app-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-doctor-appointments .doctor-app-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-doctor-appointments .doctor-mini-profile{
    margin-top: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.14);
    padding: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-doctor-appointments .doctor-mini-profile > div{
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255,255,255,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-doctor-appointments .doctor-mini-profile img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor-appointments .doctor-mini-profile svg{
    width: 25px;
    height: 25px;
    fill: #fff;
}

body.page-scope-med-doctor-appointments .doctor-mini-profile strong{
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-med-doctor-appointments .doctor-mini-profile small{
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-med-doctor-appointments .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-doctor-appointments .doctor-app-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-appointments .doctor-app-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-doctor-appointments .doctor-app-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-doctor-appointments .doctor-app-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-doctor-appointments .doctor-app-tabs, body.page-scope-med-doctor-appointments .doctor-app-type-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-doctor-appointments .doctor-app-tabs label, body.page-scope-med-doctor-appointments .doctor-app-type-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-doctor-appointments .doctor-app-tabs label.active, body.page-scope-med-doctor-appointments .doctor-app-type-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-med-doctor-appointments .doctor-app-tabs input, body.page-scope-med-doctor-appointments .doctor-app-type-tabs input{
    display: none;
}

body.page-scope-med-doctor-appointments .doctor-app-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-doctor-appointments .doctor-app-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-doctor-appointments .doctor-app-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-appointments .doctor-app-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-doctor-appointments .doctor-app-head span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-appointments .doctor-app-head h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-appointments .doctor-app-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-doctor-appointments .doctor-app-badges{
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

body.page-scope-med-doctor-appointments .doctor-app-badges em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-doctor-appointments .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-doctor-appointments .status-confirmed{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-doctor-appointments .status-completed{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-doctor-appointments .status-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-doctor-appointments .payment-paid{
    background: rgba(22,163,74,.14);
    color: #16a34a !important;
}

body.page-scope-med-doctor-appointments .payment-pending{
    background: rgba(245,158,11,.14);
    color: #d97706 !important;
}

body.page-scope-med-doctor-appointments .payment-unpaid{
    background: rgba(100,116,139,.12);
    color: #64748b !important;
}

body.page-scope-med-doctor-appointments .payment-clinic{
    background: rgba(14,165,233,.12);
    color: #0284c7 !important;
}

body.page-scope-med-doctor-appointments .doctor-app-date-card{
    margin-top: 13px;
    border-radius: 24px;
    color: #fff;
    padding: 16px;
    box-shadow: 0 16px 38px rgba(14,165,233,.18);
}

body.page-scope-med-doctor-appointments .doctor-app-date-card.online{
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

body.page-scope-med-doctor-appointments .doctor-app-date-card.offline{
    background: linear-gradient(135deg, #16a34a, #0ea5e9);
}

body.page-scope-med-doctor-appointments .doctor-app-date-card strong{
    display: block;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-med-doctor-appointments .doctor-app-date-card span{
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    opacity: .86;
}

body.page-scope-med-doctor-appointments .doctor-app-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-doctor-appointments .doctor-app-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-doctor-appointments .doctor-app-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-appointments .doctor-app-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-doctor-appointments .doctor-app-note{
    margin-top: 12px;
    border-radius: 20px;
    background: rgba(245,158,11,.12);
    padding: 13px;
}

body.page-scope-med-doctor-appointments .doctor-app-note strong{
    display: block;
    color: #92400e;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-med-doctor-appointments .doctor-app-note p{
    margin: 0;
    color: #92400e;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-doctor-appointments .doctor-note-form{
    margin-top: 12px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-doctor-appointments .doctor-note-form label{
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 8px;
}

body.page-scope-med-doctor-appointments .doctor-note-form button{
    margin-top: 10px;
}

body.page-scope-med-doctor-appointments .doctor-status-form-wrap{
    margin-top: 12px;
}

body.page-scope-med-doctor-appointments .doctor-status-form{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 9px;
}

body.page-scope-med-doctor-appointments .doctor-app-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-doctor-appointments .disabled-action{
    opacity: .72;
    cursor: not-allowed;
    pointer-events: none;
}

@media (min-width: 760px) {
    body.page-scope-med-doctor-appointments .doctor-app-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-doctor-appointments .doctor-app-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-doctor-appointments .doctor-app-filter-actions, body.page-scope-med-doctor-appointments .doctor-app-grid, body.page-scope-med-doctor-appointments .doctor-status-form{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor-appointments .doctor-app-head{
        display: block;
    }

    body.page-scope-med-doctor-appointments .doctor-app-badges{
        align-items: flex-start;
        margin-top: 10px;
    }

    body.page-scope-med-doctor-appointments .doctor-app-actions .btn, body.page-scope-med-doctor-appointments .doctor-app-actions .disabled-action{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/doctor-clinics.php
   Former inline <style> rules; isolated to .page-scope-med-doctor-clinics
   ========================================================= */

body.page-scope-med-doctor-clinics .doctor-clinics-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctor-clinics .doctor-clinics-back{
    margin-bottom: 12px;
}

body.page-scope-med-doctor-clinics .doctor-clinics-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-doctor-clinics .doctor-clinics-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-doctor-clinics .doctor-clinics-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-doctor-clinics .doctor-info-mini-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-doctor-clinics .doctor-info-avatar{
    width: 72px;
    height: 72px;
    border-radius: 26px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-doctor-clinics .doctor-info-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor-clinics .doctor-info-avatar svg{
    width: 35px;
    height: 35px;
    fill: currentColor;
}

body.page-scope-med-doctor-clinics .doctor-info-mini-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-doctor-clinics .doctor-info-mini-card strong{
    display: block;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-clinics .doctor-info-mini-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-doctor-clinics .clinic-form-note{
    margin: 8px 0 14px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-doctor-clinics .clinic-submit-btn{
    min-height: 54px;
}

body.page-scope-med-doctor-clinics .doctor-clinic-manage-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-doctor-clinics .doctor-clinic-manage-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-clinics .clinic-card-head{
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-doctor-clinics .clinic-icon{
    width: 54px;
    height: 54px;
    border-radius: 21px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-doctor-clinics .clinic-icon svg{
    width: 24px;
    height: 24px;
    fill: currentColor;
}

body.page-scope-med-doctor-clinics .clinic-card-head h3{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    line-height: 1.1;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-clinics .clinic-card-head p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-scope-med-doctor-clinics .clinic-manage-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-doctor-clinics .clinic-manage-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-doctor-clinics .clinic-manage-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-clinics .clinic-manage-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-doctor-clinics .clinic-manage-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-doctor-clinics .clinic-manage-actions form{
    margin: 0;
}

@media (max-width: 430px) {
    body.page-scope-med-doctor-clinics .doctor-clinics-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-doctor-clinics .doctor-info-mini-card{
        grid-template-columns: 64px 1fr;
    }

    body.page-scope-med-doctor-clinics .doctor-info-avatar{
        width: 64px;
        height: 64px;
        border-radius: 24px;
    }

    body.page-scope-med-doctor-clinics .clinic-manage-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor-clinics .clinic-card-head{
        grid-template-columns: 50px 1fr;
    }

    body.page-scope-med-doctor-clinics .clinic-icon{
        width: 50px;
        height: 50px;
        border-radius: 19px;
    }
}


/* =========================================================
   PAGE: med/doctor-dashboard.php
   Former inline <style> rules; isolated to .page-scope-med-doctor-dashboard
   ========================================================= */

body.page-scope-med-doctor-dashboard .doctor-dashboard-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-back{
    margin-bottom: 12px;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 18px;
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    align-items: center;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-avatar{
    width: 82px;
    height: 82px;
    border-radius: 30px;
    background: rgba(255,255,255,.18);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-avatar svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-card h1{
    margin: 4px 0 6px;
    color: #fff;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.06em;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-card p{
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-mini-tags{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-mini-tags span{
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    padding: 7px 9px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-doctor-dashboard .doctor-status-note{
    border-radius: 24px;
    padding: 14px;
    border: 1px solid rgba(226,232,240,.75);
}

body.page-scope-med-doctor-dashboard .doctor-status-note strong{
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-dashboard .doctor-status-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-doctor-dashboard .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-doctor-dashboard .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-doctor-dashboard .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-doctor-dashboard .doctor-dashboard-stats{
    grid-template-columns: repeat(4, 1fr);
}

body.page-scope-med-doctor-dashboard .paid-stat{
    background: linear-gradient(135deg, rgba(22,163,74,.10), #fff) !important;
}

body.page-scope-med-doctor-dashboard .pending-payment-stat{
    background: linear-gradient(135deg, rgba(245,158,11,.12), #fff) !important;
}

body.page-scope-med-doctor-dashboard .doctor-action-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-med-doctor-dashboard .doctor-action-card{
    min-height: 106px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    color: var(--text);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.page-scope-med-doctor-dashboard .doctor-action-card.main{
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.06)), #fff;
}

body.page-scope-med-doctor-dashboard .doctor-action-card svg{
    width: 25px;
    height: 25px;
    fill: #0ea5e9;
}

body.page-scope-med-doctor-dashboard .doctor-action-card span{
    font-size: 13px;
    line-height: 1.25;
    font-weight: 950;
}

body.page-scope-med-doctor-dashboard .doctor-latest-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-doctor-dashboard .doctor-latest-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-dashboard .doctor-latest-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-doctor-dashboard .doctor-latest-head span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-dashboard .doctor-latest-head h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-dashboard .doctor-latest-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-doctor-dashboard .doctor-latest-badges{
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

body.page-scope-med-doctor-dashboard .doctor-latest-badges em{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 950;
    font-style: normal;
    white-space: nowrap;
}

body.page-scope-med-doctor-dashboard .appointment-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-doctor-dashboard .appointment-confirmed{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-doctor-dashboard .appointment-completed{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-doctor-dashboard .appointment-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-doctor-dashboard .payment-paid{
    background: rgba(22,163,74,.14);
    color: #16a34a !important;
}

body.page-scope-med-doctor-dashboard .payment-pending{
    background: rgba(245,158,11,.14);
    color: #d97706 !important;
}

body.page-scope-med-doctor-dashboard .payment-unpaid{
    background: rgba(100,116,139,.12);
    color: #64748b !important;
}

body.page-scope-med-doctor-dashboard .payment-clinic{
    background: rgba(14,165,233,.12);
    color: #0284c7 !important;
}

body.page-scope-med-doctor-dashboard .doctor-latest-date{
    margin-top: 13px;
    border-radius: 24px;
    color: #fff;
    padding: 16px;
    box-shadow: 0 16px 38px rgba(14,165,233,.18);
}

body.page-scope-med-doctor-dashboard .doctor-latest-date.online{
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

body.page-scope-med-doctor-dashboard .doctor-latest-date.offline{
    background: linear-gradient(135deg, #16a34a, #0ea5e9);
}

body.page-scope-med-doctor-dashboard .doctor-latest-date strong{
    display: block;
    font-size: 24px;
    letter-spacing: -0.05em;
}

body.page-scope-med-doctor-dashboard .doctor-latest-date span{
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 900;
    opacity: .86;
}

body.page-scope-med-doctor-dashboard .doctor-latest-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-doctor-dashboard .doctor-latest-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-doctor-dashboard .doctor-latest-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-dashboard .doctor-latest-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-doctor-dashboard .doctor-clinic-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(34,197,94,.10);
    color: #15803d;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-doctor-dashboard .doctor-latest-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-doctor-dashboard .disabled-action{
    opacity: .72;
    cursor: not-allowed;
    pointer-events: none;
}

@media (min-width: 760px) {
    body.page-scope-med-doctor-dashboard .doctor-action-grid{
        grid-template-columns: repeat(3, 1fr);
    }

    body.page-scope-med-doctor-dashboard .doctor-latest-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-doctor-dashboard .doctor-dashboard-card{
        grid-template-columns: 70px 1fr;
        border-radius: 30px;
    }

    body.page-scope-med-doctor-dashboard .doctor-dashboard-avatar{
        width: 70px;
        height: 70px;
        border-radius: 25px;
    }

    body.page-scope-med-doctor-dashboard .doctor-dashboard-card h1{
        font-size: 23px;
    }

    body.page-scope-med-doctor-dashboard .doctor-dashboard-stats{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-med-doctor-dashboard .doctor-action-grid, body.page-scope-med-doctor-dashboard .doctor-latest-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor-dashboard .doctor-latest-head{
        display: block;
    }

    body.page-scope-med-doctor-dashboard .doctor-latest-badges{
        align-items: flex-start;
        margin-top: 10px;
    }

    body.page-scope-med-doctor-dashboard .doctor-latest-actions .btn, body.page-scope-med-doctor-dashboard .doctor-latest-actions .disabled-action{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/doctor-edit.php
   Former inline <style> rules; isolated to .page-scope-med-doctor-edit
   ========================================================= */

body.page-scope-med-doctor-edit .doctor-edit-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctor-edit .doctor-edit-back{
    margin-bottom: 12px;
}

body.page-scope-med-doctor-edit .doctor-edit-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-doctor-edit .doctor-edit-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-doctor-edit .doctor-edit-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-doctor-edit .doctor-edit-mini{
    margin-top: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.14);
    padding: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-doctor-edit .doctor-edit-mini > div{
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255,255,255,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-doctor-edit .doctor-edit-mini img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor-edit .doctor-edit-mini svg{
    width: 25px;
    height: 25px;
    fill: #fff;
}

body.page-scope-med-doctor-edit .doctor-edit-mini strong{
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-med-doctor-edit .doctor-edit-mini small{
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-med-doctor-edit .doctor-edit-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-doctor-edit .doctor-edit-form{
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-edit .doctor-form-section{
    border-radius: 26px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 14px;
    margin-bottom: 14px;
}

body.page-scope-med-doctor-edit .doctor-form-section h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.05em;
}

body.page-scope-med-doctor-edit .doctor-form-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-med-doctor-edit .doctor-edit-form .form-group{
    margin-bottom: 12px;
}

body.page-scope-med-doctor-edit .doctor-image-editor{
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-med-doctor-edit .doctor-current-image{
    width: 88px;
    height: 88px;
    border-radius: 28px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-doctor-edit .doctor-current-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor-edit .doctor-current-image svg{
    width: 42px;
    height: 42px;
    fill: currentColor;
}

body.page-scope-med-doctor-edit .doctor-image-editor span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

body.page-scope-med-doctor-edit .file-label{
    display: inline-flex;
    min-height: 44px;
    border-radius: 16px;
    background: #0f172a;
    color: #fff;
    padding: 0 14px;
    align-items: center;
    cursor: pointer;
}

body.page-scope-med-doctor-edit .file-label input{
    display: none;
}

body.page-scope-med-doctor-edit .file-label strong{
    color: #fff;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-doctor-edit .switch-row{
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
    cursor: pointer;
}

body.page-scope-med-doctor-edit .switch-row input{
    display: none;
}

body.page-scope-med-doctor-edit .switch-row span{
    width: 48px;
    height: 28px;
    border-radius: 999px;
    background: #cbd5e1;
    position: relative;
    transition: .2s ease;
}

body.page-scope-med-doctor-edit .switch-row span::after{
    content: "";
    position: absolute;
    width: 22px;
    height: 22px;
    left: 3px;
    top: 3px;
    border-radius: 999px;
    background: #fff;
    transition: .2s ease;
}

body.page-scope-med-doctor-edit .switch-row input:checked + span{
    background: #0ea5e9;
}

body.page-scope-med-doctor-edit .switch-row input:checked + span::after{
    transform: translateX(20px);
}

body.page-scope-med-doctor-edit .switch-row strong{
    color: var(--text);
    font-size: 13px;
    font-weight: 950;
}

body.page-scope-med-doctor-edit .admin-note{
    margin: -4px 0 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-doctor-edit .doctor-save-btn{
    margin-top: 4px;
}

@media (max-width: 430px) {
    body.page-scope-med-doctor-edit .doctor-edit-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-doctor-edit .doctor-edit-actions, body.page-scope-med-doctor-edit .doctor-form-grid, body.page-scope-med-doctor-edit .doctor-image-editor{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor-edit .doctor-current-image{
        width: 78px;
        height: 78px;
        border-radius: 26px;
    }
}


/* =========================================================
   PAGE: med/doctor-media.php
   Former inline <style> rules; isolated to .page-scope-med-doctor-media
   ========================================================= */

body.page-scope-med-doctor-media .doctor-media-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctor-media .doctor-media-back{
    margin-bottom: 12px;
}

body.page-scope-med-doctor-media .doctor-media-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-doctor-media .doctor-media-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-doctor-media .doctor-media-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-doctor-media .doctor-media-mini{
    margin-top: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.14);
    padding: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-doctor-media .doctor-media-mini > div{
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255,255,255,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-doctor-media .doctor-media-mini img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor-media .doctor-media-mini svg{
    width: 25px;
    height: 25px;
    fill: #fff;
}

body.page-scope-med-doctor-media .doctor-media-mini strong{
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-med-doctor-media .doctor-media-mini small{
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-med-doctor-media .doctor-media-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-doctor-media .doctor-media-upload-card{
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-media .doctor-media-upload-card h2{
    margin: 0 0 14px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.05em;
}

body.page-scope-med-doctor-media .doctor-media-type-tabs{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 14px;
}

body.page-scope-med-doctor-media .doctor-media-type-tabs label{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 13px;
    cursor: pointer;
    display: grid;
    gap: 8px;
}

body.page-scope-med-doctor-media .doctor-media-type-tabs label.active{
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.05)), #fff;
    border-color: rgba(14,165,233,.55);
    box-shadow: 0 14px 34px rgba(14,165,233,.12);
}

body.page-scope-med-doctor-media .doctor-media-type-tabs input{
    display: none;
}

body.page-scope-med-doctor-media .doctor-media-type-tabs span{
    width: 44px;
    height: 44px;
    border-radius: 17px;
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-doctor-media .doctor-media-type-tabs label:nth-child(2) span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-doctor-media .doctor-media-type-tabs svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-med-doctor-media .doctor-media-type-tabs strong{
    display: block;
    color: var(--text);
    font-size: 14px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

body.page-scope-med-doctor-media .media-file-label{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px dashed rgba(14,165,233,.55);
    min-height: 90px;
    padding: 14px;
    cursor: pointer;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-doctor-media .media-file-label input{
    display: none;
}

body.page-scope-med-doctor-media .media-file-label span{
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-doctor-media .media-file-label svg{
    width: 24px;
    height: 24px;
    fill: currentColor;
}

body.page-scope-med-doctor-media .media-file-label strong{
    color: var(--text);
    font-size: 13px;
    font-weight: 950;
    word-break: break-all;
}

body.page-scope-med-doctor-media .doctor-media-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-doctor-media .doctor-media-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-med-doctor-media .doctor-media-preview{
    height: 230px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.20), transparent 42%),
        linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.08));
}

body.page-scope-med-doctor-media .doctor-media-preview img, body.page-scope-med-doctor-media .doctor-media-preview video{
    width: 100%;
    height: 100%;
    display: block;
}

body.page-scope-med-doctor-media .doctor-media-preview img{
    object-fit: cover;
}

body.page-scope-med-doctor-media .doctor-media-preview video{
    object-fit: contain;
    background: #0f172a;
}

body.page-scope-med-doctor-media .doctor-media-body{
    padding: 14px;
}

body.page-scope-med-doctor-media .media-kind{
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-doctor-media .media-kind.photo{
    background: rgba(14,165,233,.12);
    color: #0284c7;
}

body.page-scope-med-doctor-media .media-kind.video{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-doctor-media .doctor-media-body h3{
    margin: 10px 0 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-media .doctor-media-body p{
    margin: 6px 0 13px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

@media (min-width: 760px) {
    body.page-scope-med-doctor-media .doctor-media-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-doctor-media .doctor-media-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-doctor-media .doctor-media-actions, body.page-scope-med-doctor-media .doctor-media-type-tabs{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor-media .doctor-media-preview{
        height: 210px;
    }
}


/* =========================================================
   PAGE: med/doctor-prescriptions.php
   Former inline <style> rules; isolated to .page-scope-med-doctor-prescriptions
   ========================================================= */

body.page-scope-med-doctor-prescriptions .doctor-prescriptions-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-back{
    margin-bottom: 12px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-doctor-prescriptions .doc-pres-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-doctor-prescriptions .doc-pres-hero-card .hero-actions{
    margin-top: 16px;
}

body.page-scope-med-doctor-prescriptions .doctor-mini-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-doctor-prescriptions .doctor-mini-avatar{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-doctor-prescriptions .doctor-mini-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor-prescriptions .doctor-mini-avatar svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-doctor-prescriptions .doctor-mini-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-doctor-prescriptions .doctor-mini-card strong{
    display: block;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-prescriptions .doctor-mini-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-doctor-prescriptions .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-doctor-prescriptions .doc-pres-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-doctor-prescriptions .doc-pres-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-doctor-prescriptions .doc-pres-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-doctor-prescriptions .doc-pres-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-doctor-prescriptions .doc-pres-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-med-doctor-prescriptions .doc-pres-tabs input{
    display: none;
}

body.page-scope-med-doctor-prescriptions .doc-pres-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-head span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-head h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-prescriptions .doc-pres-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-doctor-prescriptions .pres-status{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-doctor-prescriptions .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-doctor-prescriptions .status-completed{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-doctor-prescriptions .status-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-doctor-prescriptions .doc-pres-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-info-grid span, body.page-scope-med-doctor-prescriptions .pres-medicine-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-info-grid strong, body.page-scope-med-doctor-prescriptions .pres-medicine-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-doctor-prescriptions .doc-pres-note{
    margin-top: 12px;
    border-radius: 20px;
    background: rgba(14,165,233,.08);
    padding: 13px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-note.diagnosis{
    background: rgba(245,158,11,.12);
}

body.page-scope-med-doctor-prescriptions .doc-pres-note strong{
    display: block;
    color: #075985;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-note.diagnosis strong{
    color: #92400e;
}

body.page-scope-med-doctor-prescriptions .doc-pres-note p{
    margin: 0;
    color: #075985;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-doctor-prescriptions .doc-pres-note.diagnosis p{
    color: #92400e;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-section{
    margin-top: 14px;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-section h3{
    margin: 0 0 10px;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor-prescriptions .no-items-note{
    border-radius: 18px;
    background: rgba(100,116,139,.10);
    color: #64748b;
    padding: 12px;
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-list{
    display: grid;
    gap: 10px;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-card{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-title{
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

body.page-scope-med-doctor-prescriptions .medicine-icon{
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-doctor-prescriptions .medicine-icon svg{
    width: 23px;
    height: 23px;
    fill: currentColor;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-title strong{
    display: block;
    color: var(--text);
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-doctor-prescriptions .pres-medicine-grid div{
    border-radius: 16px;
    background: #fff;
    padding: 10px;
}

body.page-scope-med-doctor-prescriptions .doc-pres-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 430px) {
    body.page-scope-med-doctor-prescriptions .doc-pres-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-doctor-prescriptions .doctor-mini-card{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-med-doctor-prescriptions .doctor-mini-avatar{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }

    body.page-scope-med-doctor-prescriptions .doc-pres-filter-actions, body.page-scope-med-doctor-prescriptions .doc-pres-info-grid, body.page-scope-med-doctor-prescriptions .pres-medicine-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor-prescriptions .doc-pres-head{
        display: block;
    }

    body.page-scope-med-doctor-prescriptions .pres-status{
        display: inline-flex;
        margin-top: 10px;
    }
}


/* =========================================================
   PAGE: med/doctor.php
   Former inline <style> rules; isolated to .page-scope-med-doctor
   ========================================================= */

body.page-scope-med-doctor .med-doctor-detail-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctor .doctor-profile-hero{
    margin-bottom: 16px;
}

body.page-scope-med-doctor .doctor-back-link{
    margin-bottom: 12px;
}

body.page-scope-med-doctor .doctor-hero-card{
    position: relative;
    min-height: 285px;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.22), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    box-shadow: 0 24px 60px rgba(37,99,235,.25);
}

body.page-scope-med-doctor .doctor-hero-bg{
    position: absolute;
    width: 190px;
    height: 190px;
    border-radius: 999px;
    right: -80px;
    bottom: -80px;
    background: rgba(255,255,255,.12);
}

body.page-scope-med-doctor .doctor-hero-content{
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

body.page-scope-med-doctor .doctor-profile-photo{
    position: relative;
    width: 106px;
    height: 106px;
    border-radius: 34px;
    background: rgba(255,255,255,.18);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,.22);
    box-shadow: 0 18px 44px rgba(15,23,42,.20);
    margin-bottom: 14px;
}

body.page-scope-med-doctor .doctor-profile-photo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor .doctor-profile-photo svg{
    width: 52px;
    height: 52px;
    fill: currentColor;
}

body.page-scope-med-doctor .doctor-online-dot{
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 99px;
    background: #22c55e;
    border: 3px solid #fff;
    right: 10px;
    bottom: 10px;
}

body.page-scope-med-doctor .doctor-badges{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 8px;
}

body.page-scope-med-doctor .package-badge{
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

body.page-scope-med-doctor .package-simple{
    background: rgba(255,255,255,.18);
    color: #fff;
}

body.page-scope-med-doctor .package-gold{
    background: rgba(245,158,11,.92);
    color: #fff;
}

body.page-scope-med-doctor .package-premium{
    background: rgba(168,85,247,.92);
    color: #fff;
}

body.page-scope-med-doctor .doctor-main-info h1{
    margin: 0;
    color: #fff;
    font-size: 31px;
    line-height: .98;
    letter-spacing: -0.07em;
}

body.page-scope-med-doctor .doctor-main-info p{
    margin: 7px 0 0;
    color: rgba(255,255,255,.84);
    font-size: 14px;
    font-weight: 850;
}

body.page-scope-med-doctor .doctor-mini-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
}

body.page-scope-med-doctor .doctor-mini-tags span{
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    padding: 0 10px;
    font-size: 11px;
    font-weight: 950;
    backdrop-filter: blur(12px);
}

body.page-scope-med-doctor .doctor-glance-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

body.page-scope-med-doctor .doctor-glance-card{
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
    padding: 14px;
    min-height: 78px;
}

body.page-scope-med-doctor .doctor-glance-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor .doctor-glance-card strong{
    display: block;
    font-size: 15px;
    line-height: 1.25;
    color: var(--text);
}

body.page-scope-med-doctor .doctor-action-stack{
    display: grid;
    gap: 12px;
}

body.page-scope-med-doctor .doctor-action-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
    padding: 14px;
    display: grid;
    grid-template-columns: 54px 1fr 34px;
    gap: 12px;
    align-items: center;
    color: var(--text);
}

body.page-scope-med-doctor .doctor-action-card.online{
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.06)), #fff;
}

body.page-scope-med-doctor .doctor-action-card.offline{
    background: linear-gradient(135deg, rgba(34,197,94,.10), rgba(14,165,233,.05)), #fff;
}

body.page-scope-med-doctor .doctor-action-card > span{
    width: 54px;
    height: 54px;
    border-radius: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-doctor .doctor-action-card.online > span{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-med-doctor .doctor-action-card.offline > span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-doctor .doctor-action-card svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-med-doctor .doctor-action-card strong{
    display: block;
    font-size: 16px;
    color: var(--text);
    letter-spacing: -0.03em;
}

body.page-scope-med-doctor .doctor-action-card small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 800;
}

body.page-scope-med-doctor .doctor-action-card b{
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: rgba(15,23,42,.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

body.page-scope-med-doctor .doctor-owner-card{
    border-radius: 30px;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 18px 46px rgba(15,23,42,.20);
    padding: 16px;
}

body.page-scope-med-doctor .doctor-owner-card h2{
    margin: 0;
    color: #fff;
    font-size: 20px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor .doctor-owner-card p{
    margin: 6px 0 14px;
    color: rgba(255,255,255,.70);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.4;
}

body.page-scope-med-doctor .doctor-owner-actions{
    display: grid;
    gap: 9px;
}

body.page-scope-med-doctor .doctor-owner-actions a{
    min-height: 50px;
    border-radius: 18px;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
}

body.page-scope-med-doctor .doctor-owner-actions svg{
    width: 20px;
    height: 20px;
    fill: currentColor;
}

body.page-scope-med-doctor .doctor-owner-actions span{
    font-size: 13px;
    font-weight: 950;
}

body.page-scope-med-doctor .doctor-long-text{
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
    font-weight: 750;
    white-space: pre-line;
}

body.page-scope-med-doctor .doctor-info-list{
    display: grid;
    gap: 9px;
    margin-top: 14px;
}

body.page-scope-med-doctor .doctor-info-list div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-doctor .doctor-info-list span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor .doctor-info-list strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-doctor .doctor-clinic-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-doctor .doctor-clinic-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 16px;
}

body.page-scope-med-doctor .doctor-clinic-head{
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-doctor .doctor-clinic-head > span{
    width: 50px;
    height: 50px;
    border-radius: 19px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-doctor .doctor-clinic-head svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-med-doctor .doctor-clinic-head h3{
    margin: 0;
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctor .doctor-clinic-head p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-scope-med-doctor .doctor-clinic-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-doctor .doctor-clinic-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-doctor .doctor-clinic-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctor .doctor-clinic-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-doctor .doctor-clinic-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-doctor .doctor-media-block{
    margin-bottom: 16px;
}

body.page-scope-med-doctor .doctor-media-block h3{
    margin: 0 0 10px;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-med-doctor .doctor-photo-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-med-doctor .doctor-photo-card{
    border-radius: 22px;
    overflow: hidden;
    height: 150px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.85);
}

body.page-scope-med-doctor .doctor-photo-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctor .doctor-video-list{
    display: grid;
    gap: 12px;
}

body.page-scope-med-doctor .doctor-video-card{
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
}

body.page-scope-med-doctor .doctor-video-card video{
    display: block;
    width: 100%;
    max-height: 260px;
    background: #0f172a;
}

body.page-scope-med-doctor .doctor-video-card strong{
    display: block;
    padding: 12px;
    color: var(--text);
    font-size: 13px;
}

body.page-scope-med-doctor .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-doctor .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-doctor .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

@media (max-width: 430px) {
    body.page-scope-med-doctor .doctor-hero-card{
        min-height: 270px;
        border-radius: 32px;
    }

    body.page-scope-med-doctor .doctor-profile-photo{
        width: 96px;
        height: 96px;
        border-radius: 31px;
    }

    body.page-scope-med-doctor .doctor-main-info h1{
        font-size: 28px;
    }

    body.page-scope-med-doctor .doctor-glance-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor .doctor-clinic-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor .doctor-photo-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctor .doctor-action-card{
        grid-template-columns: 50px 1fr 30px;
        border-radius: 24px;
    }

    body.page-scope-med-doctor .doctor-action-card > span{
        width: 50px;
        height: 50px;
        border-radius: 19px;
    }
}


/* =========================================================
   PAGE: med/doctors.php
   Former inline <style> rules; isolated to .page-scope-med-doctors
   ========================================================= */

body.page-scope-med-doctors .med-doctors-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-doctors .med-list-hero{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
    margin-bottom: 14px;
}

body.page-scope-med-doctors .med-list-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    letter-spacing: -0.07em;
    line-height: 1;
}

body.page-scope-med-doctors .med-list-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-doctors .med-list-hero .hero-actions{
    margin-top: 16px;
}

body.page-scope-med-doctors .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-doctors .med-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-doctors .med-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-doctors .med-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-doctors .med-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-doctors .med-filter-grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 10px 0;
}

body.page-scope-med-doctors .med-filter-grid select{
    min-height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    background: #fff;
    padding: 0 12px;
    color: var(--text);
    font-size: 13px;
    font-weight: 850;
    outline: 0;
}

body.page-scope-med-doctors .med-type-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 12px;
}

body.page-scope-med-doctors .med-type-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-doctors .med-type-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-med-doctors .med-type-tabs input{
    display: none;
}

body.page-scope-med-doctors .med-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-doctors .med-doctor-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-doctors .med-doctor-list-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    color: var(--text);
}

body.page-scope-med-doctors .doctor-card-main{
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 13px;
    align-items: center;
}

body.page-scope-med-doctors .doctor-avatar{
    position: relative;
    width: 82px;
    height: 82px;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.18), transparent 48%),
        #f8fafc;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-doctors .doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-doctors .doctor-avatar svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-med-doctors .online-dot{
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 99px;
    background: #22c55e;
    border: 3px solid #fff;
    right: 7px;
    bottom: 7px;
}

body.page-scope-med-doctors .doctor-info{
    min-width: 0;
}

body.page-scope-med-doctors .doctor-top-line{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

body.page-scope-med-doctors .doctor-top-line h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

body.page-scope-med-doctors .package-badge{
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 5px 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

body.page-scope-med-doctors .package-simple{
    background: rgba(100,116,139,.12);
    color: #64748b;
}

body.page-scope-med-doctors .package-gold{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-doctors .package-premium{
    background: rgba(168,85,247,.14);
    color: #7e22ce;
}

body.page-scope-med-doctors .doctor-info p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-doctors .doctor-mini-tags{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 9px;
}

body.page-scope-med-doctors .doctor-mini-tags span{
    border-radius: 999px;
    background: rgba(14,165,233,.09);
    color: #0284c7;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-doctors .doctor-price-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-doctors .doctor-price-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-doctors .doctor-price-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-doctors .doctor-price-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-doctors .doctor-card-footer{
    margin-top: 13px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    min-height: 48px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.page-scope-med-doctors .doctor-card-footer span{
    font-size: 13px;
    font-weight: 950;
}

body.page-scope-med-doctors .doctor-card-footer svg{
    width: 19px;
    height: 19px;
    fill: currentColor;
}

body.page-scope-med-doctors .empty-state p{
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 430px) {
    body.page-scope-med-doctors .med-list-hero{
        border-radius: 30px;
    }

    body.page-scope-med-doctors .med-filter-grid, body.page-scope-med-doctors .med-filter-actions{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-doctors .doctor-card-main{
        grid-template-columns: 72px 1fr;
    }

    body.page-scope-med-doctors .doctor-avatar{
        width: 72px;
        height: 72px;
        border-radius: 25px;
    }

    body.page-scope-med-doctors .doctor-price-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: med/fix-system-columns.php
   Former inline <style> rules; isolated to .page-scope-med-fix-system-columns
   ========================================================= */

body.page-scope-med-fix-system-columns .fix-system-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-fix-system-columns .fix-back{
    margin-bottom: 12px;
}

body.page-scope-med-fix-system-columns .fix-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-fix-system-columns .fix-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-fix-system-columns .fix-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-fix-system-columns .fix-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-fix-system-columns .fix-log-list{
    display: grid;
    gap: 10px;
}

body.page-scope-med-fix-system-columns .fix-log-item{
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 13px;
}

body.page-scope-med-fix-system-columns .fix-log-item strong{
    display: inline-flex;
    border-radius: 999px;
    padding: 6px 9px;
    font-size: 10px;
    font-weight: 950;
    margin-bottom: 8px;
}

body.page-scope-med-fix-system-columns .fix-log-item span{
    display: block;
    color: var(--text);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
    word-break: break-word;
}

body.page-scope-med-fix-system-columns .fix-log-item.ok strong{
    background: rgba(14,165,233,.12);
    color: #0284c7;
}

body.page-scope-med-fix-system-columns .fix-log-item.fixed strong{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-fix-system-columns .fix-log-item.error strong{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

@media (max-width: 430px) {
    body.page-scope-med-fix-system-columns .fix-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-fix-system-columns .fix-actions{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: med/index.php
   Former inline <style> rules; isolated to .page-scope-med-index
   ========================================================= */

body.page-scope-med-index .med-home-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-index .med-home-hero{
    border-radius: 36px;
    background:
        radial-gradient(circle at top right, rgba(14, 165, 233, .34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34, 197, 94, .22), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 24px 60px rgba(37, 99, 235, .25);
    padding: 20px;
    overflow: hidden;
    position: relative;
}

body.page-scope-med-index .med-home-hero::after{
    content: "";
    position: absolute;
    width: 175px;
    height: 175px;
    border-radius: 999px;
    right: -72px;
    bottom: -82px;
    background: rgba(255,255,255,.12);
}

body.page-scope-med-index .med-home-hero-top{
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 64px;
    gap: 14px;
    align-items: start;
}

body.page-scope-med-index .med-home-hero h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 38px;
    line-height: .95;
    letter-spacing: -0.08em;
}

body.page-scope-med-index .med-home-hero p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-index .med-home-avatar{
    width: 64px;
    height: 64px;
    border-radius: 24px;
    background: rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-index .med-home-avatar svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-index .med-home-user{
    position: relative;
    z-index: 2;
    margin-top: 18px;
    border-radius: 22px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(14px);
    padding: 12px 14px;
}

body.page-scope-med-index .med-home-user span{
    display: block;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-med-index .med-home-user strong{
    display: block;
    color: #fff;
    font-size: 16px;
    letter-spacing: -0.03em;
}

body.page-scope-med-index .med-home-search{
    position: relative;
    z-index: 2;
    margin-top: 14px;
    border-radius: 24px;
    background: #fff;
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .14);
}

body.page-scope-med-index .med-home-search div{
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    min-height: 46px;
}

body.page-scope-med-index .med-home-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    margin-left: 10px;
}

body.page-scope-med-index .med-home-search input{
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
    min-width: 0;
}

body.page-scope-med-index .med-home-search button{
    border: 0;
    border-radius: 18px;
    background: #0f172a;
    color: #fff;
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-med-index .med-home-stats{
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 9px;
}

body.page-scope-med-index .med-home-stats div{
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    padding: 12px 8px;
    text-align: center;
}

body.page-scope-med-index .med-home-stats strong{
    display: block;
    color: var(--text);
    font-size: 20px;
    line-height: 1;
    letter-spacing: -0.05em;
}

body.page-scope-med-index .med-home-stats span{
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    line-height: 1.2;
}

body.page-scope-med-index .med-quick-actions{
    display: grid;
    gap: 12px;
}

body.page-scope-med-index .med-quick-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
    padding: 14px;
    display: grid;
    grid-template-columns: 54px 1fr 34px;
    gap: 12px;
    align-items: center;
    color: var(--text);
}

body.page-scope-med-index .med-quick-card.main{
    background: linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.06)), #fff;
}

body.page-scope-med-index .med-quick-card.pharmacy, body.page-scope-med-index .med-quick-card.pharmacy-panel{
    background: linear-gradient(135deg, rgba(34,197,94,.12), rgba(14,165,233,.05)), #fff;
}

body.page-scope-med-index .med-quick-card.prescription{
    background: linear-gradient(135deg, rgba(245,158,11,.13), rgba(14,165,233,.05)), #fff;
}

body.page-scope-med-index .med-quick-card.doctor-panel{
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(14,165,233,.05)), #fff;
}

body.page-scope-med-index .med-quick-card.admin-panel{
    background: linear-gradient(135deg, rgba(15,23,42,.10), rgba(245,158,11,.08)), #fff;
}

body.page-scope-med-index .med-quick-card > span{
    width: 54px;
    height: 54px;
    border-radius: 21px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-index .med-quick-card.pharmacy > span, body.page-scope-med-index .med-quick-card.pharmacy-panel > span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-index .med-quick-card.prescription > span{
    background: rgba(245,158,11,.14);
    color: #f59e0b;
}

body.page-scope-med-index .med-quick-card.admin-panel > span{
    background: rgba(15,23,42,.08);
    color: #0f172a;
}

body.page-scope-med-index .med-quick-card svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-med-index .med-quick-card strong{
    display: block;
    font-size: 16px;
    letter-spacing: -0.03em;
    color: var(--text);
}

body.page-scope-med-index .med-quick-card small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.35;
}

body.page-scope-med-index .med-quick-card b{
    width: 34px;
    height: 34px;
    border-radius: 14px;
    background: rgba(15,23,42,.05);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-index .section-subtitle{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-med-index .section-link{
    font-size: 12px;
    font-weight: 950;
    color: #0ea5e9;
}

body.page-scope-med-index .med-doctor-scroll{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 248px;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

body.page-scope-med-index .med-doctor-card{
    scroll-snap-align: start;
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.08);
    overflow: hidden;
    color: var(--text);
}

body.page-scope-med-index .med-doctor-image{
    position: relative;
    height: 176px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.24), transparent 42%),
        linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.08));
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-index .med-doctor-image > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-index .med-doctor-image > svg{
    width: 70px;
    height: 70px;
    fill: currentColor;
}

body.page-scope-med-index .med-doctor-image span{
    position: absolute;
    left: 12px;
    bottom: 12px;
    border-radius: 999px;
    background: rgba(22,163,74,.95);
    color: #fff;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
}

body.page-scope-med-index .med-doctor-body{
    padding: 13px;
}

body.page-scope-med-index .med-doctor-body h3{
    margin: 0;
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-index .med-doctor-body p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-med-index .med-doctor-meta{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 11px;
}

body.page-scope-med-index .med-doctor-meta div{
    border-radius: 14px;
    background: #f8fafc;
    padding: 9px;
}

body.page-scope-med-index .med-doctor-meta span{
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-med-index .med-doctor-meta strong{
    display: block;
    color: var(--text);
    font-size: 12px;
}

body.page-scope-med-index .med-doctor-open{
    margin-top: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.page-scope-med-index .med-doctor-open span{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-index .med-doctor-open svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
}

body.page-scope-med-index .med-feature-stack{
    display: grid;
    gap: 12px;
}

body.page-scope-med-index .med-feature-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.07);
    padding: 16px;
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 13px;
    align-items: start;
}

body.page-scope-med-index .med-feature-card > span{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-index .med-feature-card svg{
    width: 25px;
    height: 25px;
    fill: currentColor;
}

body.page-scope-med-index .med-feature-card.online > span{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-med-index .med-feature-card.offline > span{
    background: rgba(22,163,74,.12);
    color: #16a34a;
}

body.page-scope-med-index .med-feature-card.prescription > span{
    background: rgba(245,158,11,.14);
    color: #f59e0b;
}

body.page-scope-med-index .med-feature-card.pharmacy > span{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-index .med-feature-card strong{
    display: block;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-index .med-feature-card p{
    margin: 6px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-index .med-clinic-list, body.page-scope-med-index .med-pharmacy-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-index .med-clinic-card, body.page-scope-med-index .med-pharmacy-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 12px 34px rgba(15,23,42,.08);
    overflow: hidden;
    color: var(--text);
}

body.page-scope-med-index .med-clinic-cover, body.page-scope-med-index .med-pharmacy-cover{
    position: relative;
    height: 170px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.24), transparent 42%),
        linear-gradient(135deg, rgba(14,165,233,.12), rgba(37,99,235,.08));
}

body.page-scope-med-index .med-pharmacy-cover{
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.24), transparent 42%),
        linear-gradient(135deg, rgba(34,197,94,.14), rgba(14,165,233,.10));
}

body.page-scope-med-index .med-clinic-cover > img, body.page-scope-med-index .med-pharmacy-cover > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-index .med-clinic-placeholder, body.page-scope-med-index .med-pharmacy-placeholder{
    width: 100%;
    height: 100%;
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-index .med-pharmacy-placeholder{
    color: #16a34a;
}

body.page-scope-med-index .med-clinic-placeholder svg, body.page-scope-med-index .med-pharmacy-placeholder svg{
    width: 62px;
    height: 62px;
    fill: currentColor;
}

body.page-scope-med-index .med-clinic-gradient, body.page-scope-med-index .med-pharmacy-gradient{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.70), transparent);
}

body.page-scope-med-index .med-clinic-logo, body.page-scope-med-index .med-pharmacy-logo{
    position: absolute;
    left: 12px;
    bottom: 12px;
    width: 54px;
    height: 54px;
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    color: #0ea5e9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-index .med-pharmacy-logo{
    color: #16a34a;
}

body.page-scope-med-index .med-clinic-logo img, body.page-scope-med-index .med-pharmacy-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-index .med-clinic-logo svg, body.page-scope-med-index .med-pharmacy-logo svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-index .med-clinic-body, body.page-scope-med-index .med-pharmacy-body{
    padding: 14px;
}

body.page-scope-med-index .med-clinic-body h3, body.page-scope-med-index .med-pharmacy-body h3{
    margin: 0;
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-index .med-clinic-body p, body.page-scope-med-index .med-pharmacy-body p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

body.page-scope-med-index .med-pharmacy-meta{
    margin-top: 11px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px;
}

body.page-scope-med-index .med-pharmacy-meta div{
    border-radius: 14px;
    background: #f8fafc;
    padding: 9px;
}

body.page-scope-med-index .med-pharmacy-meta span{
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 3px;
}

body.page-scope-med-index .med-pharmacy-meta strong{
    display: block;
    color: var(--text);
    font-size: 12px;
}

body.page-scope-med-index .med-clinic-open, body.page-scope-med-index .med-pharmacy-open{
    margin-top: 12px;
    border-radius: 18px;
    background: #f8fafc;
    color: var(--text);
    min-height: 42px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.page-scope-med-index .med-pharmacy-open{
    background: linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
}

body.page-scope-med-index .med-clinic-open span, body.page-scope-med-index .med-pharmacy-open span{
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-index .med-clinic-open svg, body.page-scope-med-index .med-pharmacy-open svg{
    width: 18px;
    height: 18px;
    fill: currentColor;
}

body.page-scope-med-index .med-join-card{
    border-radius: 34px;
    background: #0f172a;
    color: #fff;
    padding: 18px;
    box-shadow: 0 18px 46px rgba(15,23,42,.20);
}

body.page-scope-med-index .med-join-card h2{
    margin: 0;
    color: #fff;
    font-size: 23px;
    letter-spacing: -0.05em;
}

body.page-scope-med-index .med-join-card p{
    margin: 8px 0 16px;
    color: rgba(255,255,255,.72);
    font-size: 12.5px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-index .med-join-actions{
    display: grid;
    gap: 10px;
}

body.page-scope-med-index .med-join-actions a{
    min-height: 54px;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 13px;
}

body.page-scope-med-index .med-join-actions svg{
    width: 21px;
    height: 21px;
    fill: currentColor;
}

body.page-scope-med-index .med-join-actions span{
    font-size: 13px;
    font-weight: 950;
}

@media (min-width: 760px) {
    body.page-scope-med-index .med-quick-actions{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-med-index .med-feature-stack{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-med-index .med-clinic-list, body.page-scope-med-index .med-pharmacy-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-index .med-home-hero{
        border-radius: 32px;
        padding: 18px;
    }

    body.page-scope-med-index .med-home-hero h1{
        font-size: 34px;
    }

    body.page-scope-med-index .med-home-search{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-index .med-home-search button{
        width: 100%;
    }

    body.page-scope-med-index .med-home-stats{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-med-index .med-doctor-scroll{
        grid-auto-columns: 236px;
    }

    body.page-scope-med-index .med-quick-card{
        grid-template-columns: 50px 1fr 32px;
        border-radius: 25px;
    }

    body.page-scope-med-index .med-quick-card > span{
        width: 50px;
        height: 50px;
        border-radius: 19px;
    }

    body.page-scope-med-index .med-join-card{
        border-radius: 30px;
    }
}


/* =========================================================
   PAGE: med/medicine-add.php
   Former inline <style> rules; isolated to .page-scope-med-medicine-add
   ========================================================= */

body.page-scope-med-medicine-add .medicine-add-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-medicine-add .medicine-add-back{
    margin-bottom: 12px;
}

body.page-scope-med-medicine-add .medicine-add-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(22,163,74,.20);
    padding: 20px;
}

body.page-scope-med-medicine-add .medicine-add-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-medicine-add .medicine-add-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-medicine-add .medicine-pharmacy-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-medicine-add .medicine-pharmacy-logo{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-medicine-add .medicine-pharmacy-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-medicine-add .medicine-pharmacy-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-medicine-add .medicine-pharmacy-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-medicine-add .medicine-pharmacy-card strong{
    display: block;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-medicine-add .medicine-pharmacy-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-medicine-add .medicine-status-note{
    border-radius: 24px;
    padding: 14px;
    border: 1px solid rgba(226,232,240,.75);
}

body.page-scope-med-medicine-add .medicine-status-note strong{
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

body.page-scope-med-medicine-add .medicine-status-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-medicine-add .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-medicine-add .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-medicine-add .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-medicine-add .medicine-price-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

body.page-scope-med-medicine-add .current-medicine-image{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
    margin-bottom: 14px;
}

body.page-scope-med-medicine-add .current-medicine-image span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 10px;
}

body.page-scope-med-medicine-add .current-medicine-image img{
    width: 128px;
    height: 128px;
    border-radius: 34px;
    object-fit: cover;
    display: block;
}

body.page-scope-med-medicine-add .medicine-submit-btn, body.page-scope-med-medicine-add .medicine-list-btn{
    min-height: 54px;
}

body.page-scope-med-medicine-add .medicine-list-btn{
    margin-top: 10px;
}

@media (max-width: 430px) {
    body.page-scope-med-medicine-add .medicine-add-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-medicine-add .medicine-pharmacy-card{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-med-medicine-add .medicine-pharmacy-logo{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }

    body.page-scope-med-medicine-add .medicine-price-grid{
        grid-template-columns: 1fr;
    }
}


/* =========================================================
   PAGE: med/medicine.php
   Former inline <style> rules; isolated to .page-scope-med-medicine
   ========================================================= */

body.page-scope-med-medicine .medicine-public-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-medicine .medicine-detail-back{
    margin-bottom: 12px;
}

body.page-scope-med-medicine .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-medicine .medicine-detail-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(22,163,74,.20);
    padding: 18px;
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 14px;
    align-items: center;
}

body.page-scope-med-medicine .medicine-detail-image{
    width: 104px;
    height: 104px;
    border-radius: 32px;
    background: rgba(255,255,255,.18);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-medicine .medicine-detail-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-medicine .medicine-detail-image svg{
    width: 48px;
    height: 48px;
    fill: currentColor;
}

body.page-scope-med-medicine .medicine-detail-card h1{
    margin: 4px 0 6px;
    color: #fff;
    font-size: 29px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-medicine .medicine-detail-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-med-medicine .medicine-detail-tags{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

body.page-scope-med-medicine .medicine-detail-tags span{
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    padding: 7px 9px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-medicine .status-active{
    background: rgba(22,163,74,.18) !important;
    color: #fff !important;
}

body.page-scope-med-medicine .status-pending{
    background: rgba(245,158,11,.22) !important;
    color: #fff !important;
}

body.page-scope-med-medicine .status-blocked{
    background: rgba(239,68,68,.22) !important;
    color: #fff !important;
}

body.page-scope-med-medicine .medicine-owner-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-medicine .medicine-description-card, body.page-scope-med-medicine .medicine-pharmacy-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-med-medicine .medicine-description-card{
    padding: 14px;
}

body.page-scope-med-medicine .medicine-description-card h2{
    margin: 0 0 8px;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-med-medicine .medicine-description-card > p{
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
}

body.page-scope-med-medicine .medicine-meta-grid, body.page-scope-med-medicine .medicine-pharmacy-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-medicine .medicine-meta-grid div, body.page-scope-med-medicine .medicine-pharmacy-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-medicine .medicine-meta-grid span, body.page-scope-med-medicine .medicine-pharmacy-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-medicine .medicine-meta-grid strong, body.page-scope-med-medicine .medicine-pharmacy-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-medicine .medicine-contact-note{
    border-radius: 24px;
    background: rgba(34,197,94,.10);
    border: 1px solid rgba(34,197,94,.18);
    color: #15803d;
    padding: 13px;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 10px;
    align-items: center;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-medicine .medicine-contact-note svg{
    width: 22px;
    height: 22px;
    fill: currentColor;
}

body.page-scope-med-medicine .medicine-pharmacy-cover{
    position: relative;
    height: 185px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.24), transparent 42%),
        linear-gradient(135deg, rgba(34,197,94,.14), rgba(14,165,233,.10));
}

body.page-scope-med-medicine .medicine-pharmacy-cover > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-medicine .medicine-pharmacy-placeholder{
    width: 100%;
    height: 100%;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-medicine .medicine-pharmacy-placeholder svg{
    width: 64px;
    height: 64px;
    fill: currentColor;
}

body.page-scope-med-medicine .medicine-pharmacy-gradient{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.68), transparent);
}

body.page-scope-med-medicine .medicine-pharmacy-logo{
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: rgba(255,255,255,.95);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-medicine .medicine-pharmacy-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-medicine .medicine-pharmacy-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-medicine .medicine-pharmacy-body{
    padding: 14px;
}

body.page-scope-med-medicine .medicine-pharmacy-body > span{
    display: inline-flex;
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    color: #15803d;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-medicine .medicine-pharmacy-body h2{
    margin: 10px 0 0;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-med-medicine .medicine-pharmacy-body p{
    margin: 7px 0 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-medicine .medicine-pharmacy-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 430px) {
    body.page-scope-med-medicine .medicine-detail-card{
        grid-template-columns: 82px 1fr;
        border-radius: 30px;
    }

    body.page-scope-med-medicine .medicine-detail-image{
        width: 82px;
        height: 82px;
        border-radius: 27px;
    }

    body.page-scope-med-medicine .medicine-detail-card h1{
        font-size: 24px;
    }

    body.page-scope-med-medicine .medicine-meta-grid, body.page-scope-med-medicine .medicine-pharmacy-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-medicine .medicine-owner-actions .btn, body.page-scope-med-medicine .medicine-pharmacy-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/my-appointments.php
   Former inline <style> rules; isolated to .page-scope-med-my-appointments
   ========================================================= */

body.page-scope-med-my-appointments .my-appointments-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-my-appointments .my-app-back{
    margin-bottom: 12px;
}

body.page-scope-med-my-appointments .my-app-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-my-appointments .my-app-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-my-appointments .my-app-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-my-appointments .my-app-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-my-appointments .my-app-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-my-appointments .my-app-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-my-appointments .my-app-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-my-appointments .my-app-filter-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 12px;
}

body.page-scope-med-my-appointments .my-app-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-my-appointments .my-app-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-my-appointments .my-app-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-my-appointments .my-app-card-head{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
}

body.page-scope-med-my-appointments .my-app-doctor{
    display: grid;
    grid-template-columns: 62px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-my-appointments .my-app-doctor-image{
    width: 62px;
    height: 62px;
    border-radius: 23px;
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-my-appointments .my-app-doctor-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-my-appointments .my-app-doctor-image svg{
    width: 31px;
    height: 31px;
    fill: currentColor;
}

body.page-scope-med-my-appointments .my-app-doctor span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-my-appointments .my-app-doctor h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

body.page-scope-med-my-appointments .my-app-doctor p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 850;
}

body.page-scope-med-my-appointments .my-app-badges{
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

body.page-scope-med-my-appointments .my-app-badges em{
    border-radius: 999px;
    padding: 7px 9px;
    font-size: 10px;
    font-weight: 950;
    font-style: normal;
    white-space: nowrap;
}

body.page-scope-med-my-appointments .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-my-appointments .status-confirmed{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-my-appointments .status-completed{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-my-appointments .status-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-my-appointments .payment-paid{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-my-appointments .payment-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-my-appointments .payment-unpaid{
    background: rgba(100,116,139,.12);
    color: #64748b;
}

body.page-scope-med-my-appointments .payment-clinic{
    background: rgba(14,165,233,.12);
    color: #0284c7;
}

body.page-scope-med-my-appointments .my-app-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-my-appointments .my-app-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-my-appointments .my-app-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-my-appointments .my-app-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-my-appointments .my-app-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(14,165,233,.07);
    padding: 12px;
}

body.page-scope-med-my-appointments .my-app-note span{
    display: block;
    color: #0284c7;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-my-appointments .my-app-note p{
    margin: 0;
    color: var(--text);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-my-appointments .my-app-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-my-appointments .my-app-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-my-appointments .my-app-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-my-appointments .my-app-filter-grid, body.page-scope-med-my-appointments .my-app-filter-actions, body.page-scope-med-my-appointments .my-app-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-my-appointments .my-app-card-head{
        display: block;
    }

    body.page-scope-med-my-appointments .my-app-badges{
        align-items: flex-start;
        margin-top: 10px;
    }

    body.page-scope-med-my-appointments .my-app-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/my-prescriptions.php
   Former inline <style> rules; isolated to .page-scope-med-my-prescriptions
   ========================================================= */

body.page-scope-med-my-prescriptions .my-prescriptions-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-my-prescriptions .my-pres-back{
    margin-bottom: 12px;
}

body.page-scope-med-my-prescriptions .my-pres-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.20), transparent 36%),
        linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(37,99,235,.24);
    padding: 20px;
}

body.page-scope-med-my-prescriptions .my-pres-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-my-prescriptions .my-pres-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-my-prescriptions .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-my-prescriptions .my-pres-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-my-prescriptions .my-pres-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-my-prescriptions .my-pres-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-my-prescriptions .my-pres-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-my-prescriptions .my-pres-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-my-prescriptions .my-pres-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-my-prescriptions .my-pres-tabs label.active{
    background: #0ea5e9;
    color: #fff;
    border-color: #0ea5e9;
}

body.page-scope-med-my-prescriptions .my-pres-tabs input{
    display: none;
}

body.page-scope-med-my-prescriptions .my-pres-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-my-prescriptions .my-pres-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-my-prescriptions .my-pres-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-my-prescriptions .my-pres-head{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.page-scope-med-my-prescriptions .my-pres-doctor{
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 11px;
    align-items: center;
}

body.page-scope-med-my-prescriptions .my-pres-doctor-avatar{
    width: 58px;
    height: 58px;
    border-radius: 22px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-my-prescriptions .my-pres-doctor-avatar img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-my-prescriptions .my-pres-doctor-avatar svg{
    width: 28px;
    height: 28px;
    fill: currentColor;
}

body.page-scope-med-my-prescriptions .my-pres-doctor span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-my-prescriptions .my-pres-doctor h2{
    margin: 0;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-my-prescriptions .my-pres-doctor p{
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-my-prescriptions .pres-status{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-my-prescriptions .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-my-prescriptions .status-completed{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-my-prescriptions .status-cancelled{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-my-prescriptions .my-pres-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-my-prescriptions .my-pres-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-my-prescriptions .my-pres-info-grid span, body.page-scope-med-my-prescriptions .my-pres-medicine-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-my-prescriptions .my-pres-info-grid strong, body.page-scope-med-my-prescriptions .my-pres-medicine-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-my-prescriptions .my-pres-note{
    margin-top: 12px;
    border-radius: 20px;
    background: rgba(14,165,233,.08);
    padding: 13px;
}

body.page-scope-med-my-prescriptions .my-pres-note.diagnosis{
    background: rgba(245,158,11,.12);
}

body.page-scope-med-my-prescriptions .my-pres-note strong{
    display: block;
    color: #075985;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-med-my-prescriptions .my-pres-note.diagnosis strong{
    color: #92400e;
}

body.page-scope-med-my-prescriptions .my-pres-note p{
    margin: 0;
    color: #075985;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-my-prescriptions .my-pres-note.diagnosis p{
    color: #92400e;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-section{
    margin-top: 14px;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-section h3{
    margin: 0 0 10px;
    color: var(--text);
    font-size: 17px;
    letter-spacing: -0.04em;
}

body.page-scope-med-my-prescriptions .no-items-note{
    border-radius: 18px;
    background: rgba(100,116,139,.10);
    color: #64748b;
    padding: 12px;
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-list{
    display: grid;
    gap: 10px;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-card{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-title{
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

body.page-scope-med-my-prescriptions .medicine-icon{
    width: 48px;
    height: 48px;
    border-radius: 18px;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-my-prescriptions .medicine-icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-my-prescriptions .medicine-icon svg{
    width: 23px;
    height: 23px;
    fill: currentColor;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-title strong{
    display: block;
    color: var(--text);
    font-size: 15px;
    letter-spacing: -0.03em;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-title small{
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-my-prescriptions .my-pres-medicine-grid div{
    border-radius: 16px;
    background: #fff;
    padding: 10px;
}

body.page-scope-med-my-prescriptions .medicine-public-link{
    margin-top: 10px;
}

body.page-scope-med-my-prescriptions .my-pres-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-my-prescriptions .my-pres-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-my-prescriptions .my-pres-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-my-prescriptions .my-pres-filter-actions, body.page-scope-med-my-prescriptions .my-pres-info-grid, body.page-scope-med-my-prescriptions .my-pres-medicine-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-my-prescriptions .my-pres-head{
        display: block;
    }

    body.page-scope-med-my-prescriptions .pres-status{
        display: inline-flex;
        margin-top: 10px;
    }

    body.page-scope-med-my-prescriptions .my-pres-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/notifications.php
   Former inline <style> rules; isolated to .page-scope-med-notifications
   ========================================================= */

body.page-scope-med-notifications .notifications-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-notifications .notifications-back{
    margin-bottom: 12px;
}

body.page-scope-med-notifications .notifications-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(124,58,237,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-notifications .notifications-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-notifications .notifications-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-notifications .notifications-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-notifications .notifications-tabs{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

body.page-scope-med-notifications .notifications-tabs a{
    min-height: 42px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-notifications .notifications-tabs a.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-notifications .notifications-read-all-form{
    margin-top: 12px;
}

body.page-scope-med-notifications .notifications-list{
    display: grid;
    gap: 12px;
}

body.page-scope-med-notifications .notification-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
}

body.page-scope-med-notifications .notification-card.unread{
    border-color: rgba(14,165,233,.35);
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.10), transparent 44%),
        #fff;
}

body.page-scope-med-notifications .notification-icon{
    width: 54px;
    height: 54px;
    border-radius: 21px;
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-notifications .notification-card.read .notification-icon{
    background: rgba(100,116,139,.12);
    color: #64748b;
}

body.page-scope-med-notifications .notification-icon svg{
    width: 24px;
    height: 24px;
    fill: currentColor;
}

body.page-scope-med-notifications .notification-top{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
}

body.page-scope-med-notifications .notification-top h2{
    margin: 0;
    color: var(--text);
    font-size: 16px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

body.page-scope-med-notifications .notification-top span{
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-notifications .status-unread{
    background: rgba(14,165,233,.14);
    color: #0284c7;
}

body.page-scope-med-notifications .status-read{
    background: rgba(100,116,139,.12);
    color: #64748b;
}

body.page-scope-med-notifications .notification-body p{
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-notifications .notification-meta{
    display: grid;
    gap: 4px;
    margin-top: 10px;
}

body.page-scope-med-notifications .notification-meta span{
    color: #94a3b8;
    font-size: 11px;
    font-weight: 850;
}

body.page-scope-med-notifications .notification-open-btn{
    margin-top: 12px;
}

@media (min-width: 760px) {
    body.page-scope-med-notifications .notifications-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-notifications .notifications-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-notifications .notifications-tabs{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-notifications .notification-card{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-notifications .notification-top{
        display: block;
    }

    body.page-scope-med-notifications .notification-top span{
        display: inline-flex;
        margin-top: 8px;
    }
}


/* =========================================================
   PAGE: med/payment-cancel.php
   Former inline <style> rules; isolated to .page-scope-med-payment-cancel
   ========================================================= */

body.page-scope-med-payment-cancel .payment-cancel-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-payment-cancel .payment-cancel-card{
    border-radius: 34px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 22px;
    text-align: center;
}

body.page-scope-med-payment-cancel .cancel-icon{
    width: 76px;
    height: 76px;
    margin: 0 auto 16px;
    border-radius: 28px;
    background: rgba(239,68,68,.14);
    color: #dc2626;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-payment-cancel .cancel-icon svg{
    width: 36px;
    height: 36px;
    fill: currentColor;
}

body.page-scope-med-payment-cancel .payment-cancel-card h1{
    margin: 0;
    color: var(--text);
    font-size: 29px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-payment-cancel .payment-cancel-card p{
    margin: 10px 0 16px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-payment-cancel .payment-cancel-card .btn + .btn{
    margin-top: 10px;
}

@media (max-width: 430px) {
    body.page-scope-med-payment-cancel .payment-cancel-card{
        border-radius: 30px;
    }
}


/* =========================================================
   PAGE: med/payment-success.php
   Former inline <style> rules; isolated to .page-scope-med-payment-success
   ========================================================= */

body.page-scope-med-payment-success .payment-cancel-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-payment-success .payment-cancel-back{
    margin-bottom: 12px;
}

body.page-scope-med-payment-success .payment-cancel-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.34), transparent 42%),
        radial-gradient(circle at bottom left, rgba(239,68,68,.20), transparent 36%),
        linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    box-shadow: 0 20px 50px rgba(245,158,11,.22);
    padding: 22px;
    text-align: center;
}

body.page-scope-med-payment-success .cancel-icon{
    width: 76px;
    height: 76px;
    border-radius: 28px;
    background: rgba(255,255,255,.18);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
}

body.page-scope-med-payment-success .cancel-icon svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-med-payment-success .payment-cancel-card h1{
    margin: 6px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-payment-success .payment-cancel-card p{
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 13px;
    font-weight: 850;
    line-height: 1.45;
}

body.page-scope-med-payment-success .payment-info-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-payment-success .payment-info-card h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.05em;
}

body.page-scope-med-payment-success .payment-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-payment-success .payment-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-payment-success .payment-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-payment-success .payment-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-payment-success .pending-text{
    color: #d97706 !important;
}

body.page-scope-med-payment-success .payment-cancel-actions{
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 430px) {
    body.page-scope-med-payment-success .payment-cancel-card{
        border-radius: 30px;
    }

    body.page-scope-med-payment-success .payment-info-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-payment-success .payment-cancel-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/pharmacies.php
   Former inline <style> rules; isolated to .page-scope-med-pharmacies
   ========================================================= */

body.page-scope-med-pharmacies .pharmacies-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-pharmacies .pharmacies-back{
    margin-bottom: 12px;
}

body.page-scope-med-pharmacies .pharmacies-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(22,163,74,.20);
    padding: 20px;
}

body.page-scope-med-pharmacies .pharmacies-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 34px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-pharmacies .pharmacies-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-pharmacies .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-pharmacies .pharmacies-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-pharmacies .pharmacies-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-pharmacies .pharmacies-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-pharmacies .pharmacies-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-pharmacies .pharmacies-city-filter{
    margin-top: 12px;
}

body.page-scope-med-pharmacies .pharmacies-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-pharmacies .pharmacy-register-public-card{
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.16), transparent 40%),
        #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 16px;
    display: grid;
    gap: 14px;
}

body.page-scope-med-pharmacies .pharmacy-register-public-card h2{
    margin: 0;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-med-pharmacies .pharmacy-register-public-card p{
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-pharmacies .pharmacies-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-pharmacies .pharmacy-public-card{
    border-radius: 32px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-med-pharmacies .pharmacy-public-cover{
    position: relative;
    height: 190px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.24), transparent 42%),
        linear-gradient(135deg, rgba(34,197,94,.14), rgba(14,165,233,.10));
}

body.page-scope-med-pharmacies .pharmacy-public-cover > img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacies .pharmacy-public-placeholder{
    width: 100%;
    height: 100%;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-pharmacies .pharmacy-public-placeholder svg{
    width: 64px;
    height: 64px;
    fill: currentColor;
}

body.page-scope-med-pharmacies .pharmacy-public-gradient{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.65), transparent);
}

body.page-scope-med-pharmacies .pharmacy-public-logo{
    position: absolute;
    left: 14px;
    bottom: 14px;
    width: 64px;
    height: 64px;
    border-radius: 22px;
    background: rgba(255,255,255,.95);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-pharmacies .pharmacy-public-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacies .pharmacy-public-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-pharmacies .pharmacy-public-body{
    padding: 15px;
}

body.page-scope-med-pharmacies .pharmacy-public-body h2{
    margin: 0;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-med-pharmacies .pharmacy-public-body > p{
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-pharmacies .pharmacy-public-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin-top: 13px;
}

body.page-scope-med-pharmacies .pharmacy-public-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-pharmacies .pharmacy-public-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacies .pharmacy-public-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-pharmacies .pharmacy-address-note{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(34,197,94,.09);
    color: #15803d;
    padding: 12px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-pharmacies .pharmacy-public-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-pharmacies .pharmacies-list{
        grid-template-columns: repeat(2, 1fr);
    }

    body.page-scope-med-pharmacies .pharmacy-register-public-card{
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

@media (max-width: 430px) {
    body.page-scope-med-pharmacies .pharmacies-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-pharmacies .pharmacies-filter-actions, body.page-scope-med-pharmacies .pharmacy-public-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-pharmacies .pharmacy-public-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/pharmacy-dashboard.php
   Former inline <style> rules; isolated to .page-scope-med-pharmacy-dashboard
   ========================================================= */

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-back{
    margin-bottom: 12px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(22,163,74,.20);
    padding: 18px;
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;
    align-items: center;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-logo{
    width: 82px;
    height: 82px;
    border-radius: 30px;
    background: rgba(255,255,255,.18);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-logo svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-card h1{
    margin: 4px 0 6px;
    color: #fff;
    font-size: 27px;
    line-height: 1;
    letter-spacing: -0.06em;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-card p{
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-tags{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-tags span{
    border-radius: 999px;
    background: rgba(255,255,255,.16);
    color: #fff;
    padding: 7px 9px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-status-note{
    border-radius: 24px;
    padding: 14px;
    border: 1px solid rgba(226,232,240,.75);
}

body.page-scope-med-pharmacy-dashboard .pharmacy-status-note strong{
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-status-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-pharmacy-dashboard .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-pharmacy-dashboard .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-pharmacy-dashboard .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-action-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-action-card{
    min-height: 106px;
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: 0 10px 24px rgba(15,23,42,.05);
    color: var(--text);
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-action-card.main{
    background: linear-gradient(135deg, rgba(34,197,94,.13), rgba(14,165,233,.06)), #fff;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-action-card svg{
    width: 25px;
    height: 25px;
    fill: #16a34a;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-action-card span{
    font-size: 13px;
    line-height: 1.25;
    font-weight: 950;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-info-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-info-card h2{
    margin: 0 0 8px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.05em;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-info-card p{
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-info-grid span, body.page-scope-med-pharmacy-dashboard .medicine-card-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-info-grid strong, body.page-scope-med-pharmacy-dashboard .medicine-card-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-map-btn{
    margin-top: 12px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-medicine-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-pharmacy-dashboard .pharmacy-medicine-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-main{
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-image{
    width: 68px;
    height: 68px;
    border-radius: 24px;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-image svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-main h3{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-main p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-pharmacy-dashboard .medicine-tags{
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.page-scope-med-pharmacy-dashboard .medicine-tags span{
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    color: #15803d;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-grid{
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-pharmacy-dashboard .medicine-card-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-pharmacy-dashboard .pharmacy-action-grid{
        grid-template-columns: repeat(4, 1fr);
    }

    body.page-scope-med-pharmacy-dashboard .pharmacy-medicine-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-card{
        grid-template-columns: 70px 1fr;
        border-radius: 30px;
    }

    body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-logo{
        width: 70px;
        height: 70px;
        border-radius: 25px;
    }

    body.page-scope-med-pharmacy-dashboard .pharmacy-dashboard-card h1{
        font-size: 23px;
    }

    body.page-scope-med-pharmacy-dashboard .pharmacy-action-grid, body.page-scope-med-pharmacy-dashboard .pharmacy-info-grid, body.page-scope-med-pharmacy-dashboard .medicine-card-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-pharmacy-dashboard .medicine-card-main{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-med-pharmacy-dashboard .medicine-card-image{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }

    body.page-scope-med-pharmacy-dashboard .medicine-card-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/pharmacy-edit.php
   Former inline <style> rules; isolated to .page-scope-med-pharmacy-edit
   ========================================================= */

body.page-scope-med-pharmacy-edit .pharmacy-edit-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-pharmacy-edit .pharmacy-edit-back{
    margin-bottom: 12px;
}

body.page-scope-med-pharmacy-edit .pharmacy-edit-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(22,163,74,.20);
    padding: 20px;
}

body.page-scope-med-pharmacy-edit .pharmacy-edit-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-pharmacy-edit .pharmacy-edit-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-pharmacy-edit .pharmacy-status-note{
    border-radius: 24px;
    padding: 14px;
    border: 1px solid rgba(226,232,240,.75);
}

body.page-scope-med-pharmacy-edit .pharmacy-status-note strong{
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacy-edit .pharmacy-status-note p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-pharmacy-edit .pharmacy-status-note small{
    display: block;
    margin-top: 8px;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 850;
    opacity: .82;
}

body.page-scope-med-pharmacy-edit .status-active{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-pharmacy-edit .status-pending{
    background: rgba(245,158,11,.14);
    color: #d97706;
}

body.page-scope-med-pharmacy-edit .status-blocked{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-pharmacy-edit .current-pharmacy-image{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
    margin-bottom: 14px;
}

body.page-scope-med-pharmacy-edit .current-pharmacy-image span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 10px;
}

body.page-scope-med-pharmacy-edit .current-pharmacy-image img{
    width: 100%;
    max-height: 230px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

body.page-scope-med-pharmacy-edit .current-pharmacy-image.small img{
    width: 112px;
    height: 112px;
    object-fit: cover;
    border-radius: 30px;
}

body.page-scope-med-pharmacy-edit .pharmacy-edit-submit{
    min-height: 54px;
}

@media (max-width: 430px) {
    body.page-scope-med-pharmacy-edit .pharmacy-edit-hero-card{
        border-radius: 30px;
    }
}


/* =========================================================
   PAGE: med/pharmacy-medicine-edit.php
   Former inline <style> rules; isolated to .page-scope-med-pharmacy-medicine-edit
   ========================================================= */

body.page-scope-med-pharmacy-medicine-edit .pharmacy-medicine-edit-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-edit-back{
    margin-bottom: 12px;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-edit-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.20), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(14,165,233,.22);
    padding: 20px;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-edit-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-edit-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-edit-note{
    border-radius: 22px;
    padding: 13px;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-edit-note.pending{
    background: rgba(245,158,11,.12);
    color: #92400e;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-edit-note.blocked{
    background: rgba(239,68,68,.12);
    color: #b91c1c;
}

body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-logo{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(14,165,233,.10);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-card strong{
    display: block;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-pharmacy-medicine-edit .current-medicine-image{
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
    margin-bottom: 14px;
}

body.page-scope-med-pharmacy-medicine-edit .current-medicine-image span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 10px;
}

body.page-scope-med-pharmacy-medicine-edit .current-medicine-image img{
    width: 100%;
    max-height: 240px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

body.page-scope-med-pharmacy-medicine-edit .medicine-submit-btn{
    min-height: 54px;
}

@media (max-width: 430px) {
    body.page-scope-med-pharmacy-medicine-edit .medicine-edit-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-card{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-med-pharmacy-medicine-edit .pharmacy-mini-logo{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }
}


/* =========================================================
   PAGE: med/pharmacy-medicines.php
   Former inline <style> rules; isolated to .page-scope-med-pharmacy-medicines
   ========================================================= */

body.page-scope-med-pharmacy-medicines .pharmacy-medicines-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-back{
    margin-bottom: 12px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    color: #fff;
    box-shadow: 0 20px 50px rgba(22,163,74,.20);
    padding: 20px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-hero-card .hero-actions{
    margin-top: 16px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-mini-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 68px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-pharmacy-medicines .pharmacy-mini-logo{
    width: 68px;
    height: 68px;
    border-radius: 25px;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-pharmacy-medicines .pharmacy-mini-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacy-medicines .pharmacy-mini-logo svg{
    width: 32px;
    height: 32px;
    fill: currentColor;
}

body.page-scope-med-pharmacy-medicines .pharmacy-mini-card span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-mini-card strong{
    display: block;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-pharmacy-medicines .pharmacy-mini-card p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-filter-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-search-wrap{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-search-wrap svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-search-wrap input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin: 12px 0 0;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-tabs label{
    flex: 0 0 auto;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #f8fafc;
    color: var(--muted);
    border: 1px solid rgba(226,232,240,.95);
    padding: 0 13px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 950;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-tabs label.active{
    background: #16a34a;
    color: #fff;
    border-color: #16a34a;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-tabs input{
    display: none;
}

body.page-scope-med-pharmacy-medicines .pharmacy-category-filter{
    margin-top: 12px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-filter-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 12px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-main{
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-image{
    width: 76px;
    height: 76px;
    border-radius: 26px;
    background: rgba(34,197,94,.12);
    color: #16a34a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-image svg{
    width: 34px;
    height: 34px;
    fill: currentColor;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-main span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-main h2{
    margin: 0;
    color: var(--text);
    font-size: 18px;
    letter-spacing: -0.04em;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-main p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-pills{
    margin-top: 9px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-pills em{
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    color: #15803d;
    padding: 6px 8px;
    font-size: 10px;
    font-style: normal;
    font-weight: 950;
}

body.page-scope-med-pharmacy-medicines .status-active{
    background: rgba(22,163,74,.14) !important;
    color: #16a34a !important;
}

body.page-scope-med-pharmacy-medicines .status-pending{
    background: rgba(245,158,11,.14) !important;
    color: #d97706 !important;
}

body.page-scope-med-pharmacy-medicines .status-blocked{
    background: rgba(239,68,68,.14) !important;
    color: #dc2626 !important;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-grid{
    margin-top: 13px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-description{
    margin-top: 12px;
    border-radius: 18px;
    background: rgba(34,197,94,.09);
    color: #15803d;
    padding: 12px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-description strong{
    display: block;
    font-size: 12px;
    font-weight: 950;
    margin-bottom: 6px;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-description p{
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 850;
}

body.page-scope-med-pharmacy-medicines .pharmacy-meds-actions{
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (min-width: 760px) {
    body.page-scope-med-pharmacy-medicines .pharmacy-meds-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-pharmacy-medicines .pharmacy-meds-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-pharmacy-medicines .pharmacy-mini-card{
        grid-template-columns: 60px 1fr;
    }

    body.page-scope-med-pharmacy-medicines .pharmacy-mini-logo{
        width: 60px;
        height: 60px;
        border-radius: 22px;
    }

    body.page-scope-med-pharmacy-medicines .pharmacy-meds-filter-actions, body.page-scope-med-pharmacy-medicines .pharmacy-meds-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-pharmacy-medicines .pharmacy-meds-main{
        grid-template-columns: 64px 1fr;
    }

    body.page-scope-med-pharmacy-medicines .pharmacy-meds-image{
        width: 64px;
        height: 64px;
        border-radius: 22px;
    }

    body.page-scope-med-pharmacy-medicines .pharmacy-meds-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/pharmacy.php
   Former inline <style> rules; isolated to .page-scope-med-pharmacy
   ========================================================= */

body.page-scope-med-pharmacy .pharmacy-public-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-pharmacy .pharmacy-profile-back{
    margin-bottom: 12px;
}

body.page-scope-med-pharmacy .setup-error-card{
    border: 1px solid rgba(239,68,68,.25);
    background: rgba(239,68,68,.08);
    color: #dc2626;
    line-height: 1.5;
}

body.page-scope-med-pharmacy .pharmacy-profile-cover{
    position: relative;
    min-height: 300px;
    border-radius: 36px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.28), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #16a34a, #0ea5e9);
    box-shadow: 0 20px 50px rgba(22,163,74,.20);
}

body.page-scope-med-pharmacy .pharmacy-profile-cover > img{
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

body.page-scope-med-pharmacy .pharmacy-profile-cover-placeholder{
    height: 300px;
    color: rgba(255,255,255,.88);
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-pharmacy .pharmacy-profile-cover-placeholder svg{
    width: 76px;
    height: 76px;
    fill: currentColor;
}

body.page-scope-med-pharmacy .pharmacy-profile-gradient{
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.72), rgba(15,23,42,.10));
}

body.page-scope-med-pharmacy .pharmacy-profile-info{
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 13px;
    align-items: center;
    color: #fff;
}

body.page-scope-med-pharmacy .pharmacy-profile-logo{
    width: 78px;
    height: 78px;
    border-radius: 26px;
    background: rgba(255,255,255,.94);
    color: #16a34a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-pharmacy .pharmacy-profile-logo img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacy .pharmacy-profile-logo svg{
    width: 38px;
    height: 38px;
    fill: currentColor;
}

body.page-scope-med-pharmacy .pharmacy-profile-info h1{
    margin: 4px 0 6px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-pharmacy .pharmacy-profile-info p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 850;
}

body.page-scope-med-pharmacy .pharmacy-owner-actions{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-pharmacy .pharmacy-about-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-pharmacy .pharmacy-about-card h2{
    margin: 0 0 8px;
    color: var(--text);
    font-size: 22px;
    letter-spacing: -0.05em;
}

body.page-scope-med-pharmacy .pharmacy-about-card > p{
    margin: 0 0 13px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    font-weight: 800;
}

body.page-scope-med-pharmacy .pharmacy-about-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-pharmacy .pharmacy-about-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-pharmacy .pharmacy-about-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacy .pharmacy-about-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

body.page-scope-med-pharmacy .pharmacy-map-btn{
    margin-top: 12px;
}

body.page-scope-med-pharmacy .pharmacy-catalog-filter{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    margin-bottom: 14px;
}

body.page-scope-med-pharmacy .pharmacy-catalog-search{
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    min-height: 52px;
    display: grid;
    grid-template-columns: 44px 1fr;
    align-items: center;
    padding: 0 12px;
}

body.page-scope-med-pharmacy .pharmacy-catalog-search svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
}

body.page-scope-med-pharmacy .pharmacy-catalog-search input{
    border: 0;
    background: transparent;
    outline: 0;
    width: 100%;
    font-size: 14px;
    font-weight: 800;
    color: var(--text);
}

body.page-scope-med-pharmacy .pharmacy-category-filter{
    margin-top: 12px;
}

body.page-scope-med-pharmacy .pharmacy-catalog-actions{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

body.page-scope-med-pharmacy .pharmacy-catalog-list{
    display: grid;
    gap: 14px;
}

body.page-scope-med-pharmacy .medicine-public-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow: hidden;
}

body.page-scope-med-pharmacy .medicine-public-image{
    height: 190px;
    background:
        radial-gradient(circle at top right, rgba(34,197,94,.20), transparent 42%),
        linear-gradient(135deg, rgba(34,197,94,.14), rgba(14,165,233,.10));
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-pharmacy .medicine-public-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-pharmacy .medicine-public-image svg{
    width: 64px;
    height: 64px;
    fill: currentColor;
}

body.page-scope-med-pharmacy .medicine-public-body{
    padding: 14px;
}

body.page-scope-med-pharmacy .medicine-public-body > span{
    display: inline-flex;
    border-radius: 999px;
    background: rgba(34,197,94,.10);
    color: #15803d;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-pharmacy .medicine-public-body h3{
    margin: 10px 0 0;
    color: var(--text);
    font-size: 19px;
    letter-spacing: -0.04em;
}

body.page-scope-med-pharmacy .medicine-public-body p{
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-pharmacy .medicine-public-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
    margin: 12px 0;
}

body.page-scope-med-pharmacy .medicine-public-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-pharmacy .medicine-public-grid small{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-pharmacy .medicine-public-grid strong{
    display: block;
    color: var(--text);
    font-size: 14px;
}

@media (min-width: 760px) {
    body.page-scope-med-pharmacy .pharmacy-catalog-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-pharmacy .pharmacy-profile-cover{
        border-radius: 30px;
        min-height: 280px;
    }

    body.page-scope-med-pharmacy .pharmacy-profile-cover > img, body.page-scope-med-pharmacy .pharmacy-profile-cover-placeholder{
        height: 280px;
    }

    body.page-scope-med-pharmacy .pharmacy-profile-info{
        grid-template-columns: 64px 1fr;
    }

    body.page-scope-med-pharmacy .pharmacy-profile-logo{
        width: 64px;
        height: 64px;
        border-radius: 22px;
    }

    body.page-scope-med-pharmacy .pharmacy-profile-info h1{
        font-size: 25px;
    }

    body.page-scope-med-pharmacy .pharmacy-about-grid, body.page-scope-med-pharmacy .pharmacy-catalog-actions, body.page-scope-med-pharmacy .medicine-public-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-pharmacy .pharmacy-owner-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/prescription-create.php
   Former inline <style> rules; isolated to .page-scope-med-prescription-create
   ========================================================= */

body.page-scope-med-prescription-create .prescription-create-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-prescription-create .pres-create-back{
    margin-bottom: 12px;
}

body.page-scope-med-prescription-create .pres-create-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(124,58,237,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #7c3aed);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-prescription-create .pres-create-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-prescription-create .pres-create-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-prescription-create .pres-doctor-mini{
    margin-top: 16px;
    border-radius: 24px;
    background: rgba(255,255,255,.14);
    padding: 10px;
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 10px;
    align-items: center;
    backdrop-filter: blur(14px);
}

body.page-scope-med-prescription-create .pres-doctor-mini > div{
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: rgba(255,255,255,.20);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

body.page-scope-med-prescription-create .pres-doctor-mini img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-prescription-create .pres-doctor-mini svg{
    width: 25px;
    height: 25px;
    fill: #fff;
}

body.page-scope-med-prescription-create .pres-doctor-mini strong{
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
}

body.page-scope-med-prescription-create .pres-doctor-mini small{
    display: block;
    margin-top: 3px;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    font-weight: 800;
}

body.page-scope-med-prescription-create .pres-appointment-card, body.page-scope-med-prescription-create .pres-form, body.page-scope-med-prescription-create .existing-pres-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-prescription-create .pres-appointment-card h2, body.page-scope-med-prescription-create .pres-form-section h2{
    margin: 0 0 14px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.05em;
}

body.page-scope-med-prescription-create .pres-info-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
}

body.page-scope-med-prescription-create .pres-info-grid div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-prescription-create .pres-info-grid span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-prescription-create .pres-info-grid strong{
    display: block;
    color: var(--text);
    font-size: 13px;
    line-height: 1.35;
}

body.page-scope-med-prescription-create .existing-pres-card{
    display: grid;
    gap: 12px;
}

body.page-scope-med-prescription-create .existing-pres-card strong{
    color: #92400e;
    background: rgba(245,158,11,.12);
    border-radius: 18px;
    padding: 12px;
    font-size: 13px;
}

body.page-scope-med-prescription-create .pres-form-section{
    border-radius: 26px;
    background: #f8fafc;
    border: 1px solid rgba(226,232,240,.95);
    padding: 14px;
    margin-bottom: 14px;
}

body.page-scope-med-prescription-create .pres-section-head{
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 14px;
}

body.page-scope-med-prescription-create .pres-section-head h2{
    margin: 0;
}

body.page-scope-med-prescription-create .medicine-rows{
    display: grid;
    gap: 12px;
}

body.page-scope-med-prescription-create .medicine-row{
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.95);
    padding: 12px;
}

body.page-scope-med-prescription-create .pres-row-grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 11px;
}

body.page-scope-med-prescription-create .small-textarea{
    min-height: 80px;
}

body.page-scope-med-prescription-create .remove-row-btn{
    margin-top: 10px;
}

body.page-scope-med-prescription-create .pres-submit{
    margin-top: 4px;
}

@media (max-width: 430px) {
    body.page-scope-med-prescription-create .pres-create-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-prescription-create .pres-info-grid, body.page-scope-med-prescription-create .pres-row-grid{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-prescription-create .pres-section-head{
        display: grid;
    }

    body.page-scope-med-prescription-create .pres-section-head .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/search.php
   Former inline <style> rules; isolated to .page-scope-med-search
   ========================================================= */

body.page-scope-med-search .med-search-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-search .med-search-back{
    margin-bottom: 12px;
}

body.page-scope-med-search .med-search-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(14,165,233,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(34,197,94,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-search .med-search-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-search .med-search-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-search .med-search-form{
    margin-top: 16px;
    border-radius: 24px;
    background: #fff;
    padding: 8px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    box-shadow: 0 18px 45px rgba(15,23,42,.14);
}

body.page-scope-med-search .med-search-input{
    display: grid;
    grid-template-columns: 38px 1fr;
    align-items: center;
    min-height: 46px;
}

body.page-scope-med-search .med-search-input svg{
    width: 20px;
    height: 20px;
    fill: #94a3b8;
    margin-left: 10px;
}

body.page-scope-med-search .med-search-input input{
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text);
    font-size: 14px;
    font-weight: 850;
    min-width: 0;
}

body.page-scope-med-search .med-search-form button{
    border: 0;
    border-radius: 18px;
    background: #0f172a;
    color: #fff;
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-med-search .med-search-tabs{
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
}

body.page-scope-med-search .med-search-tabs a{
    flex: 0 0 auto;
    min-height: 40px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.95);
    color: var(--muted);
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 950;
    box-shadow: 0 8px 20px rgba(15,23,42,.04);
}

body.page-scope-med-search .med-search-tabs a.active{
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

body.page-scope-med-search .search-result-summary{
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

body.page-scope-med-search .search-result-summary strong{
    color: var(--text);
    font-size: 15px;
}

body.page-scope-med-search .search-result-summary span{
    width: 42px;
    height: 42px;
    border-radius: 16px;
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 950;
}

body.page-scope-med-search .search-card-list{
    display: grid;
    gap: 12px;
}

body.page-scope-med-search .search-result-card{
    border-radius: 28px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 13px;
    align-items: start;
}

body.page-scope-med-search .search-result-image{
    width: 70px;
    height: 70px;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.page-scope-med-search .search-result-image.blue, body.page-scope-med-search .search-result-image.cyan{
    background: rgba(14,165,233,.12);
    color: #0ea5e9;
}

body.page-scope-med-search .search-result-image.green{
    background: rgba(34,197,94,.12);
    color: #16a34a;
}

body.page-scope-med-search .search-result-image.orange{
    background: rgba(245,158,11,.14);
    color: #f59e0b;
}

body.page-scope-med-search .search-result-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.page-scope-med-search .search-result-image svg{
    width: 31px;
    height: 31px;
    fill: currentColor;
}

body.page-scope-med-search .search-result-body > span{
    display: inline-flex;
    border-radius: 999px;
    background: rgba(14,165,233,.12);
    color: #0284c7;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-search .search-result-body h3{
    margin: 9px 0 0;
    color: var(--text);
    font-size: 18px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

body.page-scope-med-search .search-result-body p{
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 850;
}

body.page-scope-med-search .search-result-actions{
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.page-scope-med-search .medicine-mini-meta{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-top: 11px;
}

body.page-scope-med-search .medicine-mini-meta div{
    border-radius: 16px;
    background: #f8fafc;
    padding: 10px;
}

body.page-scope-med-search .medicine-mini-meta span{
    display: block;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 4px;
}

body.page-scope-med-search .medicine-mini-meta strong{
    display: block;
    color: var(--text);
    font-size: 12px;
}

@media (min-width: 760px) {
    body.page-scope-med-search .search-card-list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-search .med-search-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-search .med-search-form{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-search .med-search-form button{
        width: 100%;
    }

    body.page-scope-med-search .search-result-card{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-search .search-result-image{
        width: 100%;
        height: 170px;
        border-radius: 24px;
    }

    body.page-scope-med-search .search-result-actions .btn{
        width: 100%;
    }
}


/* =========================================================
   PAGE: med/system-check.php
   Former inline <style> rules; isolated to .page-scope-med-system-check
   ========================================================= */

body.page-scope-med-system-check .system-check-page .app-main{
    padding-top: 18px;
}

body.page-scope-med-system-check .system-check-back{
    margin-bottom: 12px;
}

body.page-scope-med-system-check .system-check-hero-card{
    border-radius: 34px;
    background:
        radial-gradient(circle at top right, rgba(245,158,11,.30), transparent 42%),
        radial-gradient(circle at bottom left, rgba(14,165,233,.22), transparent 36%),
        linear-gradient(135deg, #0f172a, #2563eb);
    color: #fff;
    box-shadow: 0 20px 50px rgba(15,23,42,.22);
    padding: 20px;
}

body.page-scope-med-system-check .system-check-hero-card h1{
    margin: 4px 0 8px;
    color: #fff;
    font-size: 31px;
    line-height: 1;
    letter-spacing: -0.07em;
}

body.page-scope-med-system-check .system-check-hero-card p{
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.45;
}

body.page-scope-med-system-check .system-note-card{
    border-radius: 24px;
    background: rgba(15,23,42,.06);
    border: 1px solid rgba(15,23,42,.08);
    color: #0f172a;
    padding: 13px;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 10px;
    align-items: start;
}

body.page-scope-med-system-check .system-note-card svg{
    width: 23px;
    height: 23px;
    fill: currentColor;
}

body.page-scope-med-system-check .system-note-card strong{
    display: block;
    font-size: 13px;
    margin-bottom: 4px;
}

body.page-scope-med-system-check .system-note-card p{
    margin: 0;
    color: #475569;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 800;
}

body.page-scope-med-system-check .system-stats .danger strong{
    color: #dc2626;
}

body.page-scope-med-system-check .system-grid{
    display: grid;
    gap: 14px;
}

body.page-scope-med-system-check .system-info-card, body.page-scope-med-system-check .system-cron-card{
    border-radius: 30px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 14px;
}

body.page-scope-med-system-check .system-info-card h2, body.page-scope-med-system-check .system-cron-card h2{
    margin: 0 0 12px;
    color: var(--text);
    font-size: 20px;
    letter-spacing: -0.05em;
}

body.page-scope-med-system-check .system-info-list, body.page-scope-med-system-check .system-module-list{
    display: grid;
    gap: 9px;
}

body.page-scope-med-system-check .system-info-list div, body.page-scope-med-system-check .system-module-list div{
    border-radius: 18px;
    background: #f8fafc;
    padding: 12px;
}

body.page-scope-med-system-check .system-info-list span, body.page-scope-med-system-check .system-module-list span{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 5px;
}

body.page-scope-med-system-check .system-info-list strong{
    display: block;
    color: var(--text);
    font-size: 12px;
    line-height: 1.4;
    word-break: break-all;
}

body.page-scope-med-system-check .system-module-list div{
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-system-check .system-module-list span{
    margin: 0;
}

body.page-scope-med-system-check .system-module-list b, body.page-scope-med-system-check .system-badge{
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 950;
    white-space: nowrap;
}

body.page-scope-med-system-check .system-module-list b.ok, body.page-scope-med-system-check .system-badge.ok{
    background: rgba(22,163,74,.14);
    color: #16a34a;
}

body.page-scope-med-system-check .system-module-list b.bad, body.page-scope-med-system-check .system-badge.bad{
    background: rgba(239,68,68,.14);
    color: #dc2626;
}

body.page-scope-med-system-check .system-cron-card label{
    display: block;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 900;
    margin-bottom: 8px;
}

body.page-scope-med-system-check .cron-copy-row{
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

body.page-scope-med-system-check .cron-copy-row input{
    min-height: 48px;
    border-radius: 18px;
    border: 1px solid rgba(226,232,240,.95);
    background: #f8fafc;
    color: var(--text);
    font-size: 12px;
    font-weight: 850;
    padding: 0 12px;
    width: 100%;
}

body.page-scope-med-system-check .cron-copy-row button{
    border: 0;
    border-radius: 18px;
    background: #0f172a;
    color: #fff;
    padding: 0 14px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
}

body.page-scope-med-system-check .system-cron-card small{
    display: block;
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.4;
    word-break: break-all;
    font-weight: 800;
}

body.page-scope-med-system-check .system-link-grid{
    display: grid;
    gap: 10px;
}

body.page-scope-med-system-check .system-link-card{
    border-radius: 22px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    padding: 13px;
    color: var(--text);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

body.page-scope-med-system-check .system-link-card strong{
    font-size: 13px;
}

body.page-scope-med-system-check .system-link-card span{
    border-radius: 999px;
    background: rgba(14,165,233,.10);
    color: #0284c7;
    padding: 6px 8px;
    font-size: 10px;
    font-weight: 950;
}

body.page-scope-med-system-check .system-table-wrap{
    border-radius: 26px;
    background: #fff;
    border: 1px solid rgba(226,232,240,.85);
    box-shadow: var(--shadow);
    overflow-x: auto;
}

body.page-scope-med-system-check .system-table{
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

body.page-scope-med-system-check .system-table th{
    text-align: left;
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 950;
    padding: 13px;
    border-bottom: 1px solid rgba(226,232,240,.95);
}

body.page-scope-med-system-check .system-table td{
    color: var(--text);
    font-size: 12px;
    font-weight: 850;
    padding: 12px 13px;
    border-bottom: 1px solid rgba(226,232,240,.72);
    word-break: break-all;
}

body.page-scope-med-system-check .system-table tr:last-child td{
    border-bottom: 0;
}

@media (min-width: 760px) {
    body.page-scope-med-system-check .system-grid{
        grid-template-columns: 1fr 1fr;
    }

    body.page-scope-med-system-check .system-link-grid{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 430px) {
    body.page-scope-med-system-check .system-check-hero-card{
        border-radius: 30px;
    }

    body.page-scope-med-system-check .cron-copy-row{
        grid-template-columns: 1fr;
    }

    body.page-scope-med-system-check .cron-copy-row button{
        min-height: 46px;
    }
}


/* =========================================================
   PAGE: med/video-room.php
   Former inline <style> rules; isolated to .page-scope-med-video-room
   ========================================================= */

html:has(body.page-scope-med-video-room), body.page-scope-med-video-room{margin:0;height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#06121f;color:#fff;overflow:hidden}body.page-scope-med-video-room .room-shell{height:100vh;display:grid;grid-template-rows:auto 1fr}body.page-scope-med-video-room .room-top{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 16px;background:rgba(15,23,42,.88);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.08)}body.page-scope-med-video-room .room-top a{color:#fff;text-decoration:none;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:10px 13px;font-weight:800}body.page-scope-med-video-room .room-title{min-width:0;text-align:center}body.page-scope-med-video-room .room-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-scope-med-video-room .room-title span{display:block;color:rgba(255,255,255,.65);font-size:12px;margin-top:3px}body.page-scope-med-video-room .room-badge{border-radius:999px;background:#0ea5e9;padding:9px 12px;font-weight:900;font-size:12px}body.page-scope-med-video-room #root{height:100%;min-height:0}body.page-scope-med-video-room .fallback{position:absolute;inset:80px 16px 16px;display:grid;place-items:center;text-align:center;color:rgba(255,255,255,.7)}@media(max-width:640px){body.page-scope-med-video-room .room-top{padding:10px}body.page-scope-med-video-room .room-badge{display:none}body.page-scope-med-video-room .room-title strong{max-width:210px}body.page-scope-med-video-room .room-top a{padding:9px 10px}}


/* =========================================================
   PAGE: organization-staff.php
   Former inline <style> rules; isolated to .page-scope-organization-staff
   ========================================================= */

body.page-scope-organization-staff .org-team-hero{position:relative;overflow:hidden;border-radius:34px;padding:28px;background:linear-gradient(135deg,#0f172a,#2563eb 55%,#22c55e);color:#fff;box-shadow:0 26px 80px rgba(15,23,42,.22);margin:12px 0 22px}body.page-scope-organization-staff .org-team-hero:after{content:"";position:absolute;right:-80px;top:-80px;width:240px;height:240px;background:rgba(255,255,255,.18);border-radius:50%;filter:blur(2px)}body.page-scope-organization-staff .org-team-hero .eyebrow{display:inline-flex;padding:8px 12px;border-radius:999px;background:rgba(255,255,255,.16);font-weight:800;font-size:12px}body.page-scope-organization-staff .org-team-hero h1{font-size:clamp(28px,5vw,52px);line-height:1;margin:16px 0 10px}body.page-scope-organization-staff .org-team-hero p{max-width:760px;color:rgba(255,255,255,.82);font-size:16px}body.page-scope-organization-staff .org-pill-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}body.page-scope-organization-staff .org-pill{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.12);border-radius:999px;padding:10px 13px;font-weight:800}body.page-scope-organization-staff .org-video-rule{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:22px}body.page-scope-organization-staff .org-rule-card{border:1px solid rgba(15,23,42,.08);border-radius:26px;background:#fff;padding:18px;box-shadow:0 16px 48px rgba(15,23,42,.08)}body.page-scope-organization-staff .org-rule-card strong{display:block;font-size:16px;margin-bottom:6px}body.page-scope-organization-staff .org-rule-card p{margin:0;color:#64748b}body.page-scope-organization-staff .org-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:18px;align-items:start}body.page-scope-organization-staff .org-panel{border-radius:28px;background:#fff;border:1px solid rgba(15,23,42,.08);box-shadow:0 16px 50px rgba(15,23,42,.07);padding:20px}body.page-scope-organization-staff .org-panel h2{margin:0 0 14px;font-size:22px}body.page-scope-organization-staff .org-form .form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}body.page-scope-organization-staff .org-form label{font-weight:800;font-size:13px;color:#334155}body.page-scope-organization-staff .org-form input, body.page-scope-organization-staff .org-form textarea{width:100%;border:1px solid rgba(15,23,42,.12);border-radius:16px;padding:12px 13px;background:#f8fafc;outline:none}body.page-scope-organization-staff .org-form textarea{min-height:90px;resize:vertical}body.page-scope-organization-staff .org-check{display:flex;align-items:center;gap:10px;padding:12px;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.08);margin:10px 0}body.page-scope-organization-staff .org-check input{width:auto}body.page-scope-organization-staff .org-submit{border:0;border-radius:18px;padding:14px 18px;background:#0f172a;color:#fff;font-weight:900;width:100%;cursor:pointer}body.page-scope-organization-staff .staff-card{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid rgba(15,23,42,.08);border-radius:22px;margin-bottom:10px;background:linear-gradient(180deg,#fff,#f8fafc)}body.page-scope-organization-staff .staff-avatar{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#2563eb,#22c55e);color:#fff;display:grid;place-items:center;font-weight:900}body.page-scope-organization-staff .staff-info{flex:1;min-width:0}body.page-scope-organization-staff .staff-info strong{display:block}body.page-scope-organization-staff .staff-info span{display:block;color:#64748b;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-scope-organization-staff .staff-actions{display:flex;gap:8px;flex-wrap:wrap}body.page-scope-organization-staff .staff-actions a{border-radius:14px;padding:9px 11px;text-decoration:none;font-weight:800;font-size:12px;background:#eef2ff;color:#1e40af}body.page-scope-organization-staff .staff-actions a.video{background:#dcfce7;color:#166534}body.page-scope-organization-staff .org-disabled{opacity:.6;pointer-events:none}body.page-scope-organization-staff .org-alert{border-radius:22px;padding:14px 16px;background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;margin-bottom:16px;font-weight:800}@media(max-width:900px){body.page-scope-organization-staff .org-grid, body.page-scope-organization-staff .org-video-rule{grid-template-columns:1fr}body.page-scope-organization-staff .org-form .form-row{grid-template-columns:1fr}body.page-scope-organization-staff .org-panel{padding:16px}body.page-scope-organization-staff .staff-card{align-items:flex-start}body.page-scope-organization-staff .staff-actions{width:100%;margin-top:8px}body.page-scope-organization-staff .org-team-hero{border-radius:28px;padding:22px;margin-top:8px}}

body.page-scope-organization-staff .staff-location-box{display:grid;gap:12px;margin:12px 0}body.page-scope-organization-staff .location-row{border:1px solid rgba(15,23,42,.10);background:#f8fafc;border-radius:22px;padding:14px}body.page-scope-organization-staff .location-row-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}body.page-scope-organization-staff .mini-remove-location{border:0;border-radius:999px;background:#fee2e2;color:#991b1b;font-weight:900;padding:8px 11px}body.page-scope-organization-staff .weekday-picker{display:flex;flex-wrap:wrap;gap:8px}body.page-scope-organization-staff .weekday-picker label{display:inline-flex;align-items:center;gap:6px;border:1px solid rgba(37,99,235,.18);background:#eff6ff;border-radius:999px;padding:8px 10px;font-size:12px;font-weight:900}body.page-scope-organization-staff .add-location-btn{width:100%;border:0;border-radius:16px;background:#2563eb;color:#fff;font-weight:900;padding:12px;margin-bottom:12px;cursor:pointer}


/* =========================================================
   PAGE: provider-register.php
   Former inline <style> rules; isolated to .page-scope-provider-register
   ========================================================= */
body.page-scope-provider-register .map-link-inline{display:flex;gap:8px;align-items:center}body.page-scope-provider-register .map-link-inline input{min-width:0}body.page-scope-provider-register .map-open-btn{border:0;border-radius:14px;padding:11px 12px;background:#0f172a;color:#fff;font-weight:900;white-space:nowrap;cursor:pointer}@media(max-width:680px){body.page-scope-provider-register .map-link-inline{flex-direction:column;align-items:stretch}body.page-scope-provider-register .map-open-btn{width:100%}}

/* =========================================================
   PAGE: provider-video-room.php
   Former inline <style> rules; isolated to .page-scope-provider-video-room
   ========================================================= */

html:has(body.page-scope-provider-video-room), body.page-scope-provider-video-room{margin:0;height:100%;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#07111f;color:#fff;overflow:hidden}body.page-scope-provider-video-room .room-shell{height:100vh;display:grid;grid-template-rows:auto 1fr}body.page-scope-provider-video-room .room-top{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:14px 16px;background:rgba(15,23,42,.9);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,.08)}body.page-scope-provider-video-room .room-top a{color:#fff;text-decoration:none;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.12);border-radius:16px;padding:10px 13px;font-weight:800}body.page-scope-provider-video-room .room-title{min-width:0;text-align:center}body.page-scope-provider-video-room .room-title strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}body.page-scope-provider-video-room .room-title span{display:block;color:rgba(255,255,255,.65);font-size:12px;margin-top:3px}body.page-scope-provider-video-room .room-badge{border-radius:999px;background:linear-gradient(135deg,#2563eb,#22c55e);padding:9px 12px;font-weight:900;font-size:12px}body.page-scope-provider-video-room #root{height:100%;min-height:0}body.page-scope-provider-video-room .fallback{position:absolute;inset:80px 16px 16px;display:grid;place-items:center;text-align:center;color:rgba(255,255,255,.74)}@media(max-width:640px){body.page-scope-provider-video-room .room-top{padding:10px}body.page-scope-provider-video-room .room-badge{display:none}body.page-scope-provider-video-room .room-top a{padding:9px 10px}body.page-scope-provider-video-room .room-title strong{max-width:210px}}


/* =========================================================
   FORMER STATIC INLINE style="..." DECLARATIONS
   ========================================================= */
[data-bl-style="bls-0001"][data-bl-style="bls-0001"][data-bl-style="bls-0001"][data-bl-style="bls-0001"][data-bl-style="bls-0001"][data-bl-style="bls-0001"][data-bl-style="bls-0001"][data-bl-style="bls-0001"]{margin-top:14px;}
[data-bl-style="bls-0002"][data-bl-style="bls-0002"][data-bl-style="bls-0002"][data-bl-style="bls-0002"][data-bl-style="bls-0002"][data-bl-style="bls-0002"][data-bl-style="bls-0002"][data-bl-style="bls-0002"]{color:#fff;text-decoration:none;font-weight:900}
[data-bl-style="bls-0003"][data-bl-style="bls-0003"][data-bl-style="bls-0003"][data-bl-style="bls-0003"][data-bl-style="bls-0003"][data-bl-style="bls-0003"][data-bl-style="bls-0003"][data-bl-style="bls-0003"]{margin-top:12px}
[data-bl-style="bls-0004"][data-bl-style="bls-0004"][data-bl-style="bls-0004"][data-bl-style="bls-0004"][data-bl-style="bls-0004"][data-bl-style="bls-0004"][data-bl-style="bls-0004"][data-bl-style="bls-0004"]{margin-top:18px}
[data-bl-style="bls-0005"][data-bl-style="bls-0005"][data-bl-style="bls-0005"][data-bl-style="bls-0005"][data-bl-style="bls-0005"][data-bl-style="bls-0005"][data-bl-style="bls-0005"][data-bl-style="bls-0005"]{margin-top:12px}
[data-bl-style="bls-0006"][data-bl-style="bls-0006"][data-bl-style="bls-0006"][data-bl-style="bls-0006"][data-bl-style="bls-0006"][data-bl-style="bls-0006"][data-bl-style="bls-0006"][data-bl-style="bls-0006"]{margin-top:18px}
[data-bl-style="bls-0007"][data-bl-style="bls-0007"][data-bl-style="bls-0007"][data-bl-style="bls-0007"][data-bl-style="bls-0007"][data-bl-style="bls-0007"][data-bl-style="bls-0007"][data-bl-style="bls-0007"]{margin-top:14px;}
[data-bl-style="bls-0008"][data-bl-style="bls-0008"][data-bl-style="bls-0008"][data-bl-style="bls-0008"][data-bl-style="bls-0008"][data-bl-style="bls-0008"][data-bl-style="bls-0008"][data-bl-style="bls-0008"]{margin-top:16px;}
[data-bl-style="bls-0009"][data-bl-style="bls-0009"][data-bl-style="bls-0009"][data-bl-style="bls-0009"][data-bl-style="bls-0009"][data-bl-style="bls-0009"][data-bl-style="bls-0009"][data-bl-style="bls-0009"]{margin-top:16px;}
[data-bl-style="bls-0010"][data-bl-style="bls-0010"][data-bl-style="bls-0010"][data-bl-style="bls-0010"][data-bl-style="bls-0010"][data-bl-style="bls-0010"][data-bl-style="bls-0010"][data-bl-style="bls-0010"]{margin-top:16px;}
[data-bl-style="bls-0011"][data-bl-style="bls-0011"][data-bl-style="bls-0011"][data-bl-style="bls-0011"][data-bl-style="bls-0011"][data-bl-style="bls-0011"][data-bl-style="bls-0011"][data-bl-style="bls-0011"]{margin-top:14px;}
[data-bl-style="bls-0012"][data-bl-style="bls-0012"][data-bl-style="bls-0012"][data-bl-style="bls-0012"][data-bl-style="bls-0012"][data-bl-style="bls-0012"][data-bl-style="bls-0012"][data-bl-style="bls-0012"]{margin-bottom:14px;}
[data-bl-style="bls-0013"][data-bl-style="bls-0013"][data-bl-style="bls-0013"][data-bl-style="bls-0013"][data-bl-style="bls-0013"][data-bl-style="bls-0013"][data-bl-style="bls-0013"][data-bl-style="bls-0013"]{margin-top:10px;}
[data-bl-style="bls-0014"][data-bl-style="bls-0014"][data-bl-style="bls-0014"][data-bl-style="bls-0014"][data-bl-style="bls-0014"][data-bl-style="bls-0014"][data-bl-style="bls-0014"][data-bl-style="bls-0014"]{margin-top:10px;}
[data-bl-style="bls-0015"][data-bl-style="bls-0015"][data-bl-style="bls-0015"][data-bl-style="bls-0015"][data-bl-style="bls-0015"][data-bl-style="bls-0015"][data-bl-style="bls-0015"][data-bl-style="bls-0015"]{margin-top:10px;}
[data-bl-style="bls-0016"][data-bl-style="bls-0016"][data-bl-style="bls-0016"][data-bl-style="bls-0016"][data-bl-style="bls-0016"][data-bl-style="bls-0016"][data-bl-style="bls-0016"][data-bl-style="bls-0016"]{margin-top:12px;}
[data-bl-style="bls-0017"][data-bl-style="bls-0017"][data-bl-style="bls-0017"][data-bl-style="bls-0017"][data-bl-style="bls-0017"][data-bl-style="bls-0017"][data-bl-style="bls-0017"][data-bl-style="bls-0017"]{margin-top:10px;}
[data-bl-style="bls-0018"][data-bl-style="bls-0018"][data-bl-style="bls-0018"][data-bl-style="bls-0018"][data-bl-style="bls-0018"][data-bl-style="bls-0018"][data-bl-style="bls-0018"][data-bl-style="bls-0018"]{margin-top:12px;}
[data-bl-style="bls-0019"][data-bl-style="bls-0019"][data-bl-style="bls-0019"][data-bl-style="bls-0019"][data-bl-style="bls-0019"][data-bl-style="bls-0019"][data-bl-style="bls-0019"][data-bl-style="bls-0019"]{margin-top:14px;}
[data-bl-style="bls-0020"][data-bl-style="bls-0020"][data-bl-style="bls-0020"][data-bl-style="bls-0020"][data-bl-style="bls-0020"][data-bl-style="bls-0020"][data-bl-style="bls-0020"][data-bl-style="bls-0020"]{margin-top:12px;}
[data-bl-style="bls-0021"][data-bl-style="bls-0021"][data-bl-style="bls-0021"][data-bl-style="bls-0021"][data-bl-style="bls-0021"][data-bl-style="bls-0021"][data-bl-style="bls-0021"][data-bl-style="bls-0021"]{margin-top:12px;}
[data-bl-style="bls-0022"][data-bl-style="bls-0022"][data-bl-style="bls-0022"][data-bl-style="bls-0022"][data-bl-style="bls-0022"][data-bl-style="bls-0022"][data-bl-style="bls-0022"][data-bl-style="bls-0022"]{display:inline-flex;color:#fff;text-decoration:none;position:relative;z-index:2}
[data-bl-style="bls-0023"][data-bl-style="bls-0023"][data-bl-style="bls-0023"][data-bl-style="bls-0023"][data-bl-style="bls-0023"][data-bl-style="bls-0023"][data-bl-style="bls-0023"][data-bl-style="bls-0023"]{position:relative;z-index:2}
[data-bl-style="bls-0024"][data-bl-style="bls-0024"][data-bl-style="bls-0024"][data-bl-style="bls-0024"][data-bl-style="bls-0024"][data-bl-style="bls-0024"][data-bl-style="bls-0024"][data-bl-style="bls-0024"]{position:relative;z-index:2}
[data-bl-style="bls-0025"][data-bl-style="bls-0025"][data-bl-style="bls-0025"][data-bl-style="bls-0025"][data-bl-style="bls-0025"][data-bl-style="bls-0025"][data-bl-style="bls-0025"][data-bl-style="bls-0025"]{position:relative;z-index:2}
[data-bl-style="bls-0026"][data-bl-style="bls-0026"][data-bl-style="bls-0026"][data-bl-style="bls-0026"][data-bl-style="bls-0026"][data-bl-style="bls-0026"][data-bl-style="bls-0026"][data-bl-style="bls-0026"]{position:relative;z-index:2}
[data-bl-style="bls-0028"][data-bl-style="bls-0028"][data-bl-style="bls-0028"][data-bl-style="bls-0028"][data-bl-style="bls-0028"][data-bl-style="bls-0028"][data-bl-style="bls-0028"][data-bl-style="bls-0028"]{margin-top:-6px;}
[data-bl-style="bls-0029"][data-bl-style="bls-0029"][data-bl-style="bls-0029"][data-bl-style="bls-0029"][data-bl-style="bls-0029"][data-bl-style="bls-0029"][data-bl-style="bls-0029"][data-bl-style="bls-0029"]{margin-top:14px;padding:16px;border-radius:22px;background:linear-gradient(135deg,rgba(37,99,235,.10),rgba(20,184,166,.10));border:1px solid rgba(37,99,235,.14);}
[data-bl-style="bls-0030"][data-bl-style="bls-0030"][data-bl-style="bls-0030"][data-bl-style="bls-0030"][data-bl-style="bls-0030"][data-bl-style="bls-0030"][data-bl-style="bls-0030"][data-bl-style="bls-0030"]{display:block;color:#0f172a;margin-bottom:6px;}
[data-bl-style="bls-0031"][data-bl-style="bls-0031"][data-bl-style="bls-0031"][data-bl-style="bls-0031"][data-bl-style="bls-0031"][data-bl-style="bls-0031"][data-bl-style="bls-0031"][data-bl-style="bls-0031"]{display:block;color:#64748b;font-size:13px;line-height:1.5;margin-bottom:10px;}

/* =========================================================
   BOOMLINK PROFESSIONAL 2026 — FINAL SYSTEM LAYER
   One visual language across every public, module and account page.
   ========================================================= */
:root{
  --bl-2026-ink:#081426;
  --bl-2026-muted:#5f6f85;
  --bl-2026-line:rgba(8,20,38,.09);
  --bl-2026-surface:rgba(255,255,255,.88);
  --bl-2026-shadow:0 18px 56px rgba(15,32,62,.10);
  --bl-2026-radius:24px;
}
html{scroll-behavior:smooth;background:#f5f8fc}
body{color:var(--bl-2026-ink);background:radial-gradient(circle at 8% -5%,rgba(65,111,255,.09),transparent 30rem),radial-gradient(circle at 96% 8%,rgba(35,197,173,.08),transparent 28rem),#f5f8fc}
body .premium-topbar{border:1px solid rgba(255,255,255,.72);box-shadow:0 10px 38px rgba(15,32,62,.08);backdrop-filter:blur(22px) saturate(1.35);-webkit-backdrop-filter:blur(22px) saturate(1.35)}
.premium-brand{gap:10px;min-width:max-content}
.premium-brand>img:first-child{height:30px;width:auto;object-fit:contain}
.premium-brand-divider{width:1px;height:25px;background:linear-gradient(transparent,rgba(8,20,38,.24),transparent)}
.premium-brand .premium-subbrand-logo{display:block;width:auto;max-width:104px;height:29px;object-fit:contain}
.premium-desktop-nav a{position:relative;transition:color .2s ease,background .2s ease,transform .2s ease}
.premium-desktop-nav a:hover{transform:translateY(-1px)}
.premium-desktop-nav a:is(:focus-visible,.is-active){outline:none;background:rgba(37,99,235,.09);color:#1d4ed8}
body .premium-app-main{width:min(100% - 32px,1240px);margin-inline:auto}
body:not(.premium-home) :is(.card,.simple-card,.form-card,.provider-panel,.profile-card,.dashboard-card,.action-card,.stat-card,.feature-row,.edu-panel,.admin-card,.search-result-card,.list-item,.doctor-glance-card,.restaurant-glance-card,.clinic-action-card,.doctor-action-card,.pharmacy-action-card,.staff-action-card,.customer-action-card,.food-quick-card,.med-quick-card,.food-feature-card,.med-feature-card,.payment-mode-card,.bill-detail-section){border-color:var(--bl-2026-line)!important;box-shadow:var(--bl-2026-shadow)!important;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
@media (hover:hover){body:not(.premium-home) :is(.search-result-card,.list-item,.customer-action-card,.clinic-action-card,.doctor-action-card,.food-quick-card,.med-quick-card):hover{transform:translateY(-3px);box-shadow:0 24px 68px rgba(15,32,62,.15)!important;border-color:rgba(37,99,235,.18)!important}}
main img{max-width:100%}.boom-image-fallback{object-fit:cover!important;background:#edf2f8}
:is(.restaurant-card,.clinic-card,.doctor-card,.edu-center-card,.course-card,.auto-center-card,.salon-card) img,
:is(.restaurant-hero-cover,.clinic-hero-cover,.center-hero-cover,.salon-hero-cover) img{image-rendering:auto}
:is(.restaurant-card-logo,.clinic-logo,.center-logo,.salon-logo) img,[class*="brand-logo"] img{object-fit:contain!important;background:#fff;padding:7px}
body.page-scope-food-restaurant .restaurant-glance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
:is(input,select,textarea,button,.btn,[class*="-btn"]):focus-visible{outline:3px solid rgba(37,99,235,.28)!important;outline-offset:2px}
:is(input,select,textarea){accent-color:#2563eb}
table{border-collapse:separate;border-spacing:0}th{font-size:.76rem;letter-spacing:.025em;text-transform:uppercase;color:var(--bl-2026-muted)}
.flash{border-radius:18px!important;box-shadow:0 12px 36px rgba(15,32,62,.09)}
@media(max-width:900px){
  body .premium-app-main{width:min(100% - 24px,1240px)}
  .premium-brand .premium-subbrand-logo{max-width:88px;height:25px}
  body.page-scope-food-restaurant .restaurant-glance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:640px){
  :root{--bl-2026-radius:20px}
  body{background:#f5f8fc;padding-bottom:calc(74px + env(safe-area-inset-bottom))}
  body .premium-topbar{top:0;border-width:0 0 1px;border-radius:0;min-height:62px;padding-inline:14px;background:rgba(255,255,255,.94)}
  body .premium-app-main{width:100%;padding-inline:14px}
  .premium-brand>img:first-child{height:26px}
  .premium-brand-divider{height:21px}
  .premium-brand .premium-subbrand-logo{max-width:74px;height:22px}
  body.page-scope-food-restaurant .restaurant-glance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important}
  body.page-scope-food-restaurant .restaurant-glance-card{min-width:0;padding:12px 6px!important;text-align:center}
  body.page-scope-food-restaurant .restaurant-glance-card strong{font-size:1rem!important}
  body.page-scope-food-restaurant .restaurant-glance-card span{font-size:.68rem!important}
  .premium-footer{display:none!important}
  :is(.table-wrap,.responsive-table){overflow-x:auto;-webkit-overflow-scrolling:touch}
  :is(button,.btn,[class*="-btn"],input,select){min-height:44px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}

/* Complete Autolink service-center route */
.auto-center-pro-hero{position:relative;min-height:440px;margin:16px 0 24px;border-radius:34px;overflow:hidden;background:#0b1830;color:#fff;box-shadow:0 28px 80px rgba(8,20,38,.2)}
.auto-center-pro-cover,.auto-center-pro-overlay{position:absolute;inset:0;width:100%;height:100%}.auto-center-pro-cover{object-fit:cover}.auto-center-pro-overlay{background:linear-gradient(90deg,rgba(5,14,30,.93),rgba(5,14,30,.5) 58%,rgba(5,14,30,.08))}
.auto-center-pro-content{position:relative;z-index:1;display:flex;min-height:440px;flex-direction:column;justify-content:flex-end;padding:40px;max-width:820px}.auto-center-pro-content .back-link{position:absolute;top:28px;color:#fff}.auto-center-pro-heading{display:flex;gap:18px;align-items:center}.auto-center-pro-heading>img{width:78px;height:78px;border-radius:22px;object-fit:contain;background:#fff;padding:9px}.auto-center-pro-heading h1{margin:0;font-size:clamp(2rem,5vw,4.4rem);line-height:.98}.auto-center-pro-heading p{color:rgba(255,255,255,.8);max-width:680px}.auto-center-pro-badges{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.auto-center-pro-badges span{padding:8px 11px;border-radius:999px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.18);font-size:.78rem;font-weight:800;backdrop-filter:blur(12px)}
.auto-center-pro-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:22px;align-items:start;margin-bottom:40px}.auto-center-pro-section{margin-bottom:26px}.auto-center-pro-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.auto-center-service-card{display:grid;grid-template-columns:112px 1fr;gap:14px;padding:12px;border-radius:24px;background:#fff;border:1px solid var(--bl-2026-line);box-shadow:var(--bl-2026-shadow)}.auto-center-service-card>img{width:112px;height:100%;min-height:126px;border-radius:17px;object-fit:cover}.auto-center-service-card h3{margin:5px 0}.auto-center-service-card p{color:var(--bl-2026-muted);font-size:.84rem}.auto-center-service-card small{color:#2563eb;font-weight:800}.auto-center-master-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.auto-center-master-card{display:flex;gap:12px;align-items:center;padding:12px;background:#fff;border:1px solid var(--bl-2026-line);border-radius:20px;text-decoration:none;color:inherit}.auto-center-master-card img{width:60px;height:60px;border-radius:17px;object-fit:cover}.auto-center-master-card h3{font-size:.95rem;margin:0}.auto-center-master-card p{font-size:.78rem;color:var(--bl-2026-muted);margin:4px 0}.auto-center-pro-aside{position:sticky;top:96px;padding:22px;border-radius:26px;background:rgba(255,255,255,.9);border:1px solid var(--bl-2026-line);box-shadow:var(--bl-2026-shadow);backdrop-filter:blur(18px)}.auto-center-pro-aside h2{margin-top:0}.auto-center-pro-aside p{display:grid;gap:5px;padding-bottom:12px;border-bottom:1px solid var(--bl-2026-line)}.auto-center-pro-aside p span{color:var(--bl-2026-muted)}.auto-center-pro-aside .btn{display:flex;justify-content:center;margin-top:9px}
@media(max-width:900px){.auto-center-pro-layout{grid-template-columns:1fr}.auto-center-pro-aside{position:static}.auto-center-master-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.auto-center-pro-hero{min-height:400px;margin-inline:-14px;border-radius:0 0 28px 28px}.auto-center-pro-content{min-height:400px;padding:26px 18px}.auto-center-pro-heading{align-items:flex-start}.auto-center-pro-heading>img{width:60px;height:60px;border-radius:18px}.auto-center-pro-grid,.auto-center-master-grid{grid-template-columns:1fr}.auto-center-service-card{grid-template-columns:92px 1fr}.auto-center-service-card>img{width:92px}.auto-center-pro-layout{margin-bottom:12px}}

/* =========================================================
   BOOMLINK 2026 UX REBUILD V2
   Comfortable information hierarchy + image-safe media rules
   ========================================================= */
body.module-page .section{margin-top:22px!important;margin-bottom:22px!important}
body.module-page :is(.section-head,.section-heading){align-items:end!important;margin-bottom:14px!important}
body.module-page :is(.section-title,.section-head h2){font-size:clamp(1.55rem,2.4vw,2.15rem)!important;letter-spacing:-.045em!important;line-height:1.05!important}
body.module-page :is(.section-subtitle,.section-head p){font-size:.94rem!important;line-height:1.5!important;color:#637187!important}

/* Compact module home heroes: useful content stays above the fold. */
body.module-page .module-hero,
body.page-scope-edu-index .pro-edu-hero,
body.page-scope-med-index .med-home-hero{
  min-height:0!important;
  max-height:none!important;
  padding:32px 38px!important;
  border-radius:30px!important;
  grid-template-columns:minmax(0,1fr) minmax(300px,430px)!important;
  gap:28px!important;
}
body.module-page .module-hero .pro-module-hero-mockup,
body.page-scope-edu-index .pro-edu-hero .pro-module-hero-mockup,
body.page-scope-med-index .med-home-hero .pro-module-hero-mockup{height:260px!important;min-height:0!important;padding:10px!important}
body.module-page .module-hero .pro-module-hero-mockup img,
body.page-scope-edu-index .pro-edu-hero .pro-module-hero-mockup img,
body.page-scope-med-index .med-home-hero .pro-module-hero-mockup img{width:100%!important;height:100%!important;max-height:none!important;object-fit:contain!important}
body.page-scope-edu-index .pro-edu-hero{display:grid!important;margin:16px 0 0!important;position:relative!important}
body.page-scope-edu-index .pro-edu-hero>div:first-child{position:relative;z-index:2}
body.page-scope-edu-index .edu-video-orb{position:absolute!important;left:38px!important;bottom:28px!important;width:auto!important;height:auto!important;min-height:0!important;border-radius:16px!important;padding:10px 14px!important;flex-direction:row!important;gap:9px!important;background:rgba(255,255,255,.14)!important}
body.page-scope-edu-index .edu-video-orb svg{width:22px!important;height:22px!important}
body.page-scope-edu-index .edu-video-orb strong{display:none!important}
body.page-scope-edu-index .edu-hero-actions{margin-bottom:55px!important}
body.page-scope-edu-index .pro-edu-hero h1{color:#fff!important;text-shadow:0 2px 18px rgba(0,0,0,.18)!important}
body.page-scope-edu-index .edu-action-card{min-height:190px!important;padding:18px!important;border-radius:24px!important}

/* Medlink home: portrait images are never face-cropped. */
body.page-scope-med-index .med-doctor-scroll{display:grid!important;grid-auto-flow:row!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-columns:auto!important;overflow:visible!important;gap:15px!important}
body.page-scope-med-index .med-doctor-card{border-radius:24px!important;min-width:0!important;display:flex!important;flex-direction:column!important}
body.page-scope-med-index .med-doctor-image{height:270px!important;background:linear-gradient(180deg,#eaf6ff,#f8fbff)!important;overflow:hidden!important}
body.page-scope-med-index .med-doctor-image>img{object-fit:contain!important;object-position:top center!important;transform:none!important}
body.page-scope-med-index .med-doctor-body{padding:16px!important;display:flex!important;flex:1!important;flex-direction:column!important}
body.page-scope-med-index .med-doctor-body h3{font-size:1.15rem!important;line-height:1.14!important;min-height:2.28em!important}
body.page-scope-med-index .med-doctor-body p{min-height:2.7em!important;line-height:1.35!important}
body.page-scope-med-index .med-doctor-open{margin-top:auto!important}
body.page-scope-med-index .med-doctor-meta strong{font-size:.73rem!important;line-height:1.25!important}

body.page-scope-med-index .med-clinic-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.page-scope-med-index .med-clinic-card{border-radius:26px!important}
body.page-scope-med-index .med-clinic-cover{height:230px!important}
body.page-scope-med-index .med-clinic-cover>img{object-fit:cover!important;object-position:center!important}
body.page-scope-med-index .med-clinic-logo{width:66px!important;height:66px!important;border-radius:19px!important;padding:8px!important;box-shadow:0 10px 30px rgba(8,20,38,.16)!important}
body.page-scope-med-index .med-clinic-logo img{object-fit:contain!important;border-radius:10px!important}
body.page-scope-med-index .med-clinic-body{padding:18px!important}
body.page-scope-med-index .med-clinic-body h3{font-size:1.25rem!important;line-height:1.16!important}
body.page-scope-med-index .med-clinic-address{margin:7px 0 0!important;color:#65758b!important}
body.page-scope-med-index .med-clinic-services{display:-webkit-box!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;overflow:hidden!important;min-height:2.8em!important;margin:12px 0!important;padding-top:12px!important;border-top:1px solid #edf1f6!important;line-height:1.4!important;color:#41516a!important}
body.page-scope-med-index .med-clinic-facts{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin:12px 0!important}
body.page-scope-med-index .med-clinic-facts span{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:7px 9px!important;border-radius:10px!important;background:#f2f7fb!important;color:#405169!important;font-size:.72rem!important;font-weight:800!important}
body.page-scope-med-index .med-clinic-facts svg{width:14px!important;height:14px!important}

/* Doctor detail: balanced two-column hero and immediate conversion actions. */
body.page-scope-med-doctor .doctor-profile-hero{margin-top:16px!important}
body.page-scope-med-doctor .doctor-hero-card{min-height:0!important;border-radius:30px!important;background:linear-gradient(135deg,#eaf8ff,#eef4ff)!important;border:1px solid rgba(14,165,233,.12)!important;box-shadow:0 22px 60px rgba(14,74,132,.12)!important;overflow:hidden!important}
body.page-scope-med-doctor .doctor-hero-bg{display:none!important}
body.page-scope-med-doctor .doctor-hero-content{display:grid!important;grid-template-columns:260px minmax(0,1fr)!important;gap:30px!important;align-items:center!important;padding:28px!important;color:#0b1b33!important}
body.page-scope-med-doctor .doctor-profile-photo{width:260px!important;height:300px!important;border-radius:24px!important;background:#dff1fb!important;border:0!important;box-shadow:none!important;overflow:hidden!important}
body.page-scope-med-doctor .doctor-profile-photo img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:top center!important;background:linear-gradient(180deg,#dff3ff,#f8fbff)!important}
body.page-scope-med-doctor .doctor-main-info{align-self:center!important;padding:8px 10px!important}
body.page-scope-med-doctor .doctor-main-info h1{font-size:clamp(2rem,4.3vw,4rem)!important;color:#07192f!important;line-height:1!important;margin:12px 0!important;max-width:800px!important}
body.page-scope-med-doctor .doctor-main-info>p{font-size:1.2rem!important;color:#1678a8!important}
body.page-scope-med-doctor .doctor-badges:empty{display:none!important}
body.page-scope-med-doctor .doctor-mini-tags{display:flex!important;gap:8px!important;flex-wrap:wrap!important;margin-top:18px!important}
body.page-scope-med-doctor .doctor-mini-tags span{display:inline-flex!important;align-items:center!important;gap:6px!important;border:1px solid rgba(14,165,233,.14)!important;background:#fff!important;color:#38506a!important;border-radius:999px!important;padding:8px 11px!important;font-size:.78rem!important;font-weight:850!important}
body.page-scope-med-doctor .doctor-mini-tags svg{width:15px!important;height:15px!important}
body.page-scope-med-doctor .doctor-hero-actions{display:flex!important;gap:9px!important;flex-wrap:wrap!important;margin-top:20px!important}
body.page-scope-med-doctor .doctor-hero-actions .btn{min-height:46px!important;display:inline-flex!important;align-items:center!important;gap:7px!important}
body.page-scope-med-doctor .doctor-hero-actions svg{width:17px!important;height:17px!important}
body.page-scope-med-doctor .doctor-glance-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:14px!important;gap:10px!important}
body.page-scope-med-doctor .doctor-glance-card{padding:16px 18px!important;border-radius:18px!important;box-shadow:none!important;background:#fff!important}
body.page-scope-med-doctor .doctor-action-stack{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
body.page-scope-med-doctor .doctor-about-card .doctor-info-list{grid-template-columns:repeat(3,minmax(0,1fr))!important}

/* Clinics and other provider detail pages: compact media + visible facts. */
body.page-scope-med-clinic .single-clinic-cover{height:320px!important;border-radius:28px!important}
body.page-scope-med-clinic .single-clinic-cover img{object-fit:cover!important;object-position:center!important}
body.page-scope-med-clinic .single-clinic-card{margin:-80px 28px 0!important;max-width:760px!important;padding:24px!important;border-radius:24px!important}
body.page-scope-med-clinic .single-clinic-logo img{object-fit:contain!important;background:#fff!important;padding:7px!important}
body.page-scope-med-clinic .clinic-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-scope-med-clinic .clinic-doctor-avatar img{object-fit:contain!important;object-position:top center!important;background:#edf8ff!important}
body.page-scope-med-clinic .clinic-doctor-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}

body.page-scope-beauty-salon-detail .salon-detail-cover,
body.page-scope-food-restaurant .restaurant-hero-cover{height:360px!important;min-height:0!important;border-radius:28px!important}
body.page-scope-beauty-salon-detail .salon-detail-cover>img,
body.page-scope-food-restaurant .restaurant-hero-cover>img{width:100%!important;height:100%!important;min-height:0!important;object-fit:cover!important;object-position:center!important}
body.page-scope-beauty-salon-detail .salon-detail-title,
body.page-scope-food-restaurant .restaurant-hero-content{max-width:760px!important}
body.page-scope-beauty-salon-detail .salon-detail-info-grid{grid-template-columns:1.25fr .75fr!important}
body.page-scope-beauty-salon-detail .salon-services-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-scope-beauty-salon-detail .salon-master-avatar img,
body.page-scope-beauty-master-detail .master-detail-avatar img{object-fit:contain!important;object-position:top center!important;background:#fff2f8!important}
body.page-scope-food-restaurant .restaurant-logo-badge img{object-fit:contain!important;background:#fff!important;padding:8px!important}
body.page-scope-food-restaurant .menu-item-image img{object-fit:cover!important;object-position:center!important}

/* Edulink list/detail: every course carries useful facts, no forced ellipsis. */
body.page-scope-edu-courses .edu-course-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:18px!important}
body.page-scope-edu-courses .edu-course-card{border-radius:25px!important;display:flex!important;flex-direction:column!important}
body.page-scope-edu-courses .edu-course-image{height:210px!important;background:#eef1ff!important}
body.page-scope-edu-courses .edu-course-image img{object-fit:cover!important;object-position:center!important}
body.page-scope-edu-courses .edu-course-body{display:flex!important;flex:1!important;flex-direction:column!important;padding:18px!important}
body.page-scope-edu-courses .edu-course-body h3{font-size:1.25rem!important;min-height:2.2em!important}
body.page-scope-edu-courses .edu-course-body>p{display:-webkit-box!important;-webkit-line-clamp:3!important;-webkit-box-orient:vertical!important;overflow:hidden!important;min-height:4.3em!important;margin-bottom:12px!important}
body.page-scope-edu-courses .edu-course-facts{display:flex!important;gap:7px!important;flex-wrap:wrap!important;margin-bottom:13px!important}
body.page-scope-edu-courses .edu-course-facts span{padding:7px 9px!important;border-radius:10px!important;background:#f5f3ff!important;color:#51476f!important;font-size:.73rem!important}
body.page-scope-edu-courses .edu-card-bottom{margin-top:auto!important}
body.page-scope-edu-course .edu-detail-hero{grid-template-columns:minmax(300px,38%) minmax(0,1fr)!important;padding:14px!important;border-radius:28px!important}
body.page-scope-edu-course .edu-detail-image{min-height:330px!important;border-radius:22px!important}
body.page-scope-edu-course .edu-detail-image img{object-fit:cover!important;object-position:center!important}
body.page-scope-edu-course .edu-meta-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.page-scope-edu-course .teacher-mini img,
body.page-scope-edu-teacher .teacher-detail-avatar img{object-fit:contain!important;object-position:top center!important;background:#f0efff!important}

@media(max-width:1050px){
  body.page-scope-med-index .med-doctor-scroll{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-scope-med-clinic .clinic-doctor-list{grid-template-columns:1fr!important}
  body.page-scope-edu-courses .edu-course-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  body.module-page .module-hero,
  body.page-scope-edu-index .pro-edu-hero,
  body.page-scope-med-index .med-home-hero{grid-template-columns:1fr!important;padding:22px 18px!important;border-radius:24px!important}
  body.module-page .module-hero .pro-module-hero-mockup,
  body.page-scope-edu-index .pro-edu-hero .pro-module-hero-mockup{height:210px!important;order:-1!important}
  body.page-scope-edu-index .edu-video-orb{position:static!important;margin-top:12px!important}
  body.page-scope-edu-index .edu-hero-actions{margin-bottom:0!important}
  body.page-scope-med-index .med-doctor-scroll{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important}
  body.page-scope-med-index .med-doctor-image{height:220px!important}
  body.page-scope-med-index .med-doctor-body h3{font-size:1rem!important}
  body.page-scope-med-index .med-doctor-meta{grid-template-columns:1fr!important}
  body.page-scope-med-index .med-clinic-list{grid-template-columns:1fr!important}
  body.page-scope-med-index .med-clinic-cover{height:205px!important}
  body.page-scope-med-doctor .doctor-hero-content{grid-template-columns:116px minmax(0,1fr)!important;gap:14px!important;padding:16px!important;align-items:start!important}
  body.page-scope-med-doctor .doctor-profile-photo{width:116px!important;height:154px!important;border-radius:19px!important}
  body.page-scope-med-doctor .doctor-main-info{padding:2px!important}
  body.page-scope-med-doctor .doctor-main-info h1{font-size:1.65rem!important;margin:8px 0!important}
  body.page-scope-med-doctor .doctor-main-info>p{font-size:.95rem!important}
  body.page-scope-med-doctor .doctor-hero-actions{grid-column:1/-1!important;margin-top:14px!important}
  body.page-scope-med-doctor .doctor-hero-actions .btn{flex:1 1 44%!important;justify-content:center!important}
  body.page-scope-med-doctor .doctor-glance-grid{grid-template-columns:1fr 1fr!important}
  body.page-scope-med-doctor .doctor-action-stack{grid-template-columns:1fr!important}
  body.page-scope-med-doctor .doctor-about-card .doctor-info-list{grid-template-columns:1fr 1fr!important}
  body.page-scope-med-clinic .single-clinic-cover{height:245px!important;border-radius:22px!important}
  body.page-scope-med-clinic .single-clinic-card{margin:-48px 10px 0!important;padding:17px!important}
  body.page-scope-med-clinic .clinic-contact-grid{grid-template-columns:1fr!important}
  body.page-scope-beauty-salon-detail .salon-detail-info-grid,
  body.page-scope-beauty-salon-detail .salon-services-list{grid-template-columns:1fr!important}
  body.page-scope-edu-courses .edu-course-grid{grid-template-columns:1fr!important;padding:0!important}
  body.page-scope-edu-courses .edu-course-image{height:195px!important}
  body.page-scope-edu-course .edu-detail-hero{grid-template-columns:1fr!important;border-radius:22px!important}
  body.page-scope-edu-course .edu-detail-image{min-height:220px!important}
}
@media(max-width:430px){
  body.page-scope-med-index .med-doctor-scroll{grid-template-columns:1fr!important}
  body.page-scope-med-index .med-doctor-card{display:grid!important;grid-template-columns:118px minmax(0,1fr)!important}
  body.page-scope-med-index .med-doctor-image{height:auto!important;min-height:210px!important}
  body.page-scope-med-index .med-doctor-meta{display:none!important}
  body.page-scope-med-index .med-doctor-body h3{min-height:0!important}
  body.page-scope-med-index .med-doctor-body p{min-height:0!important}
  body.page-scope-med-index .med-doctor-open{min-height:38px!important}
  body.page-scope-med-doctor .doctor-glance-grid{grid-template-columns:1fr!important}
  body.page-scope-med-doctor .doctor-about-card .doctor-info-list{grid-template-columns:1fr!important}
}

/* =========================================================
   BOOMLINK 2026 LAYOUT V3
   Compact premium heroes, complete restaurant logos and
   comfortable content density across the reported pages.
   ========================================================= */
:root{
  --bl-v3-navy:#071a39;
  --bl-v3-line:#e5ebf4;
  --bl-v3-shadow:0 16px 42px rgba(20,39,72,.09);
}

/* The source mockups include a presentation board. This frame crops the
   board and keeps the realistic phone on the right without editing assets. */
body.module-page :is(.module-hero,.food-home-hero,.med-home-hero,.pro-edu-hero){
  position:relative!important;
  min-height:0!important;
  overflow:hidden!important;
  isolation:isolate!important;
}
body.module-page :is(.module-hero,.food-home-hero,.med-home-hero,.pro-edu-hero) .pro-module-hero-mockup{
  position:relative!important;
  width:340px!important;
  height:238px!important;
  min-width:0!important;
  min-height:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.5)!important;
  border-radius:26px!important;
  background:rgba(255,255,255,.92)!important;
  box-shadow:0 22px 58px rgba(7,26,57,.17)!important;
}
body.module-page :is(.module-hero,.food-home-hero,.med-home-hero,.pro-edu-hero) .pro-module-hero-mockup img{
  position:absolute!important;
  width:620px!important;
  height:auto!important;
  max-width:none!important;
  max-height:none!important;
  right:-24px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  object-fit:initial!important;
  border-radius:0!important;
  filter:none!important;
}

/* Foodlink and Medlink: remove the oversized empty app panel. */
body.page-scope-food-index .food-home-hero,
body.page-scope-med-index .med-home-hero{
  padding:28px 30px!important;
  border-radius:30px!important;
  box-shadow:0 20px 52px rgba(34,80,185,.18)!important;
}
body.page-scope-food-index .food-home-hero{
  background:radial-gradient(circle at 78% 0,rgba(255,255,255,.2),transparent 35%),linear-gradient(135deg,#f97316,#ef4444 48%,#7c3aed)!important;
}
body.page-scope-med-index .med-home-hero{
  background:radial-gradient(circle at 78% 0,rgba(255,255,255,.2),transparent 35%),linear-gradient(135deg,#0ea5a6,#1687e8 55%,#3156d8)!important;
}
body.page-scope-food-index .food-home-hero-top,
body.page-scope-med-index .med-home-hero-top{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  align-items:center!important;
  gap:30px!important;
}
body.page-scope-food-index .food-home-hero-top>div:first-child,
body.page-scope-med-index .med-home-hero-top>div:first-child{max-width:690px!important}
body.page-scope-food-index .food-home-hero h1,
body.page-scope-med-index .med-home-hero h1{
  margin:10px 0 9px!important;
  color:#fff!important;
  font-size:clamp(40px,4.7vw,62px)!important;
  line-height:.94!important;
  letter-spacing:-.065em!important;
}
body.page-scope-food-index .food-home-hero p,
body.page-scope-med-index .med-home-hero p{
  max-width:680px!important;
  color:rgba(255,255,255,.87)!important;
  font-size:15px!important;
  line-height:1.5!important;
}
body.page-scope-food-index .food-home-avatar,
body.page-scope-med-index .med-home-avatar{display:none!important}
body.page-scope-food-index .food-home-user,
body.page-scope-med-index .med-home-user{
  width:max-content!important;
  min-width:150px!important;
  margin-top:14px!important;
  padding:8px 12px!important;
  border:1px solid rgba(255,255,255,.18)!important;
  border-radius:14px!important;
}
body.page-scope-food-index .food-home-user span,
body.page-scope-med-index .med-home-user span{display:inline!important;margin:0 4px 0 0!important}
body.page-scope-food-index .food-home-user strong,
body.page-scope-med-index .med-home-user strong{display:inline!important;font-size:13px!important}
body.page-scope-food-index .food-home-search,
body.page-scope-med-index .med-home-search{
  max-width:850px!important;
  margin-top:14px!important;
  padding:6px!important;
  border-radius:18px!important;
}
body.page-scope-food-index .food-home-search div,
body.page-scope-med-index .med-home-search div{min-height:44px!important}
body.page-scope-food-index .food-home-search button,
body.page-scope-med-index .med-home-search button{min-height:44px!important;border-radius:13px!important;padding:0 20px!important}
body.page-scope-food-index .food-home-stats,
body.page-scope-med-index .med-home-stats{gap:10px!important;margin-top:12px!important}
body.page-scope-food-index .food-home-stats div,
body.page-scope-med-index .med-home-stats div{padding:13px 10px!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(21,43,80,.05)!important}

/* Autolink and Beautylink use the same premium hero geometry. */
body:is(.page-scope-auto-index,.page-scope-beauty-index) .module-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  align-items:center!important;
  gap:30px!important;
  min-height:294px!important;
  padding:28px 30px!important;
  border:1px solid rgba(255,255,255,.7)!important;
  border-radius:30px!important;
  box-shadow:var(--bl-v3-shadow)!important;
}
body.page-scope-auto-index .module-hero{background:radial-gradient(circle at 82% 0,rgba(37,99,235,.13),transparent 38%),linear-gradient(135deg,#fff,#eef4ff)!important}
body.page-scope-beauty-index .module-hero{background:radial-gradient(circle at 82% 0,rgba(236,72,153,.14),transparent 38%),linear-gradient(135deg,#fff,#fff1f7)!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .module-hero h1{font-size:clamp(42px,5vw,66px)!important;margin:10px 0!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .module-hero p{max-width:620px!important;font-size:15px!important;line-height:1.5!important}

/* Edulink: keep the strong gradient but remove unused vertical space. */
body.page-scope-edu-index .pro-edu-hero{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 340px!important;
  align-items:center!important;
  gap:30px!important;
  min-height:294px!important;
  margin:16px 0 0!important;
  padding:28px 30px!important;
  border-radius:30px!important;
}
body.page-scope-edu-index .pro-edu-hero h1{font-size:clamp(42px,5vw,62px)!important;margin:10px 0!important}
body.page-scope-edu-index .pro-edu-hero p{max-width:690px!important;font-size:15px!important;line-height:1.48!important}
body.page-scope-edu-index .edu-hero-actions{margin:18px 0 0!important}
body.page-scope-edu-index .edu-video-orb{display:none!important}
body.page-scope-edu-index .edu-stat-row{gap:10px!important;margin-top:12px!important}
body.page-scope-edu-index .edu-stat-card{padding:14px 16px!important;border-radius:18px!important;box-shadow:0 8px 24px rgba(21,43,80,.05)!important}
body.page-scope-edu-index .edu-stat-card strong{font-size:27px!important}

/* Homepage actions and feature rows no longer look like empty oversized boxes. */
body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-grid{gap:12px!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-card{
  min-height:168px!important;
  padding:18px!important;
  border:1px solid var(--bl-v3-line)!important;
  border-radius:22px!important;
  box-shadow:0 10px 30px rgba(21,43,80,.06)!important;
}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-card>span{width:46px!important;height:46px!important;border-radius:15px!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-card h3{font-size:18px!important;margin-top:18px!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-card p{font-size:13px!important;line-height:1.45!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .simple-card{padding:20px!important;border-radius:24px!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .simple-card .section-title{font-size:25px!important;margin:0 0 14px!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .feature-list{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .feature-row{
  min-height:104px!important;
  display:flex!important;
  align-items:flex-start!important;
  gap:10px!important;
  padding:14px!important;
  border:1px solid var(--bl-v3-line)!important;
  border-radius:18px!important;
  box-shadow:none!important;
}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .feature-row>span{width:38px!important;height:38px!important;min-width:38px!important;border-radius:12px!important}
body:is(.page-scope-auto-index,.page-scope-beauty-index) .feature-row h3{font-size:13px!important;line-height:1.35!important}

/* Foodlink restaurant cards: the logo is a wide, padded brand plate. */
.restaurant-brand-frame{position:relative!important;background:#fff!important;overflow:hidden!important}
.restaurant-brand-frame .restaurant-logo-fallback{
  position:absolute!important;
  inset:0!important;
  display:grid!important;
  place-items:center!important;
  color:#f97316!important;
  font-size:24px!important;
  font-weight:950!important;
}
.restaurant-brand-frame img{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  height:100%!important;
  padding:8px!important;
  object-fit:contain!important;
  object-position:center!important;
  background:#fff!important;
}
body.page-scope-food-index .food-popular-scroll{
  display:grid!important;
  grid-auto-flow:row!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  grid-auto-columns:auto!important;
  gap:14px!important;
  overflow:visible!important;
}
body.page-scope-food-index .food-popular-card{border-radius:24px!important;box-shadow:0 12px 34px rgba(15,35,68,.08)!important}
body.page-scope-food-index .food-popular-cover{height:182px!important}
body.page-scope-food-index .food-popular-logo{
  width:104px!important;
  height:58px!important;
  left:14px!important;
  bottom:14px!important;
  border-radius:16px!important;
  box-shadow:0 10px 28px rgba(7,26,57,.18)!important;
}
body.page-scope-food-index .food-popular-body{padding:16px!important}
body.page-scope-food-index .food-popular-body h3{font-size:18px!important;line-height:1.18!important;min-height:2.36em!important}
body.page-scope-food-index .food-popular-body p{min-height:2.7em!important;line-height:1.35!important}
body.page-scope-food-index .food-popular-meta span{display:flex!important;align-items:center!important;justify-content:center!important;min-height:48px!important;line-height:1.25!important}
body.page-scope-food-index .food-quick-actions{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.page-scope-food-index .food-quick-card{grid-template-columns:48px 1fr 32px!important;border-radius:20px!important;padding:13px!important}
body.page-scope-food-index .food-quick-card>span{width:48px!important;height:48px!important;border-radius:16px!important}
body.page-scope-food-index .food-feature-stack{grid-template-columns:repeat(3,minmax(0,1fr))!important}
body.page-scope-food-index .food-feature-card{border-radius:22px!important;min-height:130px!important}

/* Restaurant catalogue: two comfortable cards per row, not one huge strip. */
body.page-scope-food-restaurants .food-app-hero{padding:24px 26px!important;border-radius:26px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:20px!important}
body.page-scope-food-restaurants .food-hero-actions{margin:0!important;min-width:270px!important}
body.page-scope-food-restaurants .restaurant-search-card{padding:16px!important;border-radius:24px!important}
body.page-scope-food-restaurants .restaurant-app-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
body.page-scope-food-restaurants .restaurant-app-card{border-radius:26px!important}
body.page-scope-food-restaurants .restaurant-app-cover{height:250px!important}
body.page-scope-food-restaurants .restaurant-cover-content{grid-template-columns:112px minmax(0,1fr)!important;align-items:end!important}
body.page-scope-food-restaurants .restaurant-logo-small{width:112px!important;height:62px!important;border-radius:16px!important;box-shadow:0 10px 28px rgba(7,26,57,.2)!important}
body.page-scope-food-restaurants .restaurant-cover-content h2{font-size:24px!important;line-height:1.05!important}
body.page-scope-food-restaurants .restaurant-app-body{padding:16px!important}

/* Restaurant detail: larger full wordmark with all core details above fold. */
body.page-scope-food-restaurant .restaurant-hero-cover{height:330px!important;border-radius:28px!important}
body.page-scope-food-restaurant .restaurant-hero-content{grid-template-columns:132px minmax(0,1fr)!important;gap:16px!important;left:22px!important;right:22px!important;bottom:22px!important}
body.page-scope-food-restaurant .restaurant-logo-badge{width:132px!important;height:76px!important;border-radius:18px!important}
body.page-scope-food-restaurant .restaurant-title-block h1{font-size:clamp(28px,4vw,44px)!important}

/* Teacher list: generic course art is not presented as a fake portrait. */
body.page-scope-edu-teachers .edu-teachers-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
body.page-scope-edu-teachers .edu-teacher-card{padding:18px!important;border-radius:24px!important;box-shadow:0 12px 34px rgba(15,35,68,.07)!important}
body.page-scope-edu-teachers .edu-teacher-top{grid-template-columns:92px minmax(0,1fr)!important;gap:15px!important}
body.page-scope-edu-teachers .edu-teacher-avatar{width:92px!important;height:104px!important;border-radius:20px!important}
body.page-scope-edu-teachers .edu-teacher-avatar img{object-fit:contain!important;object-position:top center!important;background:#eef4ff!important}
body.page-scope-edu-teachers .edu-teacher-initial{font-size:36px!important;font-weight:950!important;color:#4f46e5!important}
body.page-scope-edu-teachers .edu-teacher-name-row h2{font-size:21px!important}
body.page-scope-edu-teachers .edu-teacher-bio{min-height:64px!important;background:#f5f8fc!important;color:#3b536d!important}
body.page-scope-edu-teachers .edu-teacher-info-grid div{padding:11px!important;border-radius:15px!important}

@media(max-width:1050px){
  body.page-scope-food-index .food-popular-scroll{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .feature-list{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-scope-food-restaurants .restaurant-app-list{grid-template-columns:1fr!important}
}

@media(max-width:760px){
  body.module-page :is(.module-hero,.food-home-hero,.med-home-hero,.pro-edu-hero) .pro-module-hero-mockup{
    position:absolute!important;
    z-index:0!important;
    width:158px!important;
    height:124px!important;
    right:-20px!important;
    top:16px!important;
    opacity:.92!important;
    border-radius:20px!important;
  }
  body.module-page :is(.module-hero,.food-home-hero,.med-home-hero,.pro-edu-hero) .pro-module-hero-mockup img{width:325px!important;right:-18px!important}
  body.page-scope-food-index .food-home-hero,
  body.page-scope-med-index .med-home-hero,
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .module-hero,
  body.page-scope-edu-index .pro-edu-hero{
    display:block!important;
    min-height:0!important;
    padding:22px 18px!important;
    border-radius:24px!important;
  }
  body.page-scope-food-index .food-home-hero-top,
  body.page-scope-med-index .med-home-hero-top{display:block!important;padding-right:98px!important}
  body.page-scope-food-index .food-home-hero-top>div:first-child,
  body.page-scope-med-index .med-home-hero-top>div:first-child,
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .pro-module-copy,
  body.page-scope-edu-index .pro-edu-hero>div:first-child{position:relative!important;z-index:2!important}
  body.page-scope-food-index .food-home-hero h1,
  body.page-scope-med-index .med-home-hero h1,
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .module-hero h1,
  body.page-scope-edu-index .pro-edu-hero h1{font-size:38px!important;max-width:70%!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .pro-module-copy,
  body.page-scope-edu-index .pro-edu-hero>div:first-child{padding-right:86px!important}
  body.page-scope-food-index .food-home-hero p,
  body.page-scope-med-index .med-home-hero p,
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .module-hero p,
  body.page-scope-edu-index .pro-edu-hero p{font-size:13px!important;line-height:1.42!important}
  body.page-scope-food-index .food-home-search,
  body.page-scope-med-index .med-home-search{margin-top:12px!important}
  body.page-scope-food-index .food-home-stats,
  body.page-scope-med-index .med-home-stats,
  body.page-scope-edu-index .edu-stat-row{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.page-scope-food-index .food-quick-actions,
  body.page-scope-food-index .food-feature-stack{grid-template-columns:1fr!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-card{min-height:150px!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .feature-list{grid-template-columns:1fr!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .feature-row{min-height:0!important;align-items:center!important}
  body.page-scope-food-restaurants .food-app-hero{grid-template-columns:1fr!important;padding:20px!important}
  body.page-scope-food-restaurants .food-hero-actions{min-width:0!important;margin-top:14px!important}
  body.page-scope-food-restaurants .restaurant-app-cover{height:220px!important}
  body.page-scope-edu-teachers .edu-teachers-list{grid-template-columns:1fr!important}
  body.page-scope-food-restaurant .restaurant-hero-cover{height:285px!important}
  body.page-scope-food-restaurant .restaurant-hero-content{grid-template-columns:92px minmax(0,1fr)!important;left:14px!important;right:14px!important;bottom:14px!important}
  body.page-scope-food-restaurant .restaurant-logo-badge{width:92px!important;height:60px!important;border-radius:15px!important}
}

@media(max-width:430px){
  body.page-scope-food-index .food-popular-scroll{grid-template-columns:1fr!important;gap:12px!important}
  body.page-scope-food-index .food-popular-body h3{min-height:0!important}
  body.page-scope-food-index .food-popular-body p{min-height:0!important}
  body.page-scope-food-index .food-home-search,
  body.page-scope-med-index .med-home-search{grid-template-columns:1fr!important}
  body.page-scope-food-index .food-home-search button,
  body.page-scope-med-index .med-home-search button{width:100%!important}
  body.page-scope-food-index .food-home-user,
  body.page-scope-med-index .med-home-user{display:none!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-grid{grid-template-columns:1fr!important}
  body:is(.page-scope-auto-index,.page-scope-beauty-index) .action-card{min-height:0!important}
  body.page-scope-food-restaurants .restaurant-cover-content{grid-template-columns:86px minmax(0,1fr)!important}
  body.page-scope-food-restaurants .restaurant-logo-small{width:86px!important;height:54px!important}
  body.page-scope-food-restaurants .restaurant-cover-content h2{font-size:21px!important}
  body.page-scope-edu-teachers .edu-teacher-info-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
