.nst-support-form-wrap {
    background: #ffffff;
    border-radius: 2px;
    box-shadow: 0 14px 42px rgba(20, 28, 48, 0.18);
    color: #15213c;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0 auto;
    max-width: 720px;
    padding: 34px 38px;
}

.nst-support-form-wrap,
.nst-support-form-wrap * {
    box-sizing: border-box;
}

.nst-support-form-wrap h2 {
    color: #15213c;
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 8px;
}

.nst-support-sub {
    color: #566174;
    font-size: 0.96rem;
    line-height: 1.5;
    margin: 0 0 24px;
}

.nst-support-field {
    margin-bottom: 18px;
}

.nst-support-field label {
    color: #15213c;
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.nst-support-field label .req {
    color: #b01822;
}

.nst-support-field input,
.nst-support-field select,
.nst-support-field textarea {
    appearance: none;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    color: #15213c;
    font-size: 0.98rem;
    line-height: 1.4;
    outline: none;
    padding: 12px 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.nst-support-field input:focus,
.nst-support-field select:focus,
.nst-support-field textarea:focus {
    border-color: #0b4ea2;
    box-shadow: 0 0 0 3px rgba(11, 78, 162, 0.14);
}

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

.nst-support-field select {
    background-image: linear-gradient(45deg, transparent 50%, #15213c 50%), linear-gradient(135deg, #15213c 50%, transparent 50%);
    background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
    background-repeat: no-repeat;
    background-size: 6px 6px, 6px 6px;
    padding-right: 38px;
}

.nst-support-row {
    display: grid;
    gap: 16px;
    grid-template-columns: 1fr 1fr;
}

.nst-support-phone-wrap {
    display: flex;
    gap: 8px;
}

.nst-support-phone-wrap select {
    flex-shrink: 0;
    width: 110px;
}

.nst-support-submit-btn {
    background: #b01822;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    margin-top: 4px;
    padding: 14px 18px;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.1s;
    width: 100%;
}

.nst-support-submit-btn:hover {
    background: #94151d;
}

.nst-support-submit-btn:active {
    transform: scale(0.99);
}

.nst-support-submit-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

.nst-support-msg {
    border-radius: 4px;
    display: none;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
    margin-top: 16px;
    padding: 14px 16px;
    text-align: center;
}

.nst-support-msg.success {
    background: #ecfdf3;
    border: 1px solid #86efac;
    color: #166534;
}

.nst-support-msg.error {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
}

.nst-support-msg.error a {
    color: #991b1b;
    font-weight: 800;
    text-decoration: underline;
}

.nst-support-field-error {
    color: #b01822;
    display: none;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 5px;
}

.nst-support-hp-field {
    height: 0;
    left: -9999px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

@media (max-width: 620px) {
    .nst-support-form-wrap {
        padding: 24px 18px;
    }

    .nst-support-row {
        grid-template-columns: 1fr;
    }

    .nst-support-phone-wrap {
        flex-direction: column;
    }

    .nst-support-phone-wrap select {
        width: 100%;
    }
}
