/* === BAZA KOLORÓW SGK – jak chcesz, podrasuj === */
.regForm {
    --sgk-blue: #0054a6; /* pasek menu */
    --sgk-blue-dark: #003f7b;
    --sgk-red: #bf0028; /* "ZGŁASZAM AWARIĘ" */
    --sgk-border: #d4dde7;
    --sgk-border-strong: #b4c1d4;
    --sgk-bg-light: #f3f6fb;
    --sgk-text: #1f2933;
    --sgk-muted: #6b7280;
    --sgk-error: #c82333;
    --sgk-radius: 4px;
    --sgk-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.08);
    --sgk-focus-ring: 0 0 0 3px rgba(0, 84, 166, 0.25);
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

/* === FORMULARZ – BOX === */
.regForm {
    /*max-width: 640px;*/
    margin: 0 auto;
    /*padding: 22px 20px;*/
    background: #ffffff;
    /*border: 1px solid #e1e5ec;*/
    /*border-radius: 6px;
    box-shadow: var(--sgk-shadow-sm);*/
}

/* === GRUPA POLA === */
.regInputGroup {
    margin-bottom: 16px;
}

/* label */
.regInputGroup > label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--sgk-text);
}

/* === HOLDER INPUTA === */
.regInputHolder {
    position: relative;
}

/* === POLA TEKSTOWE / TEXTAREA / SELECT – wspólny wygląd === */
.regInputHolder .regField,
.regInputHolder select.regField,
.regInputHolder textarea.regField {
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--sgk-radius);
    border: 1px solid var(--sgk-border);
    padding: 8px 10px;
    font-size: 14px;
    color: var(--sgk-text);
    background-color: #ffffff;
    transition:
        border-color 120ms ease-out,
        box-shadow 120ms ease-out,
        background-color 120ms ease-out;
}

.regInputHolder .regField::placeholder {
    color: #9ca3af;
}

/* hover */
.regInputHolder .regField:hover {
    border-color: var(--sgk-border-strong);
}

/* focus */
.regInputHolder .regField:focus {
    outline: none;
    border-color: var(--sgk-blue);
    box-shadow: var(--sgk-focus-ring);
}

/* textarea – wyższa */
.regInputHolder textarea.regField {
    min-height: 120px;
    resize: vertical;
}

/* select – strzałka */
.regInputHolder select.regField {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #6b7280 50%),
        linear-gradient(135deg, #6b7280 50%, transparent 50%);
    background-position:
        calc(100% - 12px) 50%,
        calc(100% - 7px) 50%;
    background-size:
        6px 6px,
        6px 6px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

/* === RADIO / CHECKBOX – jeśli też będą regField === */
.regInputHolder .regField[type="radio"],
.regInputHolder .regField[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 6px;
    cursor: pointer;
    accent-color: var(--sgk-blue); /* nowoczesne przeglądarki */
}

/* === STAN BŁĘDU (jeśli dodasz klasę) === */
.regInputGroup.regInputGroupError .regField {
    border-color: var(--sgk-error);
}

.regInputGroup.regInputGroupError > label {
    color: var(--sgk-error);
}

/* === KOMUNIKATY Z SERWERA === */
.regFormMessage {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.4;
    color: var(--sgk-muted);
}

/* wariant błędu – dodaj klasę np. z JS */
.regFormMessage.regFormMessageError {
    color: var(--sgk-error);
}

/* sukces – np. po wysyłce */
.regFormMessage.regFormMessageOk {
    color: var(--sgk-blue-dark);
}

/* === STOPKA FORMULARZA (przycisk) === */
.regSubmitHolder {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
}

/* PRZYCISK SUBMIT */
/*.regSubmitButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    padding: 9px 20px;
    border-radius: 999px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    background: var(--sgk-red);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(191, 0, 40, 0.4);
    transition:
        background-color 120ms ease-out,
        transform 120ms ease-out,
        box-shadow 120ms ease-out;
}

.regSubmitButton:hover {
    background: #a10022;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(191, 0, 40, 0.55);
}

.regSubmitButton:focus {
    outline: none;
    box-shadow:
        var(--sgk-focus-ring),
        0 4px 10px rgba(191, 0, 40, 0.4);
}
*/
.regSubmitButton:disabled {
    background: #9ca3af;
    box-shadow: none;
    cursor: wait;
    transform: none;
}

.regForm .regFFL0 {
    display: none;
}

.regFormSuccessMessage {
    color: #031b05;
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: #e6f4ea;
    border-width: 1px;
    border-color: #379b54;
    border-radius: 6px;
    font-weight: 400;
}
.regFormErrorMessage {
    color: #d30239;
    padding: 1em;
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: #ffe6ea;
    border-width: 1px;
    border-color: #d30239;
    border-radius: 6px;
    font-weight: 400;
}
