/* ===============================================
   Nea Salamina Support Form
   Matches the printed Έντυπο Οικονομικής Ενίσχυσης
   =============================================== */

.nsl-form-wrapper {
    max-width: 860px;
    margin: 30px auto;
    padding: 0 16px;
    color: #222;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.nsl-form-wrapper *,
.nsl-form-wrapper *::before,
.nsl-form-wrapper *::after {
    box-sizing: border-box;
}

.nsl-form {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, .06);
}

/* ====== Header ====== */
.nsl-header {
    background: linear-gradient(135deg, #C8102E 0%, #9b0c23 100%);
    color: #fff;
    padding: 22px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.nsl-header__title h2 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.5px;
}

.nsl-header__title h2 span {
    font-weight: 600;
    font-size: 18px;
    opacity: .95;
}

.nsl-header__contact {
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13px;
    opacity: .95;
}

.nsl-header__slogan {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Impact', 'Oswald', 'Arial Black', sans-serif;
    font-style: italic;
    font-size: 26px;
    line-height: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nsl-header__slogan span {
    display: block;
}

/* ====== Sections ====== */
.nsl-section {
    border-bottom: 1px solid #f0f0f0;
}

.nsl-section:last-of-type {
    border-bottom: none;
}

.nsl-section__title {
    background: linear-gradient(135deg, #C8102E 0%, #a50d26 100%);
    color: #fff;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nsl-icon {
    font-size: 16px;
    line-height: 1;
}

.nsl-section__body {
    padding: 22px 28px;
}

.nsl-section__intro {
    margin: 0 0 14px;
    color: #444;
    font-size: 14px;
}

/* ====== Fields ====== */
.nsl-field {
    margin-bottom: 14px;
}

.nsl-field:last-child {
    margin-bottom: 0;
}

.nsl-field label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.nsl-required {
    color: #C8102E;
    font-weight: 700;
}

.nsl-field input[type="text"],
.nsl-field input[type="email"],
.nsl-field input[type="tel"],
.nsl-field input[type="number"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #d4d4d4;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}

.nsl-field input:focus {
    outline: none;
    border-color: #C8102E;
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.nsl-field input.nsl-error {
    border-color: #C8102E;
    background: #fff8f8;
}

/* Amount field with euro prefix */
.nsl-field--amount {
    position: relative;
    max-width: 280px;
}

.nsl-amount-label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 9px; /* compensate for label above */
    font-size: 18px;
    font-weight: 700;
    color: #C8102E;
    pointer-events: none;
    z-index: 1;
}

.nsl-field--amount input {
    padding-left: 32px;
    font-weight: 600;
    font-size: 17px;
}

/* ====== Radio groups ====== */
.nsl-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.nsl-radio-group--payment {
    gap: 12px 24px;
}

.nsl-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 10px 14px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: #fafafa;
    transition: all .15s;
    font-size: 14px;
    flex: 1 1 auto;
    min-width: 200px;
}

.nsl-radio:hover {
    border-color: #C8102E;
    background: #fff;
}

.nsl-radio input[type="radio"] {
    accent-color: #C8102E;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
}

.nsl-radio input[type="radio"]:checked ~ span {
    color: #C8102E;
    font-weight: 600;
}

.nsl-radio:has(input[type="radio"]:checked) {
    border-color: #C8102E;
    background: #fff5f6;
}

.nsl-radio--with-input {
    flex: 1 1 100%;
    min-width: 0;
}

.nsl-radio--with-input input[type="text"] {
    flex: 1;
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 4px 6px;
    background: transparent;
    font-size: 14px;
    font-family: inherit;
    margin-left: 6px;
    border-radius: 0;
}

.nsl-radio--with-input input[type="text"]:focus {
    outline: none;
    border-bottom-color: #C8102E;
}

/* ====== Checkbox / agreement ====== */
.nsl-statement {
    background: #fafafa;
    border-left: 4px solid #C8102E;
    padding: 14px 18px;
    margin: 0 0 18px;
    font-size: 14px;
    color: #444;
    border-radius: 0 6px 6px 0;
    font-style: italic;
}

.nsl-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
    margin-bottom: 18px;
}

.nsl-checkbox input[type="checkbox"] {
    accent-color: #C8102E;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

/* Honeypot — hidden from humans */
.nsl-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ====== Submit ====== */
.nsl-actions {
    margin-top: 4px;
}

.nsl-submit {
    background: linear-gradient(135deg, #C8102E 0%, #9b0c23 100%);
    color: #fff;
    border: none;
    padding: 14px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: transform .1s, box-shadow .15s, opacity .15s;
    box-shadow: 0 3px 10px rgba(200, 16, 46, .25);
    font-family: inherit;
}

.nsl-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(200, 16, 46, .35);
}

.nsl-submit:active:not(:disabled) {
    transform: translateY(0);
}

.nsl-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* ====== Status message ====== */
.nsl-message {
    margin-top: 16px;
    padding: 0;
    font-size: 14px;
}

.nsl-message:not(:empty) {
    padding: 14px 18px;
    border-radius: 6px;
    font-weight: 500;
}

.nsl-message.nsl-message--success {
    background: #e8f5ec;
    color: #1d6f37;
    border-left: 4px solid #28a745;
}

.nsl-message.nsl-message--error {
    background: #fdecee;
    color: #9b0c23;
    border-left: 4px solid #C8102E;
}

/* ====== Footer note ====== */
.nsl-footer-note {
    background: #fafafa;
    padding: 18px 28px;
    margin: 0;
    font-size: 13px;
    color: #555;
    line-height: 1.55;
    border-top: 1px solid #f0f0f0;
}

/* ====== Responsive ====== */
@media (max-width: 720px) {
    .nsl-form-wrapper {
        margin: 16px auto;
        padding: 0 10px;
    }
    .nsl-header {
        padding: 18px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .nsl-header__slogan {
        align-items: flex-start;
        font-size: 22px;
    }
    .nsl-header__title h2 {
        font-size: 19px;
    }
    .nsl-section__title {
        padding: 11px 18px;
        font-size: 14px;
    }
    .nsl-section__body {
        padding: 18px 18px;
    }
    .nsl-radio-group {
        flex-direction: column;
        gap: 8px;
    }
    .nsl-radio {
        min-width: 0;
        width: 100%;
    }
    .nsl-radio--with-input {
        flex-wrap: wrap;
    }
    .nsl-radio--with-input input[type="text"] {
        flex: 1 1 100%;
        margin-left: 0;
        margin-top: 8px;
    }
    .nsl-submit {
        width: 100%;
    }
    .nsl-footer-note {
        padding: 14px 18px;
    }
}
