/* ============================================================
   KvinnoKapital Mentorship — Form Styles
   ============================================================ */

.kk-mentorship-form-wrap {
    max-width: 780px;
    margin: 0 auto;
    font-family: inherit;
}

.kk-intro {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 2em;
    color: #333;
}

/* ── Notices ──────────────────────────────────────────────── */

.kk-notice {
    padding: 16px 20px;
    border-radius: 4px;
    margin-bottom: 24px;
    border-left: 4px solid;
}

.kk-notice--success {
    background: #f0faf4;
    border-color: #2e7d52;
    color: #1a4d32;
}

.kk-notice--error {
    background: #fef8f8;
    border-color: #c0392b;
    color: #7b2220;
}

/* ── Fieldsets ────────────────────────────────────────────── */

.kk-fieldset {
    border: 1px solid #dde1e7;
    border-radius: 6px;
    padding: 24px 28px;
    margin-bottom: 28px;
}

.kk-legend {
    font-weight: 700;
    font-size: 1em;
    padding: 0 8px;
    color: #1a1a2e;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    font-size: 0.82em;
}

/* ── Fields ───────────────────────────────────────────────── */

.kk-field {
    margin-bottom: 20px;
}

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

.kk-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    font-size: 0.95em;
    line-height: 1.4;
}

.kk-field label span[aria-hidden] {
    color: #c0392b;
    margin-left: 2px;
}

.kk-hint {
    display: block;
    font-weight: 400;
    color: #666;
    font-size: 0.88em;
    margin-top: 3px;
}

.kk-field input[type="text"],
.kk-field input[type="email"],
.kk-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #c8cdd6;
    border-radius: 4px;
    font-size: 0.96em;
    font-family: inherit;
    color: #222;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.kk-field input[type="text"]:focus,
.kk-field input[type="email"]:focus,
.kk-field textarea:focus {
    outline: none;
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.12);
}

.kk-field textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

/* ── Role selector cards ──────────────────────────────────── */

.kk-fieldset--role {
    background: #fafafa;
}

.kk-radio-group--cards {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.kk-radio-card {
    flex: 1;
    min-width: 130px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 20px 16px;
    border: 2px solid #dde1e7;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
    background: #fff;
    text-align: center;
}

.kk-radio-card:hover {
    border-color: #e91e63;
    background: #fff7fb;
}

.kk-radio-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.kk-radio-card:has(input:checked) {
    border-color: #e91e63;
    background: #fff7fb;
    box-shadow: 0 0 0 3px rgba(107, 70, 193, 0.15);
}

.kk-card-icon {
    font-size: 2em;
    line-height: 1;
}

.kk-card-text {
    font-weight: 700;
    font-size: 1em;
    color: #222;
}

@media (max-width: 480px) {
    .kk-radio-group--cards {
        flex-direction: column;
    }
    .kk-radio-card {
        flex-direction: row;
        justify-content: flex-start;
        padding: 14px 16px;
    }
}

/* ── Two-column rows ──────────────────────────────────────── */

.kk-row--half {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 580px) {
    .kk-row--half {
        grid-template-columns: 1fr;
    }

    .kk-fieldset {
        padding: 18px 16px;
    }
}

/* ── Radio buttons ────────────────────────────────────────── */

.kk-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 8px;
}

.kk-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    font-size: 0.95em;
    cursor: pointer;
    color: #333;
}

.kk-radio-label input[type="radio"] {
    accent-color: #e91e63;
    width: 17px;
    height: 17px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Submit row ───────────────────────────────────────────── */

.kk-submit-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.kk-submit-btn {
    background: #e91e63;
    color: #fff;
    border: none;
    padding: 13px 32px;
    font-size: 1em;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
    letter-spacing: 0.01em;
}

.kk-submit-btn:hover,
.kk-submit-btn:focus {
    background: #c2185b;
    outline: none;
}

.kk-required-note {
    font-size: 0.85em;
    color: #666;
    margin: 0;
}

.kk-required-note span {
    color: #c0392b;
}
