.ecs-booking-wrap {
    --ecs-accent: #20b8e6;
    color: #111;
}

.ecs-booking-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.95fr);
    gap: 28px;
    align-items: start;
}

.ecs-form-card,
.ecs-table-card {
    background: #fff;
    border: 1px solid #d7dde3;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    padding: 22px;
}

.ecs-table-card + .ecs-table-card {
    margin-top: 20px;
}

.ecs-form-card h2,
.ecs-table-card h3,
.ecs-table-section h4 {
    margin-top: 0;
}

.ecs-table-card h3,
.ecs-form-card h2 {
    color: #0d0f12;
    font-size: 28px;
    margin-bottom: 20px;
}

.ecs-table-section h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--ecs-accent);
}

.ecs-table-wrap {
    overflow-x: auto;
}

.ecs-price-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.ecs-price-table th,
.ecs-price-table td {
    padding: 10px 12px;
    border: 1px solid #d7dde3;
    text-align: left;
    font-size: 14px;
}

.ecs-price-table th {
    background: #f3fbfe;
    color: #0d0f12;
}

.ecs-note,
.ecs-placeholder {
    font-size: 14px;
    color: #555;
    margin: 10px 0 0;
}

.ecs-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ecs-field {
    margin-bottom: 16px;
}

.ecs-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.ecs-field input,
.ecs-field select,
.ecs-field textarea {
    width: 100%;
    border: 1px solid #cfd6dd;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}

.ecs-field input:focus,
.ecs-field select:focus,
.ecs-field textarea:focus {
    outline: none;
    border-color: var(--ecs-accent);
    box-shadow: 0 0 0 3px rgba(32, 184, 230, 0.14);
}

.ecs-consent {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 14px;
    margin: 16px 0;
}

.ecs-consent input {
    margin-top: 4px;
}

.ecs-estimate-card {
    border: 1px solid #d7dde3;
    border-radius: 14px;
    padding: 18px;
    background: #fbfcfe;
    margin-bottom: 20px;
}

.ecs-estimate-head {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.ecs-estimate-head h3 {
    margin: 0;
    font-size: 18px;
}

.ecs-badge {
    display: inline-block;
    background: rgba(32, 184, 230, 0.12);
    color: #0e6078;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.ecs-estimate-line,
.ecs-estimate-totals > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ecs-estimate-line {
    padding: 10px 0;
    border-bottom: 1px solid #e6eaee;
}

.ecs-estimate-line:last-child {
    border-bottom: 0;
}

.ecs-estimate-totals {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #d7dde3;
}

.ecs-estimate-totals > div {
    padding: 4px 0;
}

.ecs-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.ecs-primary-btn,
.ecs-secondary-btn {
    border: 0;
    border-radius: 999px;
    padding: 13px 20px;
    cursor: pointer;
    font-weight: 700;
}

.ecs-primary-btn {
    background: var(--ecs-accent);
    color: #fff;
}

.ecs-secondary-btn {
    background: #eef4f7;
    color: #111;
}

.ecs-primary-btn.ecs-loading {
    opacity: 0.75;
}

.ecs-response {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 600;
}

.ecs-response.is-success {
    color: #147b29;
}

.ecs-response.is-error {
    color: #a21717;
}

@media (max-width: 980px) {
    .ecs-booking-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ecs-grid-two,
    .ecs-estimate-head,
    .ecs-estimate-line,
    .ecs-estimate-totals > div {
        grid-template-columns: 1fr;
        display: block;
    }

    .ecs-estimate-line > div:last-child,
    .ecs-estimate-totals > div strong {
        display: block;
        margin-top: 4px;
    }
}

.ecs-no-tables .ecs-booking-grid {
    grid-template-columns: 1fr;
}

.ecs-no-tables .ecs-form-card {
    max-width: 860px;
    width: 100%;
}
