* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #0b1f3a;
}

.nsog-form-wrap {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.nsog-form-header {
    margin-bottom: 24px;
    padding: 24px;
    border-radius: 16px;
    color: linear-gradient(135deg, #071b36, #102b52);
}

.nsog-form-header h1 {
    margin: 0 0 8px;
    font-size: 28px;
}

.nsog-form-header p {
    margin: 0;
    line-height: 1.6;
    color: linear-gradient(135deg, #071b36, #102b52);
}

.nsog-form-card {
    border: 1px solid #e2e6ef;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 22px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.nsog-form-card h2 {
    margin: 0 0 18px;
    font-size: 20px;
    color: #0b1f3a;
}

.nsog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.nsog-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.nsog-field.full {
    grid-column: 1 / -1;
}

.nsog-field label {
    font-weight: 700;
    font-size: 14px;
    color: #0b1f3a;
}

.nsog-field small {
    color: #637083;
}

.nsog-field input,
.nsog-field select,
.nsog-field textarea {
    width: 100%;
    border: 1px solid #cfd6e3;
    border-radius: 10px;
    padding: 12px 13px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
}

.nsog-field textarea {
    min-height: 120px;
    resize: vertical;
}

.nsog-field input:focus,
.nsog-field select:focus,
.nsog-field textarea:focus {
    border-color: #c59a35;
    box-shadow: 0 0 0 3px rgba(197, 154, 53, 0.15);
}

.nsog-required {
    color: #b00020;
}

.nsog-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    line-height: 1.5;
}

.nsog-consent input {
    margin-top: 4px;
}

.nsog-submit-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.nsog-btn {
    border: 0;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 800;
    color: #071b36;
    background: #d7ad44;
    cursor: pointer;
}

.nsog-btn:hover {
    background: #c99c31;
}

.nsog-btn:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.nsog-alert {
    display: none;
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.nsog-alert.success {
    display: block;
    background: #e8f7ee;
    color: #167744;
    border: 1px solid #b7e5c7;
}

.nsog-alert.error {
    display: block;
    background: #fff1f1;
    color: #9f1d1d;
    border: 1px solid #f0b7b7;
}

.nsog-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

@media (max-width: 700px) {
    body {
        padding: 12px;
    }

    .nsog-grid {
        grid-template-columns: 1fr;
    }

    .nsog-form-header,
    .nsog-form-card {
        padding: 18px;
    }

    .nsog-form-header h1 {
        font-size: 24px;
    }
}