:root {
    /* =====================================================
       Brand
       ===================================================== */

    --color-deep-teal: #0b3d3a;
    --color-dark-teal: #071f26;
    --color-teal: #0f766e;
    --color-teal-bright: #19b6a4;
    --color-leaf-green: #22c55e;
    --color-soft-mint: #e8f5ee;


    /* =====================================================
       Backgrounds / Surfaces
       ===================================================== */

    --color-bg: #05191e;
    --color-surface: #102f34;
    --color-surface-secondary: #164449;
    --color-surface-deep: #061c22;
    --color-surface-light: #f4faf7;


    /* =====================================================
       Typography
       ===================================================== */

    --color-text: #ffffff;
    --color-text-muted: #9fb8b4;
    --color-text-dark: #071f26;


    /* =====================================================
       Borders
       ===================================================== */

    --color-border: #28565a;
    --color-border-light: #bfdcd2;
    --color-border-input: #39707d;


    /* =====================================================
       Interactive
       ===================================================== */

    --color-primary: #0f766e;
    --color-primary-hover: #0b5f59;

    --color-interactive: #19b6a4;
    --color-interactive-hover: #36cfbd;

    --color-accent: #22c55e;
    --color-accent-soft: #e8f5ee;


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

    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-danger: #dc4c4c;
    --color-info: #38bdf8;
    --color-disabled: #718584;


    /* =====================================================
       Legacy Compatibility
       ===================================================== */

    --bg: #071f26;
    --panel: #0d2e38;
    --panel2: #123d49;
    --panel-deep: #061c22;

    --brand: #19b6a4;
    --brand-hover: #36cfbd;

    --accent: #ffc857;

    --text: #f4fbfc;
    --muted: #a9c4ca;

    --border: #24515b;
    --border-input: #39707d;

    --danger: #ef6b73;
    --danger-dark: #702d36;
    --success: #17604e;
}
* {
    box-sizing: border-box;
}
html {
    background: var(--bg);
}
body {
    min-height: 100vh;
    margin: 0;
    padding-bottom: 72px;
    background: linear-gradient(160deg, #071f26, #0b3541);
    color: var(--text);
    font-family: Arial, sans-serif;
}

/* =========================================================
   02. Application Shell
   ========================================================= */
.topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
    background: rgba(7, 31, 38, .95);
}
.brand {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}
.brand:hover {
    color: #fff;
}
.user-chip {
    color: var(--muted);
    font-size: .82rem;
}
.shell {
    width: min(950px, calc(100% - 28px));
    margin: 24px auto;
}
.hero {
    padding: 34px 0;
}
.hero h1 {
    margin: .2em 0;
    font-size: clamp(2rem, 8vw, 4rem);
}
.lead {
    color: var(--muted);
    font-size: 1.08rem;
}

/* =========================================================
   03. Shared Layout / Cards / Status
   ========================================================= */

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    margin-bottom: 16px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(145deg, var(--panel), var(--panel2));
    box-shadow: 0 12px 30px #0004;
    color: var(--text);
}

.card h2,
.card h3 {
    margin-top: 0;
}

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

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

.list-item {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #0a2730;
}

.meta {
    color: var(--muted);
    font-size: .9rem;
}

.stat {
    color: var(--accent);
    font-size: 2rem;
    font-weight: 800;
}

.status {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--border);
    font-size: .8rem;
    text-transform: capitalize;
}

.profile-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.profile-heading h1 {
    margin: 0;
}

.status-approved {
    border: 1px solid #35c795;
    background: rgba(23, 96, 78, .85);
    color: #d9fff1;
}

.status-pending {
    border: 1px solid #ffc857;
    background: rgba(255, 200, 87, .15);
    color: #ffe7a3;
}

.status-restricted {
    border: 1px solid #ef6b73;
    background: rgba(112, 45, 54, .85);
    color: #ffd9dc;
}

.route-number {
    display: inline-grid;
    width: 32px;
    height: 32px;
    place-items: center;
    margin-right: 8px;
    border-radius: 50%;
    background: var(--accent);
    color: #111;
    font-weight: 900;
}

/* =========================================================
   04. Buttons / Actions
   ========================================================= */

.button,
button {
    display: inline-block;
    padding: 12px 16px;
    border: 0;
    border-radius: 12px;
    background: var(--brand);
    color: #042027;
    cursor: pointer;
    font-weight: 800;
    text-decoration: none;
}

.button:hover,
button:hover {
    color: #042027;
}

.button.secondary {
    background: #244f59;
    color: #fff;
}

.button.accent {
    background: var(--accent);
}

.button.danger {
    background: var(--danger);
    color: #fff;
}

/* =========================================================
   05. Forms
   ========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.full {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 5px;
    color: var(--muted);
    font-size: .9rem;
}

input,
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-input);
    border-radius: 10px;
    background: var(--panel-deep);
    color: #fff;
    font: inherit;
}

textarea {
    min-height: 90px;
}

/* Bootstrap controls inherit the dark application theme. */
.form-control,
.form-select,
.input-group-text {
    border-color: var(--border-input);
    background-color: var(--panel-deep);
    color: #fff;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    background-color: var(--bg);
    color: #fff;
    box-shadow: 0 0 0 .2rem rgba(25, 182, 164, .18);
}

.form-control::placeholder {
    color: #6f8e94;
}

.form-select {
    color-scheme: dark;
}

/* =========================================================
   06. Alerts
   ========================================================= */

.alert {
    margin: 12px 0;
    padding: 12px 15px;
    border-radius: 10px;
    background: #1d5968;
}

.alert.error,
.alert-danger {
    background: var(--danger-dark);
    color: #fff;
}

.alert.success,
.alert-success {
    background: var(--success);
    color: #fff;
}

/* =========================================================
   07. Pet / Profile Components
   ========================================================= */

.pet-directory-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.pet-directory-header h1 {
    margin: 0;
}

.pet-directory-header p {
    margin: 7px 0 0;
}

.pet-directory-add {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 8px;
}

.pet-directory {
    display: grid;
    gap: 14px;
}

.pet-directory-card {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 22px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: linear-gradient(
        145deg,
        rgba(13, 46, 56, .96),
        rgba(18, 61, 73, .92)
    );
    box-shadow: 0 12px 30px rgba(0, 0, 0, .16);
}

.pet-directory-photo {
    width: 175px;
}

.pet-photo,
.pet-photo-placeholder {
    display: block;
    width: 175px;
    height: 175px;
    margin: 0;
    border-radius: 15px;
}

.pet-photo {
    object-fit: cover;
}

.pet-photo-placeholder {
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .6);
    font-size: 3rem;
}

.pet-directory-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.pet-directory-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.pet-directory-heading h2 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.15;
}

.pet-directory-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: #c5dade;
    font-size: .9rem;
}

.pet-directory-separator {
    color: #648f96;
}

.pet-directory-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 15px;
}

.pet-note-block {
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(6, 28, 34, .42);
}

.pet-note-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 5px;
    color: #7be7da;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.pet-note-label i {
    color: var(--accent);
}

.pet-note-block p {
    margin: 0;
    color: #d5e3e5;
    font-size: .85rem;
    line-height: 1.4;
}

.pet-note-block .pet-note-empty {
    color: #779aa0;
    font-style: italic;
}

.pet-directory-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 12px;
}

.pet-directory-actions .button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 13px;
    font-size: .82rem;
}

.pet-directory-footer {
    margin-top: 16px;
}

.pet-directory-empty {
    margin-bottom: 0;
}

/* =========================================================
   08. Bottom Navigation
   ========================================================= */

.bottom-nav {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: space-around;
    padding: 12px;
    border-top: 1px solid var(--border);
    background: #061a20;
}

.bottom-nav a {
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* =========================================================
   09. Registration / Login
   ========================================================= */

.registration-page {
    min-height: 100vh;
    padding: 0;
    background:
        radial-gradient(circle at 12% 16%, rgba(25, 182, 164, .14), transparent 30rem),
        linear-gradient(145deg, #071f26 0%, #0a3340 55%, #071f26 100%);
    color: var(--text);
}

.registration-topbar {
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(7, 31, 38, .88);
    backdrop-filter: blur(14px);
}

.registration-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.registration-nav {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.registration-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.registration-brand:hover {
    color: #fff;
}

.registration-brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 13px;
    background: rgba(25, 182, 164, .12);
    color: var(--brand);
}

.registration-brand small {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(255, 200, 87, .12);
    color: var(--accent);
    font-size: .68rem;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.registration-login {
    color: var(--muted);
    font-size: .92rem;
    text-decoration: none;
}

.registration-login strong {
    color: #fff;
}

.registration-main {
    padding: 72px 0 90px;
}

.registration-layout {
    display: grid;
    grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
    align-items: start;
    gap: clamp(42px, 7vw, 92px);
}

.registration-intro {
    position: sticky;
    top: 36px;
    padding: 18px 0;
}

.registration-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 50px;
    color: var(--muted);
    font-weight: 700;
    text-decoration: none;
}

.registration-back:hover {
    color: #fff;
}

.registration-eyebrow,
.registration-step {
    margin: 0 0 12px;
    color: #50dfcd;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.registration-intro h1 {
    max-width: 500px;
    margin: 0;
    color: #fff;
    font-size: clamp(3rem, 6vw, 5.25rem);
    letter-spacing: -.055em;
    line-height: .94;
}

.registration-lead {
    max-width: 520px;
    margin: 26px 0 0;
    color: #bdd0d4;
    font-size: 1.08rem;
    line-height: 1.7;
}

.registration-benefits {
    display: grid;
    gap: 15px;
    margin-top: 38px;
}

.registration-benefits div {
    display: flex;
    align-items: center;
    gap: 13px;
    color: #dce9eb;
}

.registration-benefits i {
    display: grid;
    width: 38px;
    color: var(--accent);
    text-align: center;
}

.registration-card {
    padding: clamp(24px, 4vw, 44px);
    border: 1px solid var(--border);
    border-radius: 28px;
    background: rgba(13, 46, 56, .94);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .3);
}

.registration-card-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -.035em;
}

.registration-card-header > p:last-child {
    margin: 10px 0 0;
    color: var(--muted);
}

.registration-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 28px 0 0;
    border: 0;
    border-radius: 14px;
}

.registration-section {
    margin: 0;
    padding: 34px 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.registration-section legend {
    float: none;
    width: auto;
    margin: 0 0 18px;
    color: #fff;
    font-size: 1.02rem;
    font-weight: 900;
}

.registration-section-copy,
.registration-hint {
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.55;
}

.registration-section-copy {
    margin: -8px 0 20px;
}

.registration-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 72px auto 90px;
}

.account-type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-type-card {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.account-type-card input {
    position: absolute;
    width: auto;
    padding: 0;
    opacity: 0;
    pointer-events: none;
}

.account-type-content {
    display: flex;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 0;
    height: auto;
    flex-direction: column;
    padding: 20px;
    border: 1px solid var(--border-input);
    border-radius: 18px;
    background: #082831;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.account-type-card:hover .account-type-content {
    transform: translateY(-2px);
    border-color: var(--brand);
}

.account-type-card input:checked + .account-type-content {
    border-color: var(--brand);
    background: rgba(25, 182, 164, .12);
    box-shadow: inset 0 0 0 1px var(--brand);
}

.account-type-card input:focus-visible + .account-type-content {
    outline: 3px solid rgba(25, 182, 164, .28);
    outline-offset: 3px;
}

.account-type-icon {
    margin-bottom: 20px;
    color: var(--accent);
    font-size: 1.45rem;
}

.account-type-content strong {
    color: #fff;
    font-size: 1rem;
}

.account-type-content small {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.45;
}

.registration-page .form-label {
    margin-bottom: 7px;
    color: #c7dade;
    font-size: .86rem;
    font-weight: 700;
}

.registration-page .form-control,
.registration-page .form-select {
    padding: .75rem .9rem;
}

.registration-page .input-group-text {
    min-width: 48px;
    justify-content: center;
    border-right: 0;
    color: #82aaaf;
}

.registration-page .input-group .form-control {
    border-left: 0;
}

.registration-password-section {
    border-bottom: 0;
}

.registration-submit {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #032229;
    font-weight: 900;
    transition: transform .18s ease, background .18s ease;
}

.registration-submit:hover,
.registration-submit:focus-visible {
    transform: translateY(-1px);
    background: var(--brand-hover);
    color: #032229;
}

.registration-mobile-login {
    display: none;
    margin: 22px 0 0;
    color: var(--muted);
    text-align: center;
}

.registration-mobile-login a {
    color: #fff;
    font-weight: 800;
}

.password-toggle {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-disabled-color: #fff;

    width: 52px;
    border: 1px solid var(--border-input);
    border-left: 0;
    border-radius: 0 .375rem .375rem 0;
    background: var(--panel-deep);
}

.password-toggle:hover,
.password-toggle:focus,
.password-toggle:focus-visible,
.password-toggle:active {
    background: #0a2b34;
    border-color: var(--border-input);
}


/* Shared modern application header */
.topbar.app-header {
    padding: 0;
}

.app-header-container {
    width: min(1180px, calc(100% - 40px));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.app-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.app-brand:hover,
.app-brand:focus-visible {
    color: #fff;
}

.app-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid #39707d;
    border-radius: 14px;
    background: rgba(25, 182, 164, .12);
    color: var(--brand);
    font-size: 1.05rem;
}

.app-brand-name {
    color: #fff;
    font-size: 1.05rem;
    letter-spacing: .01em;
}

.app-badge {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 200, 87, .14);
    color: var(--accent);
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .07em;
    line-height: 1;
    text-transform: uppercase;
}

.app-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
}

.app-header-login {
    color: var(--muted);
    font-size: .92rem;
    text-decoration: none;
}

.app-header-login strong {
    color: #fff;
}

.app-header-login:hover,
.app-header-login:focus-visible,
.app-header-login:hover strong,
.app-header-login:focus-visible strong {
    color: var(--brand);
}


/* =========================================================
   10. Customer Dashboard
   ========================================================= */

.customer-dashboard-page {
    background:
        radial-gradient(circle at 10% 8%, rgba(25, 182, 164, .10), transparent 26rem),
        linear-gradient(160deg, var(--bg), #0b3541);
}

.customer-dashboard-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 58px auto 100px;
}

.dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 32px;
}

.dashboard-eyebrow,
.dashboard-section-kicker,
.dashboard-card-kicker {
    display: block;
    margin: 0 0 10px;
    color: #50dfcd;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dashboard-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.dashboard-lead {
    max-width: 650px;
    margin: 16px 0 0;
    color: #bdd0d4;
    font-size: 1.05rem;
    line-height: 1.65;
}

.dashboard-primary-action {
    display: inline-flex;
    min-height: 52px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--brand);
    color: #032229;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .20);
    transition: transform .18s ease, background .18s ease;
}

.dashboard-primary-action:hover,
.dashboard-primary-action:focus-visible {
    transform: translateY(-1px);
    background: var(--brand-hover);
    color: #032229;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 24px;
}

.dashboard-action-card {
    display: flex;
    min-height: 285px;
    flex-direction: column;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(13, 46, 56, .96), rgba(18, 61, 73, .92));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
}

.dashboard-action-card-featured {
    border-color: rgba(25, 182, 164, .65);
    background: linear-gradient(145deg, rgba(15, 69, 74, .98), rgba(11, 46, 56, .96));
}

.dashboard-action-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 15px;
    background: rgba(25, 182, 164, .10);
    color: var(--accent);
    font-size: 1.2rem;
}

.dashboard-action-content {
    flex: 1;
}

.dashboard-stat {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
}

.dashboard-action-card h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1.3rem;
}

.dashboard-action-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.dashboard-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-card-link i {
    color: var(--brand);
    transition: transform .18s ease;
}

.dashboard-card-link:hover,
.dashboard-card-link:focus-visible {
    color: #fff;
}

.dashboard-card-link:hover i,
.dashboard-card-link:focus-visible i {
    transform: translateX(3px);
}

.dashboard-panel {
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(13, 46, 56, .92);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .20);
}

.dashboard-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.dashboard-panel-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    letter-spacing: -.025em;
}

.dashboard-count-badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(25, 182, 164, .12);
    color: #8cf1e3;
    font-size: .78rem;
    font-weight: 800;
}

.dashboard-appointment-list {
    display: grid;
    gap: 16px;
}

.dashboard-appointment-item {
    position: relative;
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    align-items: start;
    gap: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(8, 40, 49, .98),
            rgba(10, 48, 58, .94)
        );
    box-shadow: 0 12px 32px rgba(0, 0, 0, .14);
    transition:
        border-color .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.dashboard-appointment-item:hover {
    transform: translateY(-1px);
    border-color: rgba(25, 182, 164, .38);
    box-shadow: 0 16px 38px rgba(0, 0, 0, .20);
}


/* Appointment date
   ========================================================= */

.dashboard-appointment-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.appointment-date-calendar {
    display: flex;
    width: 78px;
    min-height: 82px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: rgba(6, 28, 34, .65);
}

.appointment-date-month {
    color: #50dfcd;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.appointment-date-day {
    margin-top: 2px;
    color: #fff;
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.appointment-date-time {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #d9e8ea;
    font-size: .85rem;
    font-weight: 700;
}

.appointment-date-time i {
    color: var(--accent);
}


/* Primary appointment details
   ========================================================= */

.dashboard-appointment-details {
    min-width: 0;
}

.appointment-primary {
    margin-bottom: 18px;
}

.dashboard-appointment-details h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -.015em;
}

.appointment-service {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #c5dade;
    font-size: .95rem;
}

.appointment-service i {
    color: var(--accent);
    font-size: .82rem;
}


/* Groomer / assignment information
   ========================================================= */

.appointment-assignment-state {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 640px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.appointment-info-icon {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    place-items: center;
    border-radius: 11px;
    background: rgba(25, 182, 164, .10);
    color: var(--brand);
    font-size: .85rem;
}

.appointment-info-label {
    display: block;
    margin-bottom: 2px;
    color: #83aeb4;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.appointment-info-value {
    display: block;
    color: #fff;
    font-size: .95rem;
}

.appointment-assignment-state .meta {
    margin: 3px 0 0;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
}


/* Pending requests
   ========================================================= */

.appointment-request-state {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 640px;
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 200, 87, .18);
    border-radius: 14px;
    background: rgba(255, 200, 87, .07);
}

.appointment-request-state > i {
    margin-top: 3px;
    color: var(--accent);
}

.appointment-request-state strong {
    display: block;
    color: #fff;
    font-size: .9rem;
}

.appointment-request-state .meta {
    margin: 3px 0;
    color: #bfd0d3;
    font-size: .82rem;
    line-height: 1.5;
}

.appointment-request-waiting {
    display: inline-block;
    margin-top: 3px;
    color: var(--accent);
    font-size: .74rem;
    font-weight: 800;
}

.appointment-request-cancellation {
    border-color: rgba(239, 107, 115, .20);
    background: rgba(239, 107, 115, .07);
}

.appointment-request-cancellation > i,
.appointment-request-cancellation .appointment-request-waiting {
    color: #ff9ba1;
}


/* Appointment status
   ========================================================= */

.dashboard-appointment-status {
    justify-self: end;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .10);
    white-space: nowrap;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.dashboard-appointment-status.status-requested {
    background: rgba(73, 133, 160, .18);
    color: #a6d6e9;
}

.dashboard-appointment-status.status-accepted {
    border-color: rgba(25, 182, 164, .24);
    background: rgba(25, 182, 164, .14);
    color: #71e4d6;
}

.dashboard-appointment-status.status-confirmed {
    border-color: rgba(76, 190, 138, .24);
    background: rgba(76, 190, 138, .14);
    color: #8ce3b9;
}

.dashboard-appointment-status.status-en-route,
.dashboard-appointment-status.status-arrived {
    border-color: rgba(255, 200, 87, .25);
    background: rgba(255, 200, 87, .12);
    color: var(--accent);
}

.dashboard-appointment-status.status-grooming {
    border-color: rgba(80, 223, 205, .28);
    background: rgba(80, 223, 205, .13);
    color: #8cf1e3;
}

.dashboard-appointment-status.status-completed {
    background: rgba(255, 255, 255, .08);
    color: #bcd0d4;
}


/* Appointment actions
   ========================================================= */

.appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.appointment-action {
    display: inline-flex;
    width: auto;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 11px;
    cursor: pointer;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background .18s ease,
        border-color .18s ease,
        color .18s ease;
}

.appointment-action-message {
    border-color: rgba(25, 182, 164, .35);
    background: rgba(25, 182, 164, .13);
    color: #7be7da;
}

.appointment-action-message:hover,
.appointment-action-message:focus-visible {
    border-color: var(--brand);
    background: var(--brand);
    color: #032229;
}

.appointment-action-secondary {
    border-color: var(--border);
    background: #123b46;
    color: #fff;
}

.appointment-action-secondary:hover,
.appointment-action-secondary:focus-visible {
    border-color: #477883;
    background: #1a4b57;
    color: #fff;
}

.appointment-action-danger {
    border-color: rgba(239, 107, 115, .24);
    background: transparent;
    color: #ff9ba1;
}

.appointment-action-danger:hover,
.appointment-action-danger:focus-visible {
    border-color: rgba(239, 107, 115, .55);
    background: rgba(239, 107, 115, .10);
    color: #ffb0b5;
}

.appointment-action:disabled {
    cursor: default;
    opacity: .55;
    transform: none;
}


.dashboard-empty-state {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px dashed var(--border-input);
    border-radius: 18px;
    background: rgba(6, 28, 34, .45);
}

.dashboard-empty-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: rgba(255, 200, 87, .10);
    color: var(--accent);
}

.dashboard-empty-state h3,
.dashboard-empty-state p {
    margin: 0;
}

.dashboard-empty-state h3 {
    color: #fff;
    font-size: 1.05rem;
}

.dashboard-empty-state p {
    margin-top: 4px;
    color: var(--muted);
}

/* =========================================================
   11. Dialogs / Modals
   ========================================================= */

dialog {
    width: min(520px, calc(100% - 32px));
    max-height: calc(100vh - 40px);
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--panel);
    color: var(--text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .55);
}

dialog::backdrop {
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(2px);
}

dialog h1,
dialog h2,
dialog h3,
dialog h4,
dialog p {
    color: var(--text);
}

dialog h3 {
    margin-top: 0;
    margin-bottom: 8px;
}

dialog form {
    margin: 0;
}

dialog label {
    color: var(--muted);
}

dialog input,
dialog select,
dialog textarea {
    border-color: var(--border-input);
    background: var(--panel-deep);
    color: var(--text);
}

dialog input:focus,
dialog select:focus,
dialog textarea:focus {
    border-color: var(--brand);
    outline: 0;
    box-shadow: 0 0 0 .2rem rgba(25, 182, 164, .18);
}

dialog textarea {
    min-height: 110px;
    resize: vertical;
}

dialog button {
    width: auto;
}

dialog button[type="button"] {
    background: var(--border);
    color: var(--text);
}

dialog button[type="button"]:hover {
    background: var(--border-input);
    color: var(--text);
}

dialog button[type="submit"] {
    background: var(--brand);
    color: #042027;
}

dialog button[type="submit"]:hover {
    background: var(--brand-hover);
    color: #042027;
}


/* =========================================================
   12. Groomer Requests
========================================================= */

.groomer-request-button {
    position: relative;
}

.groomer-request-badge {
    display: inline-grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    margin-left: 5px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--danger);
    color: #fff;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1;
}

.groomer-request-modal {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        var(--panel),
        var(--panel2)
    );
    color: var(--text);
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}

.groomer-request-modal .modal-header {
    border-bottom: 1px solid var(--border);
}

.groomer-request-modal .modal-title {
    color: var(--text);
}

.groomer-request-modal .modal-body {
    padding: 20px;
}


/* =========================================================
   13. FullCalendar
========================================================= */

#groomerCalendar {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(6, 28, 34, .48);
    overflow: hidden;
}

#groomerCalendar .fc {
    --fc-border-color: var(--border);
    --fc-page-bg-color: transparent;
    --fc-neutral-bg-color: rgba(255, 255, 255, .03);
    --fc-today-bg-color: rgba(255, 200, 87, .08);

    color: var(--text);
}

#groomerCalendar .fc-toolbar {
    padding: 14px;
    margin: 0;
}

#groomerCalendar .fc-toolbar-title {
    color: #fff;
    font-size: 1.25rem;
}

#groomerCalendar .fc-button {
    border-color: var(--border-input);
    background: var(--panel2);
    color: #fff;
}

#groomerCalendar .fc-daygrid-day {
    cursor: pointer;
}

#groomerCalendar .fc-daygrid-day:hover {
    background: rgba(25, 182, 164, .08);
}

#groomerCalendar .fc-day-today {
    box-shadow: inset 0 0 0 2px var(--accent);
}

/* Appointment-count indicator */

#groomerCalendar .fc-daygrid-event {
    width: fit-content;
    margin: 5px auto;
    padding: 3px 7px;
    border: 0;
    border-radius: 999px;
    background: var(--brand);
    color: #042027;
    font-size: .72rem;
    font-weight: 900;
}

/* Day number */

#groomerCalendar .fc-daygrid-day-number {
    padding: 6px;
    color: var(--text);
    text-decoration: none;
}

/* Days from adjacent months */

#groomerCalendar .fc-day-other {
    opacity: .4;
}


/* FullCalendar day-of-week headings */
#groomerCalendar .fc-col-header-cell-cushion,
#groomerCalendar a.fc-col-header-cell-cushion,
#groomerCalendar .fc-col-header-cell a {
    padding: 7px 2px;
    color: #50dfcd;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

#groomerCalendar a.fc-col-header-cell-cushion:link,
#groomerCalendar a.fc-col-header-cell-cushion:visited,
#groomerCalendar a.fc-col-header-cell-cushion:hover,
#groomerCalendar a.fc-col-header-cell-cushion:focus {
    color: #50dfcd;
    text-decoration: none;
}
    
/* Make calendar rows / day squares more compact */
#groomerCalendar .fc-daygrid-day-frame {
    min-height: 68px;
}    

/* Keep the day number compact */
#groomerCalendar .fc-daygrid-day-number {
    padding: 5px 6px;
    color: var(--text);
    font-size: .82rem;
    text-decoration: none;
}

.calendar-count-short {
    display: none;
}


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

.calendar-day-appointment {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 17px;
    background: #082831;
}

.calendar-day-address {
    margin: 12px 0 0;
}

.groomer-calendar-modal {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        var(--panel),
        var(--panel2)
    );
    color: var(--text);
}

.groomer-calendar-modal .modal-header {
    border-bottom: 1px solid var(--border);
}


/* =========================================================
   14. Groomer Dashboard
   ========================================================= */

.groomer-dashboard-page {
    background:
        radial-gradient(
            circle at 10% 8%,
            rgba(25, 182, 164, .10),
            transparent 26rem
        ),
        linear-gradient(160deg, var(--bg), #0b3541);
}

.groomer-dashboard-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 58px auto 100px;
}


/* Dashboard Hero
   ========================================================= */

.groomer-dashboard-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 28px;
}

.groomer-dashboard-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    line-height: .98;
    letter-spacing: -.05em;
}

.groomer-hero-actions {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.groomer-hero-actions .button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* Dashboard Stats
   ========================================================= */

.groomer-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.groomer-stat-card {
    display: flex;
    min-height: 145px;
    flex-direction: column;
    justify-content: center;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(
            145deg,
            rgba(13, 46, 56, .96),
            rgba(18, 61, 73, .92)
        );
    box-shadow: 0 14px 36px rgba(0, 0, 0, .16);
}

.groomer-stat-card span {
    color: #81adb3;
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.groomer-stat-card strong {
    margin: 7px 0 3px;
    color: var(--accent);
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
}

.groomer-stat-card small {
    color: var(--muted);
    font-size: .82rem;
}


/* Dashboard Panels
   ========================================================= */

.groomer-dashboard-panel {
    margin-bottom: 24px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--border);
    border-radius: 26px;
    background: rgba(13, 46, 56, .92);
    box-shadow: 0 20px 60px rgba(0, 0, 0, .20);
}

.groomer-panel-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.groomer-panel-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    letter-spacing: -.025em;
}


/* New Appointment Requests
   ========================================================= */

.groomer-request-grid {
    display: grid;
    gap: 12px;
}

.groomer-request-card {
    display: grid;
    grid-template-columns: 115px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 17px;
    background: #082831;
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.groomer-request-card:hover {
    transform: translateY(-1px);
    border-color: rgba(25, 182, 164, .36);
    background: #0a3039;
}

.groomer-request-date {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.groomer-request-date strong {
    color: #fff;
    font-size: 1.05rem;
}

.groomer-request-date span {
    color: var(--muted);
    font-size: .82rem;
}

.groomer-request-body {
    min-width: 0;
}

.groomer-request-body h3 {
    margin: 4px 0 3px;
    color: #fff;
    font-size: 1.15rem;
}

.groomer-request-body p {
    margin: 0;
    color: #c0d4d8;
}

.groomer-request-body .meta {
    margin-top: 5px;
    color: var(--muted);
}

.groomer-request-priority {
    display: inline-block;
    padding: 4px 8px;
    border: 1px solid rgba(255, 200, 87, .22);
    border-radius: 999px;
    background: rgba(255, 200, 87, .10);
    color: var(--accent);
    font-size: .67rem;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.groomer-request-card form {
    margin: 0;
}

.groomer-request-card button {
    min-width: 130px;
    white-space: nowrap;
}


/* Today's Appointments
   ========================================================= */

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

.groomer-appointment-card {
    display: grid;
    grid-template-columns: 95px minmax(0, 1fr);
    gap: 22px;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 19px;
    background:
        linear-gradient(
            145deg,
            rgba(8, 40, 49, .98),
            rgba(10, 48, 58, .94)
        );
    box-shadow: 0 12px 32px rgba(0, 0, 0, .12);
}

.groomer-appointment-time {
    display: flex;
    min-height: 80px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    align-self: start;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    background: rgba(6, 28, 34, .65);
}

.groomer-appointment-time strong {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.groomer-appointment-time span {
    margin-top: 5px;
    color: var(--accent);
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.groomer-appointment-main {
    min-width: 0;
}

.groomer-appointment-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.groomer-appointment-heading h3 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 900;
}

.groomer-appointment-heading p {
    margin: 0;
    color: var(--muted);
    line-height: 1.45;
}


/* Appointment Status
   ========================================================= */

.groomer-appointment-heading .status {
    flex: 0 0 auto;
    padding: 7px 11px;
    border: 1px solid rgba(255, 255, 255, .10);
    white-space: nowrap;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.status-requested {
    background: rgba(73, 133, 160, .18);
    color: #a6d6e9;
}

.status-accepted {
    border-color: rgba(25, 182, 164, .24);
    background: rgba(25, 182, 164, .14);
    color: #71e4d6;
}

.status-confirmed {
    border-color: rgba(76, 190, 138, .24);
    background: rgba(76, 190, 138, .14);
    color: #8ce3b9;
}

.status-en-route,
.status-arrived {
    border-color: rgba(255, 200, 87, .25);
    background: rgba(255, 200, 87, .12);
    color: var(--accent);
}

.status-grooming {
    border-color: rgba(80, 223, 205, .28);
    background: rgba(80, 223, 205, .13);
    color: #8cf1e3;
}

.status-completed {
    background: rgba(255, 255, 255, .08);
    color: #bcd0d4;
}


/* Appointment Message Preview
   ========================================================= */

.groomer-message-preview {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 13px;
    background: rgba(6, 28, 34, .45);
}

.groomer-message-preview > i {
    margin-top: 3px;
    color: #80aeb4;
}

.groomer-message-preview strong {
    display: block;
    margin-bottom: 2px;
    color: #d8e8ea;
    font-size: .8rem;
}

.groomer-message-preview p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.groomer-message-preview.is-unread {
    border-color: rgba(25, 182, 164, .30);
    background: rgba(25, 182, 164, .10);
}

.groomer-message-preview.is-unread > i,
.groomer-message-preview.is-unread strong {
    color: #72e4d6;
}


/* Appointment Actions
   ========================================================= */

.groomer-appointment-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.groomer-appointment-actions form {
    margin: 0;
}

.groomer-appointment-actions .button,
.groomer-appointment-actions button {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
}


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

.groomer-empty-state {
    padding: 22px;
    border: 1px dashed var(--border-input);
    border-radius: 15px;
    background: rgba(6, 28, 34, .4);
    color: var(--muted);
    text-align: center;
}


/* =========================================================
   Customer Booking Wizard
   ========================================================= */

.customer-book-shell {
    max-width: 820px;
}

.booking-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 28px;
}

.booking-page-header h1 {
    margin: 4px 0 8px;
    font-size: clamp(2rem, 5vw, 3.25rem);
    letter-spacing: -.035em;
}

.booking-eyebrow,
.booking-section-kicker {
    margin: 0 0 6px;
    color: #50dfcd;
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.booking-page-lead {
    max-width: 640px;
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.booking-back-link {
    flex: 0 0 auto;
}

.booking-form {
    display: grid;
    gap: 12px;
}

.booking-progress {
    margin-bottom: 10px;
}

.booking-progress-bar {
    overflow: hidden;
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .09);
}

.booking-progress-bar span {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--brand),
        #50dfcd
    );
    transition: width .3s ease;
}

.booking-progress p {
    margin: 8px 2px 0;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 700;
}

.booking-progress-name {
    color: #dce9eb;
}

.booking-section {
    overflow: hidden;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(8, 40, 49, .72);
    transition:
        border-color .2s ease,
        background .2s ease,
        opacity .2s ease,
        box-shadow .2s ease;
}
.booking-section[hidden],
.booking-alternate-address[hidden],
.preferred-groomer-panel[hidden] {
    display: none !important;
}
.booking-section.is-active {
    border-color: rgba(25, 182, 164, .7);
    background: linear-gradient(
        145deg,
        rgba(13, 46, 56, .98),
        rgba(18, 61, 73, .94)
    );
    box-shadow:
        0 18px 44px rgba(0, 0, 0, .22),
        0 0 0 1px rgba(25, 182, 164, .07);
}

.booking-section.is-locked {
    padding-top: 16px;
    padding-bottom: 16px;
    opacity: .48;
}

.booking-section.is-complete {
    padding-top: 15px;
    padding-bottom: 15px;
    background: rgba(8, 40, 49, .82);
}

.booking-section-heading {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
}

.booking-step {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--border-input);
    border-radius: 50%;
    background: var(--panel-deep);
    color: var(--muted);
    font-size: .9rem;
    font-weight: 900;
}

.booking-step i {
    display: none;
}

.booking-section.is-active .booking-step {
    border-color: var(--brand);
    background: rgba(25, 182, 164, .13);
    color: #7be7da;
}

.booking-section.is-complete .booking-step {
    border-color: var(--brand);
    background: var(--brand);
    color: #042027;
}

.booking-section.is-complete .booking-step-number {
    display: none;
}

.booking-section.is-complete .booking-step i {
    display: block;
}

.booking-section-title h2 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
}

.booking-section-title > p:last-child {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.45;
}

.booking-section.is-complete .booking-section-kicker,
.booking-section.is-complete .booking-section-title > p:last-child,
.booking-section.is-locked .booking-section-kicker,
.booking-section.is-locked .booking-section-title > p:last-child {
    display: none;
}

.booking-section.is-complete .booking-section-title h2,
.booking-section.is-locked .booking-section-title h2 {
    font-size: 1rem;
}

.booking-step-content {
    margin-top: 22px;
}

.booking-section.is-locked .booking-step-content,
.booking-section.is-complete .booking-step-content {
    display: none;
}

.booking-step-summary {
    margin: 4px 0 0 53px;
    color: #a9c4ca;
    font-size: .84rem;
}

.booking-change {
    width: auto;
    padding: 7px 10px;
    border: 1px solid var(--border);
    background: transparent;
    color: #7be7da;
    font-size: .76rem;
}

.booking-change:hover {
    border-color: var(--brand);
    background: rgba(25, 182, 164, .08);
    color: #fff;
}

.booking-field-grid {
    gap: 16px;
}

.booking-section input,
.booking-section select,
.booking-section textarea {
    min-height: 50px;
}

.booking-section input:focus,
.booking-section select:focus,
.booking-section textarea:focus {
    border-color: var(--brand);
    outline: 0;
    box-shadow: 0 0 0 3px rgba(25, 182, 164, .12);
}

.booking-address {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 14px;
    background: rgba(6, 28, 34, .55);
}

.booking-address-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
    background: rgba(25, 182, 164, .12);
    color: #50dfcd;
}

.booking-address-content {
    display: grid;
    gap: 3px;
}

.booking-address-content strong {
    color: #fff;
}

.booking-address-content span {
    color: #d0e0e3;
    font-size: .88rem;
}

.booking-address-content small {
    margin-top: 3px;
    color: #7be7da;
}

.booking-step-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.booking-continue {
    display: inline-flex;
    width: auto;
    align-items: center;
    gap: 8px;
}

.booking-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-choice {
    position: relative;
    margin: 0;
    cursor: pointer;
}

.booking-choice input {
    position: absolute;
    width: auto;
    min-height: 0;
    opacity: 0;
    pointer-events: none;
}

.booking-choice-content {
    display: flex;
    min-height: 145px;
    flex-direction: column;
    padding: 18px;
    border: 1px solid var(--border-input);
    border-radius: 15px;
    background: var(--panel-deep);
    transition:
        border-color .18s ease,
        background .18s ease,
        transform .18s ease;
}

.booking-choice:hover .booking-choice-content {
    border-color: var(--brand);
    transform: translateY(-1px);
}

.booking-choice input:checked + .booking-choice-content {
    border-color: var(--brand);
    background: rgba(25, 182, 164, .12);
    box-shadow: inset 0 0 0 1px rgba(25, 182, 164, .15);
}

.booking-choice-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    margin-bottom: 14px;
    border-radius: 10px;
    background: rgba(25, 182, 164, .12);
    color: #50dfcd;
}

.booking-choice-content strong {
    color: #fff;
}

.booking-choice-content small {
    margin-top: 7px;
    color: var(--muted);
    line-height: 1.45;
}

.booking-choice.is-disabled {
    cursor: not-allowed;
    opacity: .45;
}

.preferred-groomer-panel {
    margin-top: 15px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    background: rgba(6, 28, 34, .42);
}

.preferred-groomer-panel[hidden] {
    display: none;
}

.booking-info-note {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 14px;
    color: var(--muted);
    font-size: .84rem;
}

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

.booking-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(25, 182, 164, .34);
    border-radius: 16px;
    background: rgba(25, 182, 164, .08);
}

.booking-submit p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: .84rem;
}


/* =========================================================
   08. Bottom Navigation
========================================================= */

.bottom-nav {
    position: fixed;
    z-index: 20;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: space-around;

    min-height: 64px;
    padding: 6px 10px;

    border-top: 1px solid var(--border);
    background: #061a20;
}

.bottom-nav a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border-radius: 14px;

    color: #ffffff;
    font-size: 1.25rem;
    text-decoration: none;

    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        transform 0.15s ease;
}

.bottom-nav a:hover,
.bottom-nav a:focus-visible {
    background: rgba(25, 182, 164, 0.12);
    color: var(--brand);
}

.bottom-nav a:active {
    transform: scale(0.94);
}




/* services.php color refresh */
.services-page {
    --services-surface: #0f3f49;
    --services-surface-hover: #124b55;
    --services-border: #2d6570;
    --services-border-soft: #36717b;
    --services-accent: #20b8a9;
    --services-accent-dark: #0b746d;
    --services-accent-soft: #bdece4;
    --services-text: #f8fffd;
    --services-muted: #9ec8c7;
    --services-muted-strong: #c6dfde;
    --services-tab-bg: #0d333c;
    --services-inactive-bg: #263f47;
    --services-inactive-text: #c7d5d8;
}

.services-page .muted,
.services-page .advanced-note,
.services-page small,
.services-page .category-note {
    color: var(--services-muted);
}

.services-page .service-card {
    background: var(--services-surface);
    border-color: var(--services-border);
    color: var(--services-text);
}

.services-page .pricing-row,
.services-page .service-editor fieldset,
.services-page .advanced-row {
    border-color: var(--services-border-soft);
}

.services-page .pricing-row {
    background: rgba(4, 34, 40, .18);
}

.services-page .service-kind {
    background: var(--services-accent-soft);
    color: #075b55;
}

.services-page .status-pill {
    background: var(--services-inactive-bg);
    color: var(--services-inactive-text);
}

.services-page .status-pill.is-active {
    background: #c9f4df;
    color: #075c3a;
}

.services-page .section-count {
    background: var(--services-accent-soft);
    color: #075b55;
}

.services-page .services-tabs {
    background: var(--services-tab-bg);
    border: 1px solid var(--services-border);
}

.services-page .services-tab {
    color: var(--services-muted-strong);
}

.services-page .services-tab:hover {
    background: var(--services-surface-hover);
    color: var(--services-text);
}

.services-page .services-tab.is-active {
    background: var(--services-accent);
    color: #032f32;
    box-shadow: none;
}

.services-page .button:not(.secondary) {
    background: var(--services-accent);
    border-color: var(--services-accent);
    color: #032f32;
}

.services-page .button:not(.secondary):hover {
    background: #2bc5b5;
    border-color: #2bc5b5;
}

.services-page .button.secondary {
    background: #205563;
    border-color: #2b6875;
    color: var(--services-text);
}

.services-page .button.secondary:hover {
    background: #296675;
    border-color: #347785;
}

.services-page .service-editor {
    border-color: var(--services-border);
}

.services-page .service-editor input,
.services-page .service-editor select,
.services-page .service-editor textarea {
    background: #082f38;
    border-color: var(--services-border-soft);
    color: var(--services-text);
}

.services-page .service-editor input:focus,
.services-page .service-editor select:focus,
.services-page .service-editor textarea:focus {
    border-color: var(--services-accent);
    outline-color: var(--services-accent);
}

.services-page .pricing-mode label {
    border-color: var(--services-border-soft);
    background: rgba(6, 42, 49, .45);
}


/*================================================================
 * Groomer Services
 * ===================================================================*/
.groomer-services-page {
    --service-card-bg: #0f3f49;
    --service-card-border: #2d6570;
    --service-row-bg: #0b343d;
    --service-accent: #20b8a9;
    --service-accent-soft: #bdece4;
    --service-muted: #9ec8c7;
    --service-text: #f8fffd;
}

.groomer-services-layout,
.groomer-service-section,
.groomer-service-list,
.groomer-service-card,
.groomer-service-editor {
    display: grid;
    gap: 1rem;
}

.groomer-services-hero,
.groomer-service-section__header,
.groomer-service-card__header,
.groomer-service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.groomer-services-hero h1,
.groomer-service-section h2,
.groomer-service-card h3 {
    margin: 0;
}

.groomer-services-lead,
.groomer-service-card p,
.groomer-service-help {
    color: var(--service-muted);
}

.groomer-service-card {
    background: var(--service-card-bg);
    border: 1px solid var(--service-card-border);
    color: var(--service-text);
}

.groomer-service-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    border-radius: 999px;
    padding: .25rem .6rem;
    background: var(--service-accent-soft);
    color: #075b55;
    font-size: .78rem;
    font-weight: 800;
}

.groomer-service-price {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: .85rem;
    border: 1px solid var(--service-card-border);
    border-radius: .75rem;
    background: var(--service-row-bg);
}

.groomer-service-price strong,
.groomer-service-price span {
    white-space: nowrap;
}

.groomer-service-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}

.groomer-service-editor {
    padding-top: 1rem;
    border-top: 1px solid var(--service-card-border);
}

.groomer-service-editor[hidden] {
    display: none;
}

.groomer-service-editor fieldset {
    display: grid;
    gap: .9rem;
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--service-card-border);
    border-radius: .8rem;
}

.groomer-service-editor legend {
    padding: 0 .35rem;
    font-weight: 800;
}

.groomer-service-editor input,
.groomer-service-editor textarea {
    background: #082f38;
    border-color: var(--service-card-border);
    color: var(--service-text);
}

.groomer-service-editor .button:not(.secondary),
.groomer-services-page .button:not(.secondary) {
    background: var(--service-accent);
    border-color: var(--service-accent);
    color: #032f32;
}

.groomer-service-intro {
    padding: 1rem;
    border: 1px solid var(--service-card-border);
    border-radius: .85rem;
    background: rgba(15, 63, 73, .55);
}

@media (max-width: 720px) {
    .groomer-services-hero,
    .groomer-service-section__header,
    .groomer-service-card__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .groomer-services-hero .button {
        width: 100%;
    }

    .groomer-service-price {
        grid-template-columns: 1fr auto;
    }

    .groomer-service-price span:last-child {
        grid-column: 2;
    }

    .groomer-service-actions > *,
    .groomer-service-actions .button {
        flex: 1;
    }
}


/* =========================================================
   Customer Booking - Step 1: Multi-pet service selection
   Add this before the responsive/media-query section in app.css.
   ========================================================= */
.customer-book-page .booking-pet-list {
    display: grid;
    gap: 14px;
}

.customer-book-page .booking-pet-card {
    overflow: hidden;
    border: 1px solid rgba(122, 231, 218, .16);
    border-radius: 16px;
    background: rgba(5, 29, 36, .42);
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.customer-book-page .booking-pet-card:hover {
    border-color: rgba(80, 223, 205, .38);
}

.customer-book-page .booking-pet-card.is-selected {
    border-color: #2ed5c4;
    background: linear-gradient(145deg, rgba(17, 70, 77, .72), rgba(8, 45, 53, .9));
    box-shadow: 0 10px 24px rgba(0, 0, 0, .14), inset 0 0 0 1px rgba(80, 223, 205, .08);
}

.customer-book-page .booking-pet-toggle {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    margin: 0;
    padding: 14px 16px;
    color: #fff;
    cursor: pointer;
}

.customer-book-page .booking-pet-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.customer-book-page .booking-pet-check {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 1px solid rgba(124, 181, 190, .58);
    border-radius: 10px;
    background: #08272f;
    color: transparent;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.customer-book-page .booking-pet-toggle:hover .booking-pet-check {
    border-color: #50dfcd;
}

.customer-book-page .booking-pet-toggle input:focus-visible + .booking-pet-check {
    outline: 3px solid rgba(80, 223, 205, .22);
    outline-offset: 3px;
}

.customer-book-page .booking-pet-toggle input:checked + .booking-pet-check {
    border-color: #2ed5c4;
    background: #2ed5c4;
    color: #042027;
    transform: scale(1.03);
}

.customer-book-page .booking-pet-name {
    min-width: 0;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
}

.customer-book-page .booking-pet-select-copy {
    color: #8fb2b8;
    font-size: .78rem;
    font-weight: 700;
}

.customer-book-page .booking-pet-card.is-selected .booking-pet-select-copy {
    color: #7be7da;
}

.customer-book-page .booking-pet-card.is-selected .booking-pet-select-copy::before {
    content: "Selected";
    font-size: inherit;
}

.customer-book-page .booking-pet-card.is-selected .booking-pet-select-copy {
    font-size: 0;
}

.customer-book-page .booking-pet-card.is-selected .booking-pet-select-copy::before {
    font-size: .78rem;
}

.customer-book-page .booking-pet-service {
    padding: 0 16px 16px 60px;
    opacity: .48;
    pointer-events: none;
    transition: opacity .18s ease;
}

.customer-book-page .booking-pet-card.is-selected .booking-pet-service {
    opacity: 1;
    pointer-events: auto;
}

.customer-book-page .booking-pet-service label {
    margin-bottom: 7px;
    color: #b9d3d7;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.customer-book-page .booking-pet-service select {
    min-height: 50px;
}

.customer-book-page .booking-pet-service-help {
    display: block;
    margin-top: 7px;
    color: #7fa4aa;
    font-size: .76rem;
    line-height: 1.4;
}


/* Customer dashboard: multi-pet appointment details */

.appointment-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.appointment-summary > * {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(80, 223, 205, .1);
    color: #bff8f0;
    font-size: .78rem;
}

.appointment-pet-services {
    display: grid;
    gap: 10px;
}

.appointment-pet-service-card {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(5, 29, 36, .46);
}

.appointment-pet-service-card h3 {
    margin: 0 0 5px;
}

.appointment-addon-list {
    display: grid;
    gap: 4px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
    color: #b9d3d7;
    font-size: .84rem;
}

.appointment-addon-list i {
    margin-right: 7px;
    color: #50dfcd;
    font-size: .7rem;
}

.appointment-service-address {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
    padding: 12px 14px;
    border: 1px solid rgba(80, 223, 205, .16);
    border-radius: 12px;
    background: rgba(80, 223, 205, .06);
}

.appointment-service-address > i {
    margin-top: 3px;
    color: #50dfcd;
}

.appointment-service-address span,
.appointment-service-address strong {
    display: block;
}

.appointment-service-address strong {
    margin-top: 3px;
    color: #fff;
    font-size: .9rem;
    line-height: 1.4;
}


/* Groomer calendar: appointment and pet-count pills */
.groomer-calendar-pet-count {
    background: rgba(80, 223, 205, .14) !important;
    border-color: rgba(80, 223, 205, .34) !important;
    color: #bff8f0 !important;
}

.calendar-day-pet-list {
    display: grid;
    gap: 8px;
    margin-top: 12px;
}

.calendar-day-pet {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    background: rgba(5, 29, 36, .46);
}

.calendar-day-pet strong {
    color: #fff;
}

.calendar-day-pet span {
    color: #c5dade;
    font-size: .9rem;
}

.calendar-day-pet small {
    color: #7be7da;
}


/* =========================================================
   Groomer Calendar - Mobile Pass 3
   Add these rules to the existing max-width: 640px block at
   the bottom of app.css. Replace earlier mobile calendar rules.
   ========================================================= */

#groomerCalendar.is-mobile-calendar {
    display: none !important;
}

#groomerCalendar.is-mobile-calendar.show-mobile-month {
    display: block !important;
}

.groomer-mobile-schedule {
    display: grid;
    gap: 14px;
}

.groomer-mobile-schedule[hidden] {
    display: none !important;
}

.groomer-mobile-schedule-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid rgba(80, 223, 205, .14);
    border-radius: 13px;
    background: rgba(6, 28, 34, .78);
}

.groomer-mobile-today,
.groomer-mobile-view-toggle button {
    min-height: 40px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #bcd2d6;
    font-size: .78rem;
    font-weight: 800;
}

.groomer-mobile-today {
    border: 1px solid rgba(80, 223, 205, .28);
}

.groomer-mobile-view-toggle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3px;
    min-width: 0;
    padding: 3px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
}

.groomer-mobile-view-toggle button.is-active {
    background: var(--brand);
    color: #042027;
}

.groomer-mobile-schedule-list {
    display: grid;
    gap: 22px;
}

.groomer-mobile-schedule-list[hidden] {
    display: none !important;
}

.groomer-mobile-day {
    display: grid;
    gap: 9px;
}

.groomer-mobile-day + .groomer-mobile-day {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.groomer-mobile-day-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
}

.groomer-mobile-day-date {
    min-width: 0;
}

.groomer-mobile-day-date .dashboard-section-kicker {
    margin: 0 0 3px;
}

.groomer-mobile-day-date h3 {
    margin: 0;
    color: #fff;
    font-size: 1.22rem;
    line-height: 1.1;
}

.groomer-mobile-day-counts {
    padding-bottom: 2px;
    color: #8faeb4;
    font-size: .7rem;
    text-align: right;
    white-space: nowrap;
}

.groomer-mobile-appointment {
    display: grid;
    width: 100%;
    min-width: 0;
    gap: 6px;
    margin: 0;
    padding: 13px 14px;
    border: 1px solid rgba(80, 223, 205, .2);
    border-radius: 13px;
    background: rgba(5, 29, 36, .68);
    color: #fff;
    text-align: left;
    box-shadow: none;
}

.groomer-mobile-appointment:hover,
.groomer-mobile-appointment:focus-visible {
    border-color: rgba(80, 223, 205, .55);
    background: rgba(12, 54, 63, .78);
}

.groomer-mobile-appointment-header {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.groomer-mobile-appointment-time {
    min-width: 0;
    color: #50dfcd;
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .02em;
    white-space: nowrap;
}

.groomer-mobile-appointment-count {
    flex: 0 0 auto;
    padding: 4px 7px;
    border-radius: 999px;
    background: rgba(80, 223, 205, .11);
    color: #bff8f0;
    font-size: .66rem;
    font-weight: 800;
}

.groomer-mobile-appointment-pets {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 1rem;
    line-height: 1.25;
}

.groomer-mobile-appointment-customer {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
    color: #9eb9be;
    font-size: .76rem;
    font-weight: 600;
    line-height: 1.3;
}

#groomerCalendar.show-mobile-month .fc-toolbar-title {
    font-size: 1rem;
}

#groomerCalendar.show-mobile-month .fc-daygrid-day-events {
    min-height: 0;
}

#groomerCalendar.show-mobile-month .fc-event {
    font-size: .64rem;
}

#calendarDayModal .modal-dialog {
    margin: 10px;
}

#calendarDayModal .calendar-day-appointment {
    grid-template-columns: 1fr;
}

#calendarDayModal .groomer-appointment-time {
    display: flex;
    align-items: baseline;
    gap: 7px;
}

/* Groomer calendar day modal */

#calendarDayModal.modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
}

#calendarDayModal.modal.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

#calendarDayModal .modal-dialog {
    width: min(900px, calc(100% - 32px));
    max-width: 900px;
    max-height: calc(100vh - 40px);
    margin: 20px auto;
}

#calendarDayModal .modal-content {
    max-height: calc(100vh - 40px);
    overflow: hidden;
}

#calendarDayModal .modal-body {
    overflow-y: auto;
}

.calendar-appointment-management-form {
    grid-column: 1 / -1;
    display: grid;
    gap: 14px;
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(25, 182, 164, .24);
    border-radius: 14px;
    background: rgba(25, 182, 164, .07);
}

.calendar-appointment-management-form > strong {
    color: #fff;
    font-size: 1rem;
}

.calendar-appointment-management-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.calendar-appointment-cancel-form {
    border-color: rgba(239, 107, 115, .28);
    background: rgba(239, 107, 115, .08);
}





/* Responsive 14. Groomer Dashboard
   ========================================================= */

/* =========================================================
   15. Responsive Styles
   ========================================================= */

/* <= 950px */
@media (max-width: 950px) {
    .groomer-dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .groomer-hero-actions {
        justify-content: flex-start;
    }

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

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

    .groomer-upcoming-agenda {
        padding-top: 24px;
        padding-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .09);
        border-left: 0;
    }
}

/* <= 940px */
@media (max-width: 940px) {
    .registration-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .registration-intro {
        position: static;
        padding-bottom: 0;
    }

    .registration-back {
        margin-bottom: 32px;
    }

    .registration-intro h1 {
        max-width: 680px;
    }

    .registration-benefits {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* <= 900px */
@media (max-width: 900px) {
    .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
    }

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

    .dashboard-action-card {
        min-height: 0;
    }

    .dashboard-appointment-item {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .dashboard-appointment-status {
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .dashboard-appointment-details {
        padding-right: 100px;
    }
}

/* <= 720px */
@media (max-width: 720px) {
    .groomer-request-card {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .groomer-request-card form {
        grid-column: 1 / -1;
    }

    .groomer-request-card button {
        width: 100%;
    }
    .registration-container {
        width: min(100% - 26px, 1180px);
    }

    .registration-main {
        padding: 42px 0 60px;
    }

    .registration-login {
        display: none;
    }

    .registration-shell {
        width: min(100% - 26px, 1180px);
        margin: 42px auto 60px;
    }
    
    .account-type-grid,
    .registration-benefits {
        grid-template-columns: 1fr;
    }

    .account-type-content {
        aspect-ratio: auto;
        min-height: 130px;
    }

    .registration-mobile-login {
        display: block;
    }
}

@media (max-width: 700px) {

    .pet-directory-card {
        grid-template-columns: 125px minmax(0, 1fr);
        gap: 15px;
        padding: 14px;
    }

    .pet-directory-photo {
        width: 125px;
    }

    .pet-directory-card .pet-photo,
    .pet-directory-card .pet-photo-placeholder {
        width: 125px;
        height: 125px;
        border-radius: 13px;
    }

    .pet-directory-card .pet-photo-placeholder {
        font-size: 2.25rem;
    }

    .pet-directory-heading h2 {
        font-size: 1.3rem;
    }

    .pet-directory-notes {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pet-directory-actions {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {

    .pet-directory-header {
        align-items: center;
    }

    .pet-directory-header .meta {
        display: none;
    }

    .pet-directory-card {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    .pet-directory-photo {
        width: 100px;
    }

    .pet-directory-card .pet-photo,
    .pet-directory-card .pet-photo-placeholder {
        width: 100px;
        height: 100px;
    }

    .pet-directory-heading {
        gap: 8px;
    }

    .pet-directory-summary {
        gap: 4px;
        font-size: .82rem;
    }

    .pet-directory-notes {
        grid-column: 1 / -1;
    }
}


/* <= 620px */
@media (max-width: 620px) {
    
    #calendarDayModal .modal-dialog {
        width: calc(100% - 20px);
        max-height: calc(100vh - 20px);
        margin: 10px auto;
    }

    #calendarDayModal .modal-content {
        max-height: calc(100vh - 20px);
    }

    .calendar-appointment-management-fields {
        grid-template-columns: 1fr;
    }    
    .topbar.app-header {
        min-height: 70px;
        padding: 12px 14px;
    }

    .app-brand-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 12px;
    }

    .app-brand-name {
        font-size: .96rem;
    }

    .app-badge {
        padding: 4px 7px;
        font-size: .6rem;
    }

    .app-header-login {
        font-size: .8rem;
        text-align: right;
    }
    dialog {
        width: calc(100% - 24px);
        padding: 20px;
    }

    dialog .d-flex {
        flex-direction: column-reverse;
    }

    dialog .d-flex button {
        width: 100%;
    }
    #groomerCalendar .fc-toolbar {
        padding: 10px;
    }

    #groomerCalendar .fc-toolbar-title {
        font-size: 1rem;
    }

    #groomerCalendar .fc-button {
        padding: 7px 10px;
        font-size: .8rem;
    }
    .calendar-count-full {
        display: none;
    }

    .calendar-count-short {
        display: inline;
    }
    #groomerCalendar .fc-col-header-cell-cushion {
        padding: 5px 1px;
        color: #50dfcd;
        font-size: .66rem;
    }

    #groomerCalendar .fc-daygrid-day-frame {
        min-height: 48px;
    }

    #groomerCalendar .fc-daygrid-day-number {
        padding: 3px 4px;
        font-size: .72rem;
    }

    #groomerCalendar .fc-daygrid-event {
        margin: 2px auto;
        padding: 1px 4px;
        font-size: .58rem;
    }
    .calendar-day-appointment {
        grid-template-columns: 1fr;
    }

    .calendar-day-appointment .groomer-appointment-time {
        min-height: 0;
        align-items: flex-start;
        padding: 12px;
    }
    .customer-dashboard-shell {
        width: min(100% - 26px, 1180px);
        margin: 34px auto 96px;
    }

    .dashboard-primary-action {
        width: 100%;
    }

    .dashboard-action-card,
    .dashboard-panel {
        padding: 20px;
        border-radius: 20px;
    }

    .dashboard-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-appointment-item {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
    }

    .appointment-date-calendar {
        width: 64px;
        min-height: 70px;
        border-radius: 14px;
    }

    .appointment-date-day {
        font-size: 1.7rem;
    }

    .appointment-date-time {
        font-size: .75rem;
    }

    .dashboard-appointment-details {
        padding: 0;
    }

    .dashboard-appointment-status {
        position: static;
        grid-column: 1 / -1;
        grid-row: 1;
        justify-self: end;
        margin-bottom: -46px;
    }

    .dashboard-appointment-date,
    .dashboard-appointment-details {
        grid-row: 2;
    }

    .dashboard-appointment-details h3 {
        font-size: 1.2rem;
    }

    .appointment-assignment-state {
        margin-top: 14px;
    }

    .appointment-request-state {
        padding: 12px;
    }

    .appointment-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .appointment-action {
        width: 100%;
    }

    .appointment-action-message {
        grid-column: 1 / -1;
    }

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

    .dashboard-empty-state .button {
        text-align: center;
    }
    .groomer-dashboard-shell {
        width: min(100% - 26px, 1180px);
        margin: 34px auto 96px;
    }

    .groomer-dashboard-hero {
        gap: 22px;
    }

    .groomer-dashboard-hero h1 {
        font-size: clamp(2.3rem, 12vw, 3.5rem);
    }

    .groomer-hero-actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr 1fr;
    }

    .groomer-hero-actions .button {
        width: 100%;
        padding-right: 10px;
        padding-left: 10px;
    }

    .groomer-stat-grid {
        gap: 10px;
    }

    .groomer-stat-card {
        min-height: 120px;
        padding: 17px;
        border-radius: 17px;
    }

    .groomer-stat-card strong {
        font-size: 2rem;
    }

    .groomer-dashboard-panel {
        padding: 20px;
        border-radius: 20px;
    }

    .groomer-panel-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .groomer-request-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 17px;
    }

    .groomer-request-date {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .groomer-appointment-card {
        grid-template-columns: 70px minmax(0, 1fr);
        gap: 14px;
        padding: 16px;
    }

    .groomer-appointment-time {
        min-height: 68px;
        border-radius: 13px;
    }

    .groomer-appointment-time strong {
        font-size: 1.18rem;
    }

    .groomer-appointment-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .groomer-appointment-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .groomer-appointment-actions .button,
    .groomer-appointment-actions form,
    .groomer-appointment-actions button {
        width: 100%;
    }

    .groomer-calendar-weekdays,
    .groomer-calendar-days {
        gap: 3px;
    }

    .groomer-calendar-weekdays span {
        padding: 3px 0;
        font-size: .58rem;
    }

    .groomer-calendar-days > span {
        min-height: 45px;
        border-radius: 9px;
        font-size: .75rem;
    }

    .groomer-calendar-days small {
        right: 3px;
        bottom: 3px;
        width: 15px;
        height: 15px;
        font-size: .52rem;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full {
        grid-column: auto;
    }

    .shell {
        margin-top: 15px;
    }

    .card {
        padding: 16px;
    }
    
.customer-book-shell {
    width: min(100% - 24px, 820px);
}

.booking-page-header {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
}

.booking-back-link {
    align-self: flex-start;
}

.booking-section {
    padding: 18px;
}

.booking-field-grid,
.booking-choice-grid {
    grid-template-columns: 1fr;
}

.booking-address {
    grid-template-columns: auto minmax(0, 1fr);
}

.booking-address .button {
    grid-column: 1 / -1;
}

.booking-step-summary {
    margin-left: 0;
    padding-left: 53px;
}

.booking-submit {
    align-items: stretch;
    flex-direction: column;
}

.booking-submit button {
    width: 100%;
}    
}

/* <= 420px */
@media (max-width: 420px) {
    .groomer-hero-actions {
        grid-template-columns: 1fr;
    }

    .groomer-stat-card {
        min-height: 105px;
        padding: 14px;
    }

    .groomer-stat-card span {
        font-size: .65rem;
    }

    .groomer-stat-card strong {
        font-size: 1.8rem;
    }

    .groomer-appointment-card {
        grid-template-columns: 1fr;
    }

    .groomer-appointment-time {
        width: 82px;
        min-height: 58px;
        align-items: baseline;
        flex-direction: row;
        gap: 5px;
    }
}
