* {
    box-sizing: border-box;
}

:root {
    --logo-pink: #af1d66;
    --offline-pink: #ad206c;
    --online-green: #37fe0d;
    --pink-bright: #d32483;
    --black-bg: #050205;
    --deep-black: #020102;
    --card-bg: rgba(255, 255, 255, 0.07);
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-pink: rgba(175, 29, 102, 0.45);
}

body {
    margin: 0;
    background: var(--deep-black);
    color: #ffffff;
    font-family: Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

.app {
    min-height: 100vh;
    max-width: 480px;
    margin: 0 auto;
    background:
        radial-gradient(circle at top right, rgba(175, 29, 102, 0.22), transparent 35%),
        radial-gradient(circle at bottom left, rgba(175, 29, 102, 0.14), transparent 42%),
        linear-gradient(180deg, #0b0006 0%, #050205 42%, #090004 100%);
}

/* =========================
   WELCOME
========================= */

.welcome-screen {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    overflow: hidden;
}

.welcome-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(5, 2, 5, 0.96), rgba(5, 2, 5, 0.2)),
        radial-gradient(circle at top, rgba(175, 29, 102, 0.28), transparent 45%);
}

.welcome-content {
    position: relative;
    width: 100%;
    z-index: 2;
}

.logo-mini,
.logo {
    color: var(--logo-pink);
    font-weight: 800;
    letter-spacing: 4px;
    text-align: center;
}

.welcome-card {
    margin-top: 280px;
}

.welcome-card h1,
.app-header h1,
.page-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.welcome-card p,
.subtitle,
.hint,
.page-subtitle {
    color: var(--text-muted);
}

/* =========================
   BUTTONS
========================= */

.main-button,
.secondary-button,
.admin-button {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 18px;
    padding: 16px 18px;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    margin-top: 18px;
}

.main-button {
    background: linear-gradient(135deg, var(--logo-pink), var(--pink-bright));
    color: #ffffff;
}

.secondary-button {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-button {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-pink);
    color: rgba(255, 255, 255, 0.9);
}

/* =========================
   SCREEN
========================= */

.screen {
    min-height: 100vh;
    padding: 28px 18px;
}

.app-header {
    text-align: center;
    margin-bottom: 24px;
}

.app-header h1 span {
    color: var(--logo-pink);
}

/* =========================
   MENU
========================= */

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.menu-card {
    min-height: 150px;
    padding: 18px;
    border-radius: 24px;
    background:
        linear-gradient(160deg, rgba(175, 29, 102, 0.33), rgba(0, 0, 0, 0.9) 66%);
    border: 1px solid rgba(175, 29, 102, 0.32);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.38);
}

.icon-box {
    width: 54px;
    height: 54px;
    border-radius: 18px;
    border: 1px solid rgba(175, 29, 102, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--logo-pink);
    font-size: 24px;
    margin-bottom: 22px;
    background: rgba(175, 29, 102, 0.08);
}

.menu-card h2 {
    margin: 0 0 8px;
    font-size: 20px;
}

.menu-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.bottom-text {
    margin-top: 22px;
    text-align: center;
    color: rgba(255, 255, 255, 0.45);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.docs-links {
    margin-top: 10px;
    letter-spacing: 0;
    text-transform: none;
    font-size: 12px;
}

.docs-links a {
    color: rgba(255, 255, 255, 0.55);
}

/* =========================
   TABS
========================= */

.tabs,
.admin-tabs {
    display: flex;
    gap: 8px;
    margin: 18px 0;
    overflow-x: auto;
}

.tab,
.admin-tabs button {
    border: 0;
    border-radius: 14px;
    padding: 12px 18px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.tab.active {
    background: linear-gradient(135deg, var(--logo-pink), var(--pink-bright));
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(175, 29, 102, 0.28);
}

/* =========================
   LISTS / CARDS
========================= */

.list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.slot-card,
.empty-card,
.info-card {
    border-radius: 18px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slot-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 66px;
    font-weight: 700;
}

.slot-card.offline {
    background: var(--offline-pink);
    color: #050205;
    border: 1px solid rgba(173, 32, 108, 0.9);
}

.slot-card.online {
    background: var(--online-green);
    color: #050205;
    border: 1px solid rgba(55, 254, 13, 0.9);
}

.slot-card p {
    margin: 4px 0 0;
    font-weight: 400;
    opacity: 0.85;
}

.info-card pre {
    margin: 0;
    white-space: pre-wrap;
    font-family: inherit;
    color: rgba(255, 255, 255, 0.85);
}

/* =========================
   ADMIN
========================= */

.admin-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   BOOKING DETAIL
========================= */

.format-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 18px 0;
}

.format-button {
    border: 0;
    border-radius: 16px;
    padding: 14px 12px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.75);
    font-weight: 700;
}

.format-button.active {
    background: linear-gradient(135deg, var(--logo-pink), var(--pink-bright));
    color: #ffffff;
}

.tariff-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px;
    border-radius: 18px;
    background:
        linear-gradient(160deg, rgba(175, 29, 102, 0.24), rgba(0, 0, 0, 0.88) 72%);
    border: 1px solid rgba(175, 29, 102, 0.35);
}

.tariff-card h2 {
    margin: 0 0 6px;
    font-size: 16px;
}

.tariff-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 13px;
}

.tariff-card strong {
    color: var(--logo-pink);
    white-space: nowrap;
}

/* =========================
   MOBILE FIXES
========================= */

@media (max-width: 380px) {
    .screen {
        padding: 24px 14px;
    }

    .menu-card {
        min-height: 140px;
        padding: 15px;
    }

    .menu-card h2 {
        font-size: 18px;
    }

    .menu-card p {
        font-size: 13px;
    }

    .icon-box {
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
    }
}

.menu-card,
.slot-card,
.tariff-card,
.main-button,
.secondary-button,
.admin-button,
.tab,
.format-button {
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, border-color 0.15s ease;
}

.menu-card:hover,
.slot-card:hover,
.tariff-card:hover,
.main-button:hover,
.secondary-button:hover,
.admin-button:hover,
.tab:hover,
.format-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
    opacity: 0.96;
}

.menu-card:active,
.slot-card:active,
.tariff-card:active,
.main-button:active,
.secondary-button:active,
.admin-button:active,
.tab:active,
.format-button:active {
    transform: scale(0.98);
    opacity: 0.9;
}

.small-text {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.45;
}

.form-card {
    margin-top: 16px;
}

.form-field {
    display: block;
    margin-bottom: 14px;
}

.form-field span {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
}

.form-field input {
    width: 100%;
    border: 1px solid rgba(175, 29, 102, 0.5);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    outline: none;
}

.form-field input:focus {
    border-color: var(--pink-bright);
}

.form-field small {
    display: block;
    margin-top: 6px;
    color: var(--text-muted);
    font-size: 12px;
}

.phone-row {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 10px;
    align-items: center;
}

.phone-prefix {
    width: 58px;
    height: 48px;
    padding: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(175, 29, 102, 0.45);
    color: #ffffff;
    font-weight: 800;
    flex-shrink: 0;
}

.phone-row input {
    width: 100%;
    min-width: 0;
}

.error-card {
    border-color: rgba(255, 80, 80, 0.7);
    color: #ffb3b3;
}

.splash-screen {
    min-height: 100vh;
    background: #050205;
    display: flex;
    align-items: center;
    justify-content: center;
}

.splash-logo {
    color: #af1d66;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 10px;
}

.welcome-screen {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(
            180deg,
            rgba(5, 2, 5, 0.05),
            rgba(5, 2, 5, 0.45)
        ),
        url("/static/img/welcome.jpg");
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.welcome-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5, 2, 5, 0.05) 0%,
        rgba(5, 2, 5, 0.25) 45%,
        rgba(5, 2, 5, 0.65) 100%
    );
}

.welcome-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 0 24px 70px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: center;
}

.welcome-content h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.welcome-content p {
    margin: 8px 0 24px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
}

.welcome-button {
    display: block;
    width: 100%;
    padding: 20px;
    border-radius: 22px;
    background: #ff3b9d;
    color: #050205;
    text-align: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.phone-divider {
    margin: 14px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

.simple-list {
    margin: 12px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.86);
}

.simple-list li {
    margin-bottom: 8px;
}

.address-docs {
    margin: 18px 0;
    text-align: center;
}

.address-video {
    width: 100%;
    margin-top: 14px;
    border-radius: 18px;
    border: 1px solid rgba(175, 29, 102, 0.45);
    background: #050205;
}

.form-field select {
    width: 100%;
    border: 1px solid rgba(175, 29, 102, 0.5);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    outline: none;
}

.form-field select:focus {
    border-color: var(--pink-bright);
}

.form-field select option {
    color: #050205;
}

.tariff-form {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tariff-form:last-child {
    border-bottom: 0;
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    font-size: 14px;
    color: #ffffff;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
}

.tariff-details {
    padding: 0;
    overflow: hidden;
}

.tariff-details summary {
    list-style: none;
    cursor: pointer;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tariff-details summary::-webkit-details-marker {
    display: none;
}

.tariff-details summary::after {
    content: "⌄";
    font-size: 20px;
    opacity: 0.8;
}

.tariff-details[open] summary::after {
    content: "⌃";
}

.tariff-details summary strong {
    font-size: 16px;
}

.tariff-details summary small {
    color: var(--text-muted);
    font-size: 13px;
}

.tariff-inner-form {
    padding: 0 18px 18px;
}

.form-field textarea {
    width: 100%;
    border: 1px solid rgba(175, 29, 102, 0.5);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    outline: none;
    resize: vertical;
    min-height: 120px;
}

.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-field textarea:focus {
    border-color: var(--pink-bright);
}

.client-list-item {
    display: block;
    padding: 14px 0;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.client-list-item:last-child {
    border-bottom: 0;
}

.client-list-item span,
.client-list-item small {
    color: var(--text-muted);
}

.form-field textarea {
    width: 100%;
    border: 1px solid rgba(175, 29, 102, 0.5);
    border-radius: 14px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 16px;
    outline: none;
    resize: vertical;
    min-height: 120px;
}

.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form-field textarea:focus {
    border-color: var(--pink-bright);
}

.booking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.booking-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.offline-dot {
    background: var(--offline-pink);
}

.online-dot {
    background: var(--online-green);
}

.mixed-dot {
    background: linear-gradient(
        135deg,
        var(--offline-pink) 0%,
        var(--offline-pink) 50%,
        var(--online-green) 50%,
        var(--online-green) 100%
    );
}

.calendar-card {
    background:
        linear-gradient(160deg, rgba(175, 29, 102, 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(175, 29, 102, 0.28);
    border-radius: 24px;
    padding: 14px;
    margin: 16px 0 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-day {
    min-height: 66px;
    border-radius: 18px;
    text-decoration: none;
    color: #050205;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-weight: 800;
    border: 2px solid transparent;
    box-shadow: inset 0 -12px 18px rgba(0, 0, 0, 0.08);
}

.calendar-day strong {
    font-size: 20px;
    line-height: 1;
}

.calendar-day small {
    font-size: 11px;
    line-height: 1;
}

.calendar-day.empty {
    color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.05);
}

.calendar-day.offline {
    background: var(--offline-pink);
}

.calendar-day.online {
    background: var(--online-green);
}

.calendar-day.mixed {
    background: linear-gradient(
        135deg,
        var(--offline-pink) 0%,
        var(--offline-pink) 50%,
        var(--online-green) 50%,
        var(--online-green) 100%
    );
}

.calendar-day.selected {
    border-color: #ffffff;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.18),
        0 12px 26px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.calendar-weekday {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.8;
}

.nearest-card {
    border-color: rgba(211, 36, 131, 0.7);
}

@media (max-width: 380px) {
    .calendar-grid {
        gap: 6px;
    }

    .calendar-day {
        min-height: 58px;
        border-radius: 15px;
    }

    .calendar-day strong {
        font-size: 18px;
    }

    .calendar-day small,
    .calendar-weekday {
        font-size: 10px;
    }
}

/* =========================
   BOOKING CALENDAR FIX
========================= */

.calendar-card {
    background:
        linear-gradient(160deg, rgba(175, 29, 102, 0.18), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(175, 29, 102, 0.28);
    border-radius: 24px;
    padding: 14px;
    margin: 16px 0 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.32);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
}

.calendar-day {
    min-height: 66px;
    border-radius: 18px;
    text-decoration: none;
    color: #050205;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-weight: 800;
    border: 2px solid transparent;
    box-shadow: inset 0 -12px 18px rgba(0, 0, 0, 0.08);
}

.calendar-day strong {
    font-size: 20px;
    line-height: 1;
}

.calendar-day small {
    font-size: 11px;
    line-height: 1;
}

.calendar-day.empty {
    color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.05);
}

.calendar-day.offline {
    background: var(--offline-pink);
}

.calendar-day.online {
    background: var(--online-green);
}

.calendar-day.mixed {
    background: linear-gradient(
        135deg,
        var(--offline-pink) 0%,
        var(--offline-pink) 50%,
        var(--online-green) 50%,
        var(--online-green) 100%
    );
}

.calendar-day.selected {
    border-color: #ffffff;
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.18),
        0 12px 26px rgba(0, 0, 0, 0.35);
    transform: translateY(-2px);
}

.calendar-weekday {
    font-size: 11px;
    text-transform: uppercase;
    opacity: 0.8;
}

.booking-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 14px 0 16px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
}

.booking-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.offline-dot {
    background: var(--offline-pink);
}

.online-dot {
    background: var(--online-green);
}

.mixed-dot {
    background: linear-gradient(
        135deg,
        var(--offline-pink) 0%,
        var(--offline-pink) 50%,
        var(--online-green) 50%,
        var(--online-green) 100%
    );
}

.nearest-card {
    border-color: rgba(211, 36, 131, 0.7);
}

@media (max-width: 380px) {
    .calendar-grid {
        gap: 6px;
    }

    .calendar-day {
        min-height: 58px;
        border-radius: 15px;
    }

    .calendar-day strong {
        font-size: 18px;
    }

    .calendar-day small,
    .calendar-weekday {
        font-size: 10px;
    }
}

/* =========================
   BOOKING SCREEN BY TZ
========================= */

.booking-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 20px 0 18px;
    border: 1px solid rgba(175, 29, 102, 0.45);
    border-radius: 18px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
}

.booking-tab {
    padding: 15px 12px;
    text-align: center;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
    text-decoration: none;
    border-right: 1px solid rgba(175, 29, 102, 0.25);
}

.booking-tab:last-child {
    border-right: 0;
}

.booking-tab.active {
    background: linear-gradient(135deg, var(--logo-pink), var(--pink-bright));
    color: #050205;
}

.calendar-panel {
    border-radius: 24px;
    padding: 18px 14px;
    margin-bottom: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0.34));
    border: 1px solid rgba(175, 29, 102, 0.3);
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.calendar-header a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.calendar-header strong {
    font-size: 16px;
}

.calendar-legend {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}

.calendar-legend span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.legend-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.offline-dot {
    background: var(--offline-pink);
}

.online-dot {
    background: var(--online-green);
}

.month-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}

.month-weekdays span {
    text-align: center;
    color: rgba(255, 255, 255, 0.32);
    font-size: 11px;
    font-weight: 700;
}

.month-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 7px;
}

.month-day {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #050205;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    border: 2px solid transparent;
}

.month-day.offline {
    background: var(--offline-pink);
}

.month-day.online {
    background: var(--online-green);
}

.month-day.mixed {
    background: linear-gradient(
        135deg,
        var(--offline-pink) 0%,
        var(--offline-pink) 50%,
        var(--online-green) 50%,
        var(--online-green) 100%
    );
}

.month-day.disabled {
    background: transparent;
    color: rgba(255, 255, 255, 0.18);
}

.month-day.empty-day {
    background: transparent;
}

.month-day.selected {
    border-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.16);
}

body {
    background:
        radial-gradient(circle at 50% 0%, rgba(175, 29, 102, 0.22), transparent 34%),
        radial-gradient(circle at 80% 22%, rgba(211, 36, 131, 0.14), transparent 28%),
        linear-gradient(180deg, #080006 0%, #020102 100%);
}

.screen {
    position: relative;
    overflow: hidden;
}

.screen::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.12;
    background-image:
        radial-gradient(circle at 20% 18%, rgba(211, 36, 131, 0.7) 0 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, rgba(175, 29, 102, 0.6) 0 1px, transparent 1px),
        radial-gradient(circle at 35% 75%, rgba(211, 36, 131, 0.45) 0 1px, transparent 1px),
        linear-gradient(135deg, transparent 0 46%, rgba(175, 29, 102, 0.09) 47% 48%, transparent 49% 100%);
    background-size: 92px 92px, 110px 110px, 130px 130px, 180px 180px;
    mask-image: linear-gradient(to bottom, black 0%, black 70%, transparent 100%);
}

.screen > * {
    position: relative;
    z-index: 1;
}

.admin-top {
    text-align: center;
    margin: 0 0 18px;
}

.admin-title {
    margin: 0 0 8px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
}

.admin-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.35;
}

.admin-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 0 14px;
    margin: 0 0 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.admin-tabs::-webkit-scrollbar {
    display: none;
}

.admin-tab {
    flex: 0 0 auto;
    min-height: 34px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.09);
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.admin-tab.active {
    background: linear-gradient(135deg, #ad206c, #d32483);
    color: #050205;
}

.admin-page-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.15;
    font-weight: 900;
}

.admin-page-subtitle {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.35;
}

.admin-card-compact {
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(175, 29, 102, 0.38);
    background:
        radial-gradient(circle at 80% 0%, rgba(211, 36, 131, 0.14), transparent 42%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.46));
    margin-bottom: 16px;
}

.admin-card-compact h2 {
    margin: 0 0 14px;
    font-size: 20px;
    line-height: 1.2;
}

@media (max-width: 420px) {
    .admin-title {
        font-size: 26px;
    }

    .admin-tab {
        font-size: 12px;
        padding: 8px 12px;
    }

    .admin-page-title {
        font-size: 23px;
    }
}

/* ======================================================
   ADMIN DARK CARDS
   ====================================================== */

.admin-card-compact,
.prices-card,
.schedule-note-card,
.schedule-calendar-card,
.info-card,
.form-card,
.tariff-details {
    background:
        radial-gradient(circle at 85% 0%, rgba(211, 36, 131, 0.10), transparent 38%),
        linear-gradient(145deg, rgba(18, 10, 16, 0.92), rgba(2, 1, 2, 0.92)) !important;

    border: 1px solid rgba(175, 29, 102, 0.32) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035),
        0 0 22px rgba(0, 0, 0, 0.32) !important;
}

.admin-card-compact input,
.admin-card-compact textarea,
.admin-card-compact select,
.prices-card input,
.prices-card textarea,
.prices-card select,
.schedule-calendar-card input,
.schedule-calendar-card textarea,
.schedule-calendar-card select,
.info-card input,
.info-card textarea,
.info-card select,
.form-card input,
.form-card textarea,
.form-card select {
    background:
        linear-gradient(145deg, rgba(28, 18, 25, 0.88), rgba(12, 8, 11, 0.92)) !important;

    border: 1px solid rgba(175, 29, 102, 0.28) !important;
    color: #ffffff !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.035) !important;
}

.admin-card-compact input::placeholder,
.admin-card-compact textarea::placeholder,
.prices-card input::placeholder,
.prices-card textarea::placeholder,
.schedule-calendar-card input::placeholder,
.schedule-calendar-card textarea::placeholder,
.info-card input::placeholder,
.info-card textarea::placeholder,
.form-card input::placeholder,
.form-card textarea::placeholder {
    color: rgba(255, 255, 255, 0.34) !important;
}

.admin-card-compact h2,
.prices-card h2,
.schedule-calendar-card h2,
.info-card h2,
.form-card h2 {
    color: #ffffff;
}

.admin-card-compact p,
.prices-card p,
.schedule-calendar-card p,
.info-card p,
.form-card p {
    color: rgba(255, 255, 255, 0.66);
}

/* ======================================================
   ADMIN FINAL DARK STYLE
   ====================================================== */

.admin-card-compact,
.prices-card,
.schedule-note-card,
.schedule-calendar-card,
.admin-payments-card,
.admin-clients-card,
.admin-mailing-card,
.admin-birthday-card,
.admin-address-card,
.info-card {
    background:
        radial-gradient(circle at 85% 0%, rgba(211, 36, 131, 0.10), transparent 42%),
        linear-gradient(145deg, rgba(18, 9, 15, 0.72), rgba(3, 1, 3, 0.82)) !important;

    border: 1px solid rgba(175, 29, 102, 0.34) !important;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 0 18px rgba(0, 0, 0, 0.25) !important;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.admin-card-compact input,
.admin-card-compact textarea,
.admin-card-compact select,
.prices-card input,
.prices-card textarea,
.prices-card select,
.admin-payments-card input,
.admin-payments-card textarea,
.admin-payments-card select,
.admin-clients-card input,
.admin-clients-card textarea,
.admin-clients-card select,
.admin-mailing-card input,
.admin-mailing-card textarea,
.admin-mailing-card select,
.admin-birthday-card input,
.admin-birthday-card textarea,
.admin-birthday-card select,
.admin-address-card input,
.admin-address-card textarea,
.admin-address-card select {
    background:
        linear-gradient(145deg, rgba(32, 21, 29, 0.72), rgba(10, 6, 9, 0.82)) !important;

    border: 1px solid rgba(175, 29, 102, 0.26) !important;
    color: #ffffff !important;
}

.birth-date-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.birth-date-wrapper #birth-date-text {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 52px;
    box-sizing: border-box;
    padding: 0 58px 0 16px;
    border-radius: 16px;
}

.birth-calendar-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 13px;
    background: rgba(175, 29, 102, 0.22);
    color: #ffffff;
    font-size: 0;
    pointer-events: none;
    z-index: 2;
}

.birth-calendar-icon::before {
    content: "📅";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    line-height: 1;
}

.birth-date-native {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: transparent !important;
    opacity: 0.01 !important;
    z-index: 5 !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

.birth-date-native::-webkit-calendar-picker-indicator {
    opacity: 0;
    width: 38px;
    height: 38px;
    cursor: pointer;
}

.booking-logo {
    display: block;
    width: 58px;
    height: auto;
    margin: 0 auto 12px;
    object-fit: contain;
    filter: none !important;
    opacity: 1;
}

.admin-format-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.admin-format-button {
    min-height: 52px;
    border-radius: 16px;
    border: 1px solid rgba(175, 29, 102, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    font-weight: 900;
    cursor: pointer;
}

.admin-format-button.offline.active,
.admin-format-button.offline:checked,
.admin-format-button.offline-selected {
    background: linear-gradient(135deg, #ad206c, #d32483) !important;
    color: #050205 !important;
    border-color: rgba(211, 36, 131, 0.85) !important;
}

.admin-format-button.online.active,
.admin-format-button.online:checked,
.admin-format-button.online-selected {
    background: #37fe0d !important;
    color: #050205 !important;
    border-color: rgba(55, 254, 13, 0.9) !important;
}