html {
    background: #f4f7f5;
}

body {
    color: #1f2a2a;
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
}

.site-banner {
    align-items: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.10)), url("../Images/WinterShoreBackground.png");
    background-position: center;
    background-size: cover;
    display: flex;
    min-height: 130px;
}

.site-banner-inner {
    margin: 0 auto;
    max-width: 1080px;
    padding: 14px 16px;
    width: 100%;
}

.site-logo {
    display: block;
    height: auto;
    max-width: 100%;
}

.request-shell {
    min-height: 100vh;
    padding: 32px 16px;
}

.request-panel {
    background: #ffffff;
    border: 1px solid #d9e1dd;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(35, 49, 46, 0.08);
    margin: 0 auto;
    max-width: 1080px;
    padding: 32px;
}

h1,
h2 {
    color: #123c36;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.25rem;
}

.intro-text,
.section-note {
    color: #526460;
}

.intro-text {
    margin: 8px 0 28px;
}

.section-note {
    margin: 6px 0 18px;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.address-grid {
    grid-template-columns: minmax(120px, 0.8fr) minmax(240px, 2fr) minmax(140px, 1fr) minmax(180px, 1.2fr) auto;
}

.contact-grid {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    margin-top: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

label {
    color: #263735;
    font-size: 0.92rem;
    font-weight: 700;
}

input,
select,
textarea {
    border: 1px solid #b8c7c2;
    border-radius: 6px;
    font: inherit;
    max-width: none;
    min-height: 42px;
    padding: 8px 10px;
    width: 100%;
}

textarea {
    min-height: 84px;
    resize: vertical;
}

.message-textarea {
    background: #fff4f2;
    border-color: #f0b8b1;
    color: #8b1e16;
    font-family: Consolas, "Courier New", monospace;
    min-height: 160px;
}

.readonly-input,
input[readonly] {
    background: #eef3f1;
    color: #40514d;
}

.readonly-input {
    display: block;
    min-height: 42px;
    padding: 8px 10px;
}

.required {
    color: #b3261e;
}

.get-date-field {
    align-self: end;
}

.cbrm-button {
    background-color: #2e6da4;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    font-size: 14px;
    min-height: 42px;
    padding: 8px 14px;
}

.cbrm-button:hover,
.cbrm-button:focus {
    background-color: #245580;
    color: #ffffff;
}

.autocomplete-wrapper {
    position: relative;
}

.autocomplete-list {
    background: #ffffff;
    border: 1px solid #b8c7c2;
    border-radius: 6px;
    box-shadow: 0 10px 24px rgba(35, 49, 46, 0.14);
    display: none;
    left: 0;
    max-height: 260px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    z-index: 20;
}

.autocomplete-item {
    background: #ffffff;
    border: 0;
    color: #1f2a2a;
    display: block;
    padding: 10px 12px;
    text-align: left;
    width: 100%;
}

.autocomplete-item:hover,
.autocomplete-item:focus {
    background: #e8f2ef;
}

.items-section {
    border-top: 1px solid #d9e1dd;
    margin-top: 28px;
    padding-top: 24px;
}

.item-row {
    align-items: end;
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(180px, 1fr) minmax(260px, 2fr) auto;
    margin-bottom: 14px;
}

.item-row-hidden {
    display: none;
}

.message {
    border-radius: 6px;
    margin-top: 18px;
    padding: 12px 14px;
}

.validation-message {
    background: #fff4f2;
    border: 1px solid #f0b8b1;
    color: #8b1e16;
}

.actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 28px;
}

.confirmation-panel {
    max-width: 820px;
}

.confirmation-message {
    color: #263735;
    line-height: 1.55;
    margin-bottom: 24px;
}

.confirmation-message p {
    margin: 0 0 12px;
}

.confirmation-message ul {
    margin: 18px 0 0;
    padding-left: 24px;
}

.confirmation-message li {
    margin-bottom: 10px;
}

@media (max-width: 920px) {
    .address-grid,
    .contact-grid,
    .item-row {
        grid-template-columns: 1fr;
    }

    .request-panel {
        padding: 24px;
    }

    .actions {
        justify-content: stretch;
    }

    .actions .btn {
        width: 100%;
    }
}
