body {
    font-family: system-ui, Arial, sans-serif;
    margin: 0;
    background: #f6f7fb;
    color: #111827;
}

.wrap {
    max-width: 820px;
    margin: 0 auto;
    padding: 24px;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 6px 22px rgba(0,0,0,.08);
}

.logo {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

    .logo img {
        max-width: 150px;
        height: auto;
    }

.intro {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
    margin: 0 0 18px;
}

.sectionTitle {
    margin: 18px 0 10px;
    font-size: 14px;
    letter-spacing: .08em;
    font-weight: 800;
    color: #111827;
}

    .sectionTitle::after {
        content: "";
        display: block;
        height: 1px;
        background: #e5e7eb;
        margin-top: 10px;
    }

h1 {
    font-size: 20px;
    margin: 0 0 12px;
}

label {
    display: block;
    font-size: 13px;
    margin: 14px 0 6px;
    color: #2b2f36;
}

input, select, textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #d7dbe3;
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

@media (max-width: 720px) {
    .row {
        grid-template-columns: 1fr;
    }
}



.hint {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 14px;
}

.consent div {
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

    .consent input {
        width: 18px;
        height: 18px;
        margin-top: 2px;
    }

.btn {
    margin-top: 16px;
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    background: #111827;
    color: #fff;
}

    .btn:disabled {
        opacity: .45;
        cursor: not-allowed;
    }

.error {
    margin-top: 12px;
    color: #b00020;
    background: #fff0f0;
    border: 1px solid #f5c2c7;
    padding: 10px;
    border-radius: 12px;
    white-space: pre-wrap;
}

.ok {
    margin-top: 12px;
    background: #effaf0;
    border: 1px solid #b7ebc0;
    padding: 10px;
    border-radius: 12px;
}

.footer {
    margin-top: 14px;
    font-size: 12px;
    color: #6b7280;
}

.hp {
    display: none !important;
}
.captcha-error {
    color: red;
}

.is-hidden {
    display: none;
}

.req-star {
    color: #dc2626;
}

.required-note {
    margin: 10px 0 0;
    font-size: 11px;
    font-style: italic;
    color: #4b5563;
}


.legal-links {
    margin: 10px 0 12px;
    font-size: 12px;
    color: #4b5563;
}

.legal-links a {
    color: #1f4fa3;
    text-decoration: none;
}

.legal-links a:hover,
.legal-links a:focus-visible {
    text-decoration: underline;
}


.submit-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 24, 39, 0.35);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.submit-overlay.is-hidden {
    display: none;
}

.submit-overlay-content {
    background: #ffffff;
    border-radius: 12px;
    min-width: 240px;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px 12px;
}

.submit-overlay-content p {
    margin: 0;
    font-size: 14px;
    color: #111827;
    font-weight: 600;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #d1d5db;
    border-top-color: #0054a6;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.overlay-icon-success {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #16a34a;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

.submit-overlay-actions {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 4px;
}

.submit-overlay-actions.is-hidden {
    display: none;
}

.overlay-btn {
    border: 0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.overlay-btn-primary {
    background: #0054a6;
    color: #fff;
}

.overlay-btn-secondary {
    background: #eef2ff;
    color: #1e3a8a;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
