* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --geist: 'Geist', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html,
body {
    font-family: var(--geist);
    background-color: #ffffff;
    color: #1f2937;
}

.container {
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 1rem;
}

/* --- Radio Plans --- */
.plan-radios {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.radio-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.radio-input {
    appearance: none;
    height: 1.25rem;
    width: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background-color: white;
    transition: all 0.2s;
    cursor: pointer;
}

.radio-input:checked {
    border-color: #3b82f6;
    border-width: 6px;
}

.radio-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px #60a5fa, 0 0 0 4px white;
}

/* --- Form Elements --- */
.form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.section-card {
    border: 1px solid rgba(0, 0, 0, 0.134);
    border-radius: 10px;
    background: #fff;
    padding: 1.25rem;
}

.grid {
    display: grid;
    gap: 1rem;
}

.grid-2 {
    grid-template-columns: 1fr;
}

.grid-3 {
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.field-label {
    display: block;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.input,
.textarea {
    width: 100%;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    background-color: rgba(227, 227, 227, 0.15);
    border: 1px solid rgb(237, 237, 237);
    font-family: inherit;
    font-size: 1rem;
    transition: box-shadow 0.2s;
}

.input::placeholder,
.textarea::placeholder {
    color: #9ca3af;
}

.input:focus,
.textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #60a5fa;
}

.textarea {
    resize: none;
}

.hidden {
    display: none !important;
}

.space-y {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flex-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.option-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.option-label {
    font-weight: 500;
    color: #374151;
    min-width: 8rem;
}

.option-radios {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* --- Buttons --- */

.btn {

    background-color: #DC5100;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    transition: background-color 0.2s;
    text-align: center;
}

.btn:hover {
    background-color: #dc5800df;
}

.btn-outline {
    background-color: transparent;
    color: #1f2937;
    border: 1px solid #d1d5db;
    box-shadow: none;
}

.btn-outline:hover {
    background-color: #f3f4f6;
}

.status {
    font-size: 0.875rem;
    color: #6b7280;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    cursor: pointer;
}

/* --- Preview Specific Styles --- */
.preview-container {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.preview-header {
    background: #f9fafb;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.preview-body {
    padding: 2rem;
}

.preview-section-title {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.5rem;
    font-weight: 600;
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.5rem;
}

.preview-row {
    display: flex;
    margin-bottom: 1.25rem;
}

.preview-col {
    flex: 1;
    padding-right: 1rem;
}

.preview-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.preview-value {
    font-size: 1rem;
    color: #111827;
    font-weight: 500;
}

.preview-plan-badge {
    background: #eff6ff;
    color: #1d4ed8;
    padding: 4px 12px;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.required-star {
    color: #ef4444;
    margin-left: 2px;
}

.optional-tag {
    color: #9ca3af;
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 2px;
}
