.booking-status {
    position: relative;
    overflow: hidden;
    margin-top: 34px;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid rgba(96, 72, 48, .14);
    border-radius: 12px;
    background:
        radial-gradient(ellipse at 100% 0, rgba(201, 166, 107, .18), transparent 45%),
        linear-gradient(135deg, #fff, #f7f2e9);
    box-shadow: 0 18px 50px rgba(48, 39, 31, .08);
}

.booking-status-copy {
    margin-bottom: 24px;
}

.booking-status-kicker {
    color: #8a6244;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.booking-status-copy h2 {
    margin: 9px 0;
    color: #30271f;
    font: 500 clamp(25px, 4vw, 34px)/1.2 var(--serif);
}

.booking-status-copy p,
.booking-status-hint {
    margin: 0;
    color: #796b5b;
    font-size: 13px;
    line-height: 1.7;
}

.booking-status-label {
    display: block;
    margin-bottom: 8px;
    color: #3c3026;
    font-size: 12px;
    font-weight: 700;
}

.booking-status-field {
    position: relative;
    display: flex;
    min-height: 60px;
    align-items: center;
    border: 1px solid #ded3c5;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(48, 39, 31, .05);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.booking-status-field:focus-within {
    border-color: #8a6244;
    box-shadow: 0 0 0 4px rgba(138, 98, 68, .13), 0 8px 24px rgba(48, 39, 31, .08);
}

.booking-status-search-icon {
    position: relative;
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-left: 18px;
    border: 2px solid #8a7867;
    border-radius: 50%;
}

.booking-status-search-icon::after {
    position: absolute;
    right: -6px;
    bottom: -4px;
    width: 7px;
    height: 2px;
    transform: rotate(45deg);
    border-radius: 2px;
    background: #8a7867;
    content: "";
}

.booking-status-field input {
    width: 100%;
    min-width: 0;
    height: 58px;
    padding: 0 16px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #30271f;
    font: 700 16px/1 var(--sans);
    letter-spacing: .08em;
    text-transform: uppercase;
}

.booking-status-field input::placeholder {
    color: #ad9e8e;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .01em;
    text-transform: none;
}

.booking-status-prefix {
    margin-right: 14px;
    padding: 7px 9px;
    border-radius: 4px;
    background: #f2ece4;
    color: #604830;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.booking-status-hint {
    margin: 9px 0 0;
    font-size: 11px;
}

.booking-status-result {
    display: flex;
    min-height: 48px;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
    padding: 11px 14px;
    border: 1px solid #e6dfd5;
    border-radius: 6px;
    background: rgba(255, 255, 255, .78);
    color: #796b5b;
    font-size: 13px;
    line-height: 1.5;
}

.booking-status-result[data-state="loading"]::before {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    border: 2px solid #e2d8cc;
    border-top-color: #604830;
    border-radius: 50%;
    animation: booking-status-spin .75s linear infinite;
    content: "";
}

.booking-status-result[data-state="success"] {
    border-color: #b8d2bd;
    background: #f1f8f2;
    color: #245b35;
    font-weight: 600;
}

.booking-status-result[data-state="success"]::before {
    display: grid;
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #dcefe0;
    color: #245b35;
    content: "✓";
}

.booking-status-result[data-state="error"] {
    border-color: #ead0c7;
    background: #fff7f4;
    color: #8b3d2b;
}

@keyframes booking-status-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .booking-status-field {
        transition: none;
    }

    .booking-status-result[data-state="loading"]::before {
        animation: none;
    }
}

@media (max-width: 600px) {
    .booking-status {
        padding: 22px 18px;
    }

    .booking-status-field {
        min-height: 56px;
    }

    .booking-status-field input {
        height: 54px;
        padding-right: 8px;
        padding-left: 12px;
        font-size: 14px;
    }

    .booking-status-field input::placeholder {
        font-size: 11px;
    }
}
