/* ==== CSS RESET ==== */
html, body, #app, app, .main-content, .landing-header, header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    font-family: 'Inter', 'Roboto', 'Open Sans', Arial, sans-serif;
    background: #F9FAFC;
}

*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

button, input, optgroup, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
    outline: none;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, blockquote, dl, dd {
    margin: 0;
    padding: 0;
    font-weight: inherit;
}

a {
    color: inherit;
    text-decoration: none;
    background-color: transparent;
}

ul, ol {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==== Глобальные цвета и утилиты ==== */
:root {
    --primary: #4F8FFF;
    --accent: #00B8A9;
    --secondary: #FFB822;
    --light: #F9FAFC;
    --header-gradient: linear-gradient(87deg, #2675E0 0%, #43C2FB 100%);
    --box-shadow: 0 2px 16px rgba(60, 120, 255, 0.08);
    --radius: 18px;
}

/* --- Основные классы --- */
.da-bg-white {
    background: #fff !important;
}

.da-bg-light {
    background: #F9FAFC !important;
}

.da-bg-primary {
    background: var(--primary) !important;
    color: #fff !important;
}

.da-bg-secondary {
    background: var(--secondary) !important;
    color: #252525 !important;
}

.da-bg-blue-light {
    background: #E9F3FF !important;
}

.da-bg-accent {
    background: #f3f7ff !important;
}

.da-text-primary {
    color: var(--primary) !important;
}

.da-text-secondary {
    color: var(--secondary) !important;
}

.da-text-gray-600 {
    color: #6c7281 !important;
}

.da-text-gray-500 {
    color: #979ba8 !important;
}

.da-text-error {
    color: #E53935;
}

.da-text-success {
    color: #22B07D;
}

.da-font-bold {
    font-weight: bold;
}

.da-text-sm {
    font-size: 0.93rem !important;
}

.da-text-center {
    text-align: center !important;
}

.da-text-nowrap {
    white-space: nowrap;
}

.w-full, .da-w-full {
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.max-w-sm {
    max-width: 420px;
}

.rounded-2xl {
    border-radius: 20px;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* --- Layout и отступы --- */
.da-mt-2 {
    margin-top: 0.5rem;
}

.da-mt-4 {
    margin-top: 1rem;
}

.da-mt-6 {
    margin-top: 1.5rem;
}

.da-mt-8 {
    margin-top: 2rem;
}

.da-mt-12 {
    margin-top: 3rem;
}

.da-mb-2 {
    margin-bottom: 0.5rem;
}

.da-mb-4 {
    margin-bottom: 1rem;
}

.da-mb-6 {
    margin-bottom: 1.5rem;
}

.da-mb-8 {
    margin-bottom: 2rem;
}

.da-mb-10 {
    margin-bottom: 2.5rem;
}

.da-mb-12 {
    margin-bottom: 3rem;
}

.da-mb-14 {
    margin-bottom: 3.5rem;
}

.da-mb-16 {
    margin-bottom: 4rem;
}

.da-p-6 {
    padding: 1.5rem !important;
}

.da-p-8 {
    padding: 2rem !important;
}

.da-py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.da-py-10 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}

.da-px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.da-mr-2 {
    margin-right: 0.5rem;
}

.da-mr-4 {
    margin-right: 1rem;
}

.da-ml-2 {
    margin-left: 0.5rem;
}

.da-ml-4 {
    margin-left: 1rem;
}

/* ==== Header ==== */
.da-header {
    width: 100vw;
    background: var(--header-gradient);
    box-shadow: 0 4px 32px 0 rgba(38,117,224,0.08);
    position: sticky;
    top: 0;
    z-index: 200;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.da-header-content {
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 86px;
    padding-left: 2.7rem !important;
    padding-right: 2.7rem !important;
}

.da-header-logo {
    color: #fff;
    margin-right: 1.1rem;
    font-size: 2.7rem !important;
}

.da-header-title {
    font-weight: 900;
    font-size: 1.35rem;
    letter-spacing: 0.01em;
    color: #fff;
    font-family: 'Inter', 'Roboto', 'Open Sans', Arial, sans-serif;
}

.da-header-actions {
    display: flex;
    gap: 1.1rem;
}

.da-header-btn {
    font-weight: 700 !important;
    font-size: 1.09rem !important;
    padding: 0.52em 2em !important;
    border-radius: 15px !important;
    min-height: 44px;
    letter-spacing: 0.01em;
    transition: background 0.14s, color 0.14s, box-shadow 0.14s;
}

/* ==== AppBar override (MudBlazor) ==== */
.mud-appbar, .da-appbar {
    background: #fff;
    box-shadow: none !important;
    border-bottom: 1px solid #eef1f6;
    margin-bottom: 2.5rem;
}

/* ==== Hero-блок ==== */
.da-landing-hero-modern {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(117deg, #1976D2 0%, #B7D5F7 85%, #F7FAFF 100%);
    border-radius: 2.3rem;
    box-shadow: 0 10px 48px rgba(25,118,210,0.10);
    padding: clamp(1.5rem, 6vw, 3.3rem) clamp(0.8rem, 6vw, 2rem);
    min-height: clamp(220px, 38vw, 360px);
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-title {
    font-size: clamp(1.3rem, 4.5vw, 2.3rem);
    font-weight: 900;
    color: #181C26;
    margin-bottom: 0.55em;
    line-height: 1.12;
    letter-spacing: 0.01em;
}

.hero-accent {
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.hero-desc {
    color: #285986;
    font-size: clamp(1rem, 2vw, 1.22rem);
    font-weight: 500;
    margin: 0.7em 0 1.5em 0;
    text-shadow: 0 1px 2px rgba(25,118,210,0.10);
}

.hero-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0.7rem;
}

.hero-btn {
    min-width: 136px;
    min-height: 40px;
    font-size: 1.06rem;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.55em 1.5em;
    transition: box-shadow 0.16s, background 0.14s, color 0.13s;
    box-shadow: 0 3px 16px rgba(25,118,210,0.08);
}

.hero-btn-primary {
    background: #5146E2 !important;
    color: #fff !important;
    border: none !important;
}

    .hero-btn-primary:hover {
        background: #3525b3 !important;
    }

.hero-btn-outline {
    background: transparent !important;
    color: #1976D2 !important;
    border: 2px solid #C8E1FA !important;
}

    .hero-btn-outline:hover {
        background: #1B6ECD !important;
        color: #fff !important;
    }

.hero-cta-link {
    margin-top: 0.7rem;
    color: #F7FAFF !important;
    text-decoration: underline !important;
    font-size: 1.01rem;
    letter-spacing: 0.01em;
    font-weight: 600;
    background: transparent !important;
}

    .hero-cta-link:hover {
        color: var(--accent) !important;
    }

/* ==== Cards/Features ==== */
.da-feature-card {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--box-shadow);
    padding: 1.5rem 1rem;
    transition: box-shadow 0.22s, transform 0.18s;
    border: 1px solid #eef1f6;
}

    .da-feature-card:hover {
        box-shadow: 0 8px 32px rgba(60, 120, 255, 0.16);
        transform: translateY(-3px) scale(1.02);
    }

    .da-feature-card .mud-icon-root {
        font-size: 2.8rem;
        margin-bottom: 0.6rem;
    }

/* ==== Тарифы ==== */
.tariff-card {
    background: linear-gradient(135deg, #F7FAFF 70%, #E6EEFA 100%);
    border-radius: 22px;
    box-shadow: 0 10px 44px 0 rgba(25,118,210,0.13), 0 1.5px 14px 0 rgba(25,118,210,0.10);
    padding: 2rem 1.2rem 1.7rem 1.2rem;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
    transition: box-shadow 0.2s, transform 0.17s;
    border: 2px solid #E3EBF9;
    position: relative;
}

    .tariff-card:hover {
        box-shadow: 0 18px 60px 0 rgba(25,118,210,0.18);
        transform: translateY(-7px) scale(1.025);
    }

.tariff-title {
    font-size: 1.13rem;
    font-weight: 700;
    color: #1976D2;
    margin-bottom: 0.3rem;
    letter-spacing: 0.01em;
    text-align: center;
}

.tariff-price {
    font-size: 1.37rem;
    font-weight: 800;
    color: #23272F;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tariff-list {
    font-size: 1.03rem;
    color: #252525;
    margin-bottom: 1.3rem;
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: 220px;
}

    .tariff-list li {
        margin-bottom: 0.25rem;
    }

.tariff-disabled {
    color: #b6bec9;
    text-decoration: line-through;
}

.tariff-btn {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.07rem;
    box-shadow: 0 6px 22px rgba(25,118,210,0.10);
    transition: box-shadow 0.16s, background 0.14s, color 0.13s;
    margin-top: auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .tariff-btn:disabled, .tariff-btn[disabled] {
        opacity: 0.7;
    }

.tariff-custom {
    border: 2px dashed #1976D2;
    background: linear-gradient(135deg, #F9FBFF 70%, #F2F7FD 100%);
}

/* ==== Отзывы ==== */
.result-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 7px 32px 0 rgba(25, 118, 210, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.2rem 1.3rem 1.5rem 1.3rem;
    min-height: 180px;
    transition: box-shadow 0.18s, transform 0.17s;
    cursor: default;
    text-align: center;
    width: 100%;
    height: 100%;
}

    .result-card:hover {
        box-shadow: 0 14px 48px 0 rgba(41, 152, 255, 0.15);
        transform: translateY(-4px) scale(1.03);
    }

.result-title {
    font-size: 1.12rem;
    font-weight: 500;
    color: #23272F;
    margin-top: 1.2rem;
    text-align: center;
    line-height: 1.36;
}

.result-icon {
    margin-bottom: 0.2rem;
    color: #66A9DF;
    font-size: 2.3rem !important;
}

/* ==== Контакты ==== */
.contact-simple-section {
    margin-bottom: 2.1rem;
}

.contact-simple-paper {
    border-radius: 18px;
    padding: 2.2rem 2.1rem 1.5rem 2.1rem;
    background: #F8F9FA;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 7px 32px 0 rgba(25, 118, 210, 0.07);
}

.contact-simple-content {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    flex-wrap: wrap;
}

.contact-phone-block {
    display: flex;
    align-items: center;
    font-size: 1.18rem;
    font-weight: 700;
    color: #1976D2;
}

.contact-phone-link {
    font-size: 1.18rem;
    font-weight: 700;
    color: #1976D2;
    text-decoration: none;
    transition: color 0.15s;
    margin-left: 0.5rem;
}

    .contact-phone-link:hover {
        color: var(--accent);
    }

.contact-mail-btn {
    border-radius: 13px;
    font-size: 1.07rem;
    font-weight: 700;
    min-width: 132px;
    min-height: 44px;
}
/* ========== Таблица приёмов (Appointments) ========== */
.appointments-header-th {
    min-width: 120px;
    text-align: left;
}

.appointments-header-th-date {
    min-width: 175px;
}

.appointments-header-th-type {
    min-width: 100px;
}

.appointments-header-th-status {
    min-width: 120px;
}

.appointments-header-th-notes {
    min-width: 120px;
}

.appointments-header-th-services {
    min-width: 160px;
}

.appointments-header-th-sum {
    min-width: 130px;
    text-align: left;
}

.appointments-header-th-actions {
    min-width: 80px;
    text-align: center;
}

/* ==== Секции ==== */
.da-section {
    background: #F9FAFC;
    border-radius: var(--radius);
    padding: 2rem 1.2rem;
    margin-bottom: 3.5rem;
}

.da-landing-section-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1d2235;
    margin-bottom: 1.8rem;
    text-align: center;
    letter-spacing: 0.01em;
}

/* ==== Футер ==== */
.da-footer {
    background: #F9FAFC;
    border-top: 1px solid #f1f1f4;
    color: #6c7281;
    font-size: 14px;
    text-align: center;
    padding: 1.2rem 0 0.5rem 0;
}

    .da-footer a {
        color: var(--primary);
        text-decoration: none;
        transition: color 0.14s;
    }

        .da-footer a:hover {
            color: #2558b4;
            text-decoration: underline;
        }

/* ==== Alerts ==== */
.da-alert {
    border-radius: 16px;
    padding: 1.1rem 1.3rem;
    font-size: 1.08rem;
    font-weight: 500;
    box-shadow: 0 4px 22px rgba(79,143,255,58)
}
.mud-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.mud-main-content {
    flex: 1 1 auto;
}
