.nyx-iw-form-wrapper {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background: #f8fbfd;
    padding: 22px;
    border: 1px solid #e0e7ee;
    border-radius: 10px;
}

.nyx-iw-course-desc {
    margin-bottom: 30px;
}

.nyx-iw-course-desc + h2 {
    margin-top: 34px;
}

.nyx-iw-closed-notice {
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #e7c8c8;
    border-left: 5px solid #a94442;
    border-radius: 10px;
    background: #fff7f7;
}

.nyx-iw-closed-message {
    margin: 0 0 8px;
    color: #8f2f2d;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.nyx-iw-closed-notice p {
    margin: 0;
    color: #5f3b3b;
    font-size: 15px;
    line-height: 1.55;
}

.nyx-iw-form h2 {
    margin-top: 26px;
    color: #003a64;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
    font-size: 22px;
    font-weight: 700;
}

.nyx-iw-form h2:first-of-type {
    margin-top: 0;
}

.nyx-iw-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-bottom: 16px;
}

.nyx-iw-grid-participants {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.nyx-iw-grid-participants .nyx-iw-field-full {
    grid-column: 1 / -1;
}

.nyx-iw-grid label {
    display: flex;
    flex-direction: column;
}

.nyx-iw-grid input {
    border: 1px solid #d0d9e3;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    background: #f3f8fc;
    width: 100%;
    box-sizing: border-box;
}

.nyx-iw-recaptcha-wrap {
    margin-top: 18px;
}

.grecaptcha-badge {
    bottom: 12px !important;
    right: 12px !important;
}

.nyx-iw-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    background: #003a64;
    color: #fff;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 200ms ease, transform 200ms ease;
    z-index: 99999;
}

.nyx-iw-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nyx-iw-add-participant,
.nyx-iw-remove-participant,
.nyx-iw-submit button,
.nyx-iw-form button[type="submit"] {
    background: #003a64;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 14px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.nyx-iw-add-participant:hover,
.nyx-iw-remove-participant:hover,
.nyx-iw-submit button:hover,
.nyx-iw-form button[type="submit"]:hover {
    background: #002b4b;
}

.nyx-iw-remove-participant {
    margin-top: 8px;
    background: #ef4444;
}

.nyx-iw-remove-participant:hover {
    background: #dc2626;
}

.nyx-iw-participant-divider {
    height: 1px !important;
    margin: 16px 0 14px !important;
    background: #c8d2dc !important;
    border: 0 !important;
}

.nyx-iw-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #003a64;
}

.nyx-iw-note-required {
    margin-top: 8px;
    font-size: 13px;
    color: #003a64;
    font-weight: 600;
}

.nyx-iw-summary {
    background: #fff;
    border: 1px solid #e0e7ee;
    border-radius: 8px;
    padding: 14px;
    min-height: 50px;
}

.nyx-iw-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
    margin-bottom: 12px;
}

.nyx-iw-summary-item {
    border: 1px solid #e0e7ee;
    border-radius: 8px;
    padding: 10px;
    background: #f8fbfd;
    font-size: 13px;
}

.nyx-iw-summary-totals {
    display: grid;
    gap: 8px;
}

.nyx-iw-summary-totals div {
    display: flex;
    justify-content: space-between;
    background: #003a64;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
}

.nyx-iw-summary-empty {
    color: #7b8794;
    font-size: 13px;
    font-weight: 400;
}

.nyx-iw-submit {
    margin-top: 16px;
}

@media (max-width: 640px) {
    .nyx-iw-form-wrapper {
        padding: 16px;
    }

    .nyx-iw-grid {
        grid-template-columns: 1fr;
    }

    .nyx-iw-grid-participants {
        grid-template-columns: 1fr;
    }

    .nyx-iw-add-participant,
    .nyx-iw-remove-participant,
    .nyx-iw-submit button,
    .nyx-iw-form button[type="submit"] {
        width: 100%;
        text-align: center;
    }

    .nyx-iw-summary-grid {
        grid-template-columns: 1fr;
    }

    .nyx-iw-summary-totals div {
        flex-direction: column;
        gap: 4px;
        align-items: flex-start;
    }
}
