/* Additions of 02.10.2026 on top of style.css (Yura's design): page wrappers without nested <html>/<body>,
   buttons in place of clickable divs, booking states, photos, stars, error banner. */

/* system fonts behind Inter (characters outside its latin subset, e.g. the rating stars) */
.cabinet-body,
.cabinet-body .window-card {
    font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* the heading gets focus after a navigation (FocusOnNavigate, for screen readers): no visible ring */
.cabinet-body h1:focus {
    outline: none;
}

.cabinet-body.auth-body .auth-section {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 32px 0;
}

.cabinet-body.auth-body .auth-section > .container {
    width: 100%;
}

/* day wheel items are buttons now: no button chrome */
.cabinet-body button.day-item {
    width: 100%;
    background: none;
    border: 0;
    text-align: left;
    font: inherit;
    color: inherit;
}

.cabinet-body button.day-item.day-item-active {
    background-color: var(--gray);
}

.cabinet-body button.day-item:focus-visible,
.cabinet-body .window-card:focus-visible,
.cabinet-body .star-button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* while a booking is sent or checked the choice is frozen */
.cabinet-body .wheel.wheel-locked {
    overflow-y: hidden;
}

.cabinet-body .picker-locked .day-item,
.cabinet-body .picker-locked .window-card {
    cursor: default;
}

.cabinet-body .picker-locked .window-card:not(.window-card-selected) {
    opacity: .55;
}

.cabinet-body .window-card:disabled {
    color: inherit;
}

.cabinet-body .booking-confirmation p {
    font-size: 16px;
    line-height: 24px;
}

/* rating stars as buttons */
.cabinet-body .rating-stars {
    display: flex;
    gap: 4px;
}

.cabinet-body .star-button {
    padding: 0 2px;
    background: none;
    border: 0;
    font-size: 40px;
    line-height: 1;
    color: #c9ccd1;
    cursor: pointer;
}

.cabinet-body .star-button.checked {
    color: orange;
}

.cabinet-body .review-label {
    margin-right: 1.25em;
    display: inline-block;
}

/* photos */
.cabinet-body .photo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    list-style: none;
}

.cabinet-body .photo-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 120px;
    font-size: 13px;
    line-height: 18px;
}

.cabinet-body .photo-item img,
.cabinet-body .photo-placeholder {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    background-color: var(--dark-gray);
}

.cabinet-body .photo-placeholder {
    display: block;
}

.cabinet-body .photo-rejected .photo-state,
.cabinet-body .photo-sendfailed .photo-state {
    color: #b02a37;
    font-weight: 600;
}

.cabinet-body .upload-area input[type=file] {
    max-width: 100%;
}

.error-logo {
    max-height: 64px;
}

.cabinet-body footer a.white-text,
.cabinet-body footer a.white-text:hover {
    color: var(--white);
}

/* unhandled-error banner of Blazor (_Host) */
#blazor-error-ui {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    padding: 12px 48px 12px 16px;
    background: #fff3cd;
    color: #1d1d1f;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .2);
    font-family: Inter, sans-serif;
}

#blazor-error-ui .dismiss {
    position: absolute;
    top: 6px;
    right: 12px;
    border: 0;
    background: none;
    font-size: 22px;
    cursor: pointer;
}
