/* Hero: статический HTML-превью приложения (эталон — BookingList.razor, AppMainFooter.razor) */
.landing-hero-preview {
    width: 100%;
    max-width: min(420px, 100%);
}

.landing-hero-preview .docs-app-preview {
    max-width: none;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.landing-hero-preview__header {
    min-height: 50px;
    padding: 0 4px 0 16px;
    background: #4340d2;
    border-bottom: none;
    color: #fff;
    justify-content: space-between;
}

.landing-hero-preview__header .docs-app-preview-header-title,
.landing-hero-preview__header-title {
    flex: 1;
    text-align: left;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
}

.landing-hero-preview__header-tools {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.landing-hero-preview__header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 24px !important;
    color: #fff;
    opacity: 0.95;
}

.landing-hero-preview__body {
    position: relative;
    min-height: 380px;
    padding-bottom: 72px !important;
    background: #fff;
}

.landing-hero-preview__count {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #616161;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.landing-hero-preview__date {
    padding: 10px 16px 6px;
    font-size: 15px;
    font-weight: 600;
    color: #212121;
    text-align: left;
}

.landing-hero-preview__date--next {
    padding-top: 16px;
    border-top: 1px solid #e8eaed;
}

.landing-hero-preview .docs-app-preview-list-row {
    align-items: flex-start;
}

.landing-hero-preview .docs-app-preview-list-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.landing-hero-preview__participants {
    font-size: 13px;
    font-weight: 500;
    color: #616161;
}

.landing-hero-preview__participants--full {
    color: #f44336;
    font-weight: 600;
}

.landing-hero-preview__pay-icon {
    font-size: 16px !important;
    vertical-align: -3px;
    margin-right: 2px;
}

.landing-hero-preview__fab {
    position: absolute;
    right: 16px;
    bottom: 12px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #4340d2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(67, 64, 210, 0.4);
    pointer-events: none;
}

.landing-hero-preview__fab .material-symbols-outlined {
    font-size: 28px;
}

.landing-hero-preview .docs-app-preview-bottom-nav {
    padding-bottom: 12px;
}

.landing-hero-preview .docs-app-preview-nav-item--active {
    color: #4340d2;
}

.landing-hero-preview .docs-app-preview-nav-item--active .material-symbols-outlined {
    color: #4340d2;
    font-variation-settings: "FILL" 1;
}

/* Компактные превью в ряд (лендинг /start) */
.landing-start-previews > [class*="col-"] {
    display: flex;
}

.landing-start-previews .landing-hero-preview--tile {
    width: 100%;
    max-width: 340px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.landing-start-previews .landing-hero-preview--tile .docs-app-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 600px;
    aspect-ratio: 9 / 19;
    overflow: hidden;
}

.landing-start-previews .landing-hero-preview--tile .docs-app-preview-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.landing-start-previews .landing-hero-preview--tile .landing-hero-preview__body {
    flex: 1;
    min-height: 0;
    padding-bottom: 56px !important;
}

.landing-start-previews .landing-hero-preview--tile .landing-hero-preview__body--no-fab {
    padding-bottom: 16px !important;
}

.landing-start-previews .landing-hero-preview--tile .landing-hero-preview__body--booking {
    padding-bottom: 16px !important;
}

.landing-start-previews .landing-hero-preview--tile .docs-app-preview-bottom-nav {
    margin-top: auto;
    flex-shrink: 0;
}

.landing-hero-preview__booking-nav .docs-app-preview-nav-item {
    font-size: 10px;
}

.landing-hero-preview--tile {
    max-width: 100%;
    margin: 0 auto;
}

.landing-hero-preview--tile .landing-hero-preview__body {
    min-height: 240px;
    padding-bottom: 56px !important;
}

.landing-hero-preview--tile .landing-hero-preview__body--no-fab {
    min-height: 260px;
    padding-bottom: 16px !important;
}

.landing-hero-preview--tile .landing-hero-preview__fab {
    width: 48px;
    height: 48px;
    right: 12px;
    bottom: 10px;
}

.landing-hero-preview--tile .landing-hero-preview__fab .material-symbols-outlined {
    font-size: 24px;
}

.landing-hero-preview__header--with-back {
    padding-left: 4px;
    gap: 0;
}

.landing-hero-preview__header--with-back .landing-hero-preview__header-title {
    flex: 1;
}

.landing-hero-preview__context {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: #616161;
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    text-align: left;
}

.landing-hero-preview__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    padding: 2px 6px;
    border-radius: 999px;
    background: #e8f5e9;
    color: #2e7d32;
}

.landing-hero-preview__badge--wait {
    background: #fff3e0;
    color: #e65100;
}

.landing-hero-preview .docs-app-preview-body--settings {
    padding: 12px 16px 16px;
}

.landing-hero-preview .docs-app-preview-body--detail {
    padding: 16px;
}

.landing-hero-preview .docs-app-preview-body--detail .docs-app-preview-link-row:first-of-type {
    margin-top: 0;
}

/* Форма участника (BookingItemForm.razor) */
.landing-hero-preview__body--form {
    padding: 12px 16px 16px !important;
    overflow: hidden;
}

.landing-start-previews .landing-hero-preview__body--form {
    padding: 12px !important;
}

.landing-start-previews .landing-hero-preview__form-stack {
    gap: 10px;
}

.landing-hero-preview__form-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.landing-hero-preview__form-field-label {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #616161;
    margin-bottom: 6px;
}

.landing-hero-preview__form-input,
.landing-hero-preview__form-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    background: #fff;
    color: #212121;
    font-size: 14px;
}

.landing-hero-preview__form-input {
    padding: 10px 12px;
}

.landing-hero-preview__form-section-title {
    font-size: 13px;
    font-weight: 600;
    color: #212121;
    margin-top: 4px;
}

.landing-hero-preview__form-helper {
    font-size: 12px;
    color: #616161;
    margin-top: -4px;
}

.landing-hero-preview__client-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 12px 14px;
    background: #fff;
}

.landing-hero-preview__client-card-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.landing-hero-preview__client-card-icon {
    font-size: 22px !important;
    color: #616161;
    flex-shrink: 0;
}

.landing-hero-preview__client-card-label {
    font-size: 12px;
    color: #616161;
    margin-bottom: 2px;
}

.landing-hero-preview__client-card-name {
    font-size: 15px;
    font-weight: 500;
    color: #212121;
}

.landing-hero-preview__client-card-phone {
    font-size: 13px;
    color: #616161;
}

.landing-hero-preview__client-card-chevron {
    font-size: 22px !important;
    color: #9e9e9e;
    flex-shrink: 0;
}

.landing-hero-preview__form-select {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    font-size: 14px;
    color: #212121;
    background: #fff;
}

.landing-hero-preview__status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #2e7d32;
    flex-shrink: 0;
}

.landing-hero-preview__discount-type {
    display: flex;
    gap: 8px;
}

.landing-hero-preview__discount-option {
    min-width: 40px;
    padding: 6px 12px;
    border: 1px solid #bdbdbd;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: #616161;
    background: #fff;
}

.landing-hero-preview__discount-option--active {
    border-color: #4340d2;
    color: #4340d2;
    background: rgba(67, 64, 210, 0.08);
}

.landing-hero-preview__calc-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    background: #fff;
}

.landing-hero-preview__calc-card-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.landing-hero-preview__calc-card-formula {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    flex: 1;
}

.landing-hero-preview__calc-card-icon {
    font-size: 20px !important;
    color: #616161;
    flex-shrink: 0;
}

.landing-hero-preview__calc-card-label {
    font-size: 14px;
    font-weight: 600;
    color: #616161;
}

.landing-hero-preview__calc-card-text {
    font-size: 13px;
    line-height: 1.45;
    color: #616161;
    white-space: normal;
}

