.order-form {
    --field-height: 54px;
    --field-padding-x: 16px;
    --field-radius: 16px;
    --field-font-size: 1rem;
    --field-line-height: 1.35;
}

.order-layout {
    display: grid;
    gap: 20px;
}

.order-copy,
.order-form {
    padding: 24px 20px;
    border-radius: var(--radius-lg);
}

.order-copy {
    background:
        radial-gradient(circle at top right, rgba(197, 217, 77, 0.16), transparent 40%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
        linear-gradient(180deg, rgba(9, 14, 11, 0.96), rgba(9, 14, 11, 0.86));
}

.order-copy p {
    margin: 12px 0 0;
    color: var(--muted);
    line-height: 1.8;
}

.order-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.order-highlights span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    color: #d7ddd8;
    font-size: 0.92rem;
}

.order-form {
    display: grid;
    gap: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.012)),
        linear-gradient(180deg, rgba(9, 14, 11, 0.96), rgba(9, 14, 11, 0.86));
}

.form-status {
    display: none;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.form-status.is-visible {
    display: block;
}

.form-status.is-error {
    background: rgba(224, 84, 84, 0.12);
    border: 1px solid rgba(224, 84, 84, 0.28);
    color: #ffd3d3;
}

.form-status.is-success {
    background: rgba(197, 217, 77, 0.12);
    border: 1px solid rgba(197, 217, 77, 0.22);
    color: #edf6b6;
}

.field {
    display: grid;
    gap: 8px;
    align-content: start;
    min-width: 0;
}

.field.is-hidden {
    display: none;
}

.field label {
    color: #d7ddd8;
    font-weight: 600;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(197, 217, 77, 0.14);
    border-radius: var(--field-radius);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    padding: 14px var(--field-padding-x);
    font-size: var(--field-font-size);
    line-height: var(--field-line-height);
    box-sizing: border-box;
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

.field input,
.field select {
    min-height: var(--field-height);
    height: var(--field-height);
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-inline-end: 44px;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(245, 247, 244, 0.9) 50%),
        linear-gradient(135deg, rgba(245, 247, 244, 0.9) 50%, transparent 50%);
    background-position:
        calc(16px + 6px) calc(50% - 2px),
        16px calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.field select option,
.field select optgroup {
    color: #182019;
    background-color: #f3f6f1;
}

.field select option:checked,
.field select option:hover,
.field select option:focus {
    color: #111814;
    background: #dfe8d9;
}

.field input::placeholder,
.field textarea::placeholder {
    color: #7f8a83;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: rgba(197, 217, 77, 0.4);
    box-shadow: 0 0 0 4px rgba(197, 217, 77, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.field textarea {
    resize: vertical;
    min-height: 130px;
}

.field select:disabled,
.field input:disabled,
.field textarea:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
    border-color: rgba(224, 84, 84, 0.55);
    box-shadow: 0 0 0 4px rgba(224, 84, 84, 0.12);
}

.submit-button {
    width: 100%;
    margin-top: 4px;
}

@media (min-width: 768px) {
    .order-layout {
        grid-template-columns: 0.9fr 1.1fr;
        align-items: start;
    }

    .order-copy,
    .order-form {
        padding: 34px 32px;
    }

    .order-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
        align-items: start;
    }

    .field-full,
    .form-status,
    .submit-button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .order-form {
        grid-template-columns: minmax(0, 1fr);
    }
}
