/* HDPSC Form Style ------------------------------------------------ */

:root {
    --hdpsc-red: #ec1c24;
    --hdpsc-red-dark: #b51419;
    --text-dark: #111;
    --text-muted: #555;
    --border-color: #ddd;
    --bg-light: #fafafa;
    --radius: 6px;
    --input-height: 46px;
    --max-width: 900px;
}

body {
    font-family: "Inter", Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
    color: var(--text-dark);
}

.form-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 1rem 1.2rem 2rem;
}

.form-title {
    font-size: 1.6rem;
    margin: 1.2rem 0 1rem;
    border-left: 6px solid var(--hdpsc-red);
    padding-left: 10px;
}

/* Grid Layout ----------------------------------------------------- */

.form-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Form Fields ----------------------------------------------------- */

.form-label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-dark);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    height: var(--input-height);
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
    background: #fff;
    box-sizing: border-box;
}

.form-textarea {
    height: 140px;
    resize: vertical;
    line-height: 1.5;
}

/* Focus state */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--hdpsc-red);
    box-shadow: 0 0 0 2px rgba(236, 28, 36, 0.15);
}

/* Submit Button -------------------------------------------------- */

.btn-submit {
    display: inline-block;
    background: var(--hdpsc-red);
    color: #fff;
    border: none;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 1rem;
}

.btn-submit:hover {
    background: var(--hdpsc-red-dark);
}

/* Spacing Fix for iframe context -------------------------------- */

body {
    padding-bottom: 2rem;
}
