/* ===================================
   SUBMIT PAGE
   =================================== */

body { overflow: auto !important; }

.submit-page {
    min-height: 100vh;
    padding: 90px 2rem 4rem;
    background: #E9EFF4;
}

.submit-inner {
    max-width: 680px;
    margin: 0 auto;
}

.submit-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.03em;
    color: #434649;
    text-transform: uppercase;
    margin: 0 0 1rem;
}

.submit-intro {
    font-size: 14px;
    line-height: 1.7;
    color: #636363;
    margin: 0 0 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #434649;
}

/* Form sections */
.submit-form {
    display: flex; flex-direction: column;
    gap: 0;
}

.form-section {
    border: none;
    border-bottom: 1px solid rgba(67, 70, 73, 0.15);
    padding: 1.5rem 0;
    margin: 0;
    display: flex; flex-direction: column;
    gap: 1rem;
}

.form-section:first-of-type { padding-top: 0; }

.form-section legend {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: #98bae3;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    padding: 0;
}

.form-row {
    display: flex; flex-direction: column;
    gap: 0.35rem;
}

.form-row-split {
    flex-direction: row;
    gap: 1rem;
}
.form-row-split > label { flex: 1; display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #434649;
    text-transform: uppercase;
}
.form-label em {
    color: #d54343;
    font-style: normal;
    margin-left: 0.15rem;
}
.form-hint {
    font-size: 10px;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.04em;
    text-transform: none;
}

/* Inputs */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="password"],
.form-row input[type="url"],
.form-row input[type="date"],
.form-row select,
.form-row textarea {
    width: 100%;
    background: #fff;
    border: 1px solid rgba(67, 70, 73, 0.25);
    padding: 0.65rem 0.75rem;
    font-family: 'Diatype', sans-serif;
    font-size: 14px;
    color: #1a1c1e;
    border-radius: 0;
    appearance: none;
    -webkit-appearance: none;
}
.form-row textarea {
    resize: vertical;
    line-height: 1.5;
    min-height: 90px;
    font-family: 'Diatype', sans-serif;
}

.form-row input:focus,
.form-row input[type="password"]:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: #98bae3;
    box-shadow: 0 0 0 2px rgba(152, 186, 227, 0.25);
}

.form-row select {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0l5 6 5-6z' fill='%23434649'/></svg>");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
    cursor: pointer;
}

.form-row input[type="file"] {
    width: 100%;
    font-family: 'Diatype', sans-serif;
    font-size: 13px;
    color: #636363;
}

/* Radio buttons */
.form-row-radio {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
}
.radio-label {
    display: flex; align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 13px;
    color: #434649;
}
.radio-label input[type="radio"] {
    width: 16px; height: 16px;
    accent-color: #98bae3;
    cursor: pointer;
}

/* Type-specific sections hidden by default */
.type-section { display: none; }
.type-section.is-active { display: flex; }

/* Submit button */
.form-submit {
    padding-top: 2rem;
    display: flex; flex-direction: column; gap: 1rem;
}

.submit-btn {
    background: #434649;
    color: #E9EFF4;
    border: none;
    padding: 1rem 2rem;
    font-family: 'Diatype', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: background 0.2s;
    align-self: flex-start;
}
@media (hover: hover) {
    .submit-btn:hover:not(:disabled) { background: #1a1c1e; }
}
.submit-btn:disabled {
    background: #999;
    cursor: not-allowed;
}

.form-disclaimer {
    font-size: 11px;
    color: #888;
    line-height: 1.6;
    margin: 0;
}

/* Status messages */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    font-size: 13px;
    line-height: 1.5;
    display: none;
}
.form-status.is-visible { display: block; }
.form-status.is-success {
    background: #d4ebd8;
    color: #1B6B4A;
    border-left: 4px solid #1B6B4A;
}
.form-status.is-error {
    background: #f5d4d4;
    color: #8B2D2D;
    border-left: 4px solid #8B2D2D;
}

/* Mobile */
@media (max-width: 768px) {
    .submit-page { padding: 70px 1rem 3rem; }
    .submit-title { font-size: 36px; }
    .form-row-split { flex-direction: column; gap: 1rem; }
}
