/* FD Premium – Dados dos Participantes */

.fdpd-wrap {
    max-width: 720px;
    margin: 0 auto;
    font-family: inherit;
    padding: 20px 0 40px;
}

/* ── Header / steps ── */
.fdpd-header { margin-bottom: 32px; }

.fdpd-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 13px;
}

.fdpd-step { color: #aaa; }
.fdpd-step--done   { color: #1D9E75; font-weight: 600; }
.fdpd-step--active { color: #534AB7; font-weight: 700; }
.fdpd-step-sep { color: #ccc; }

.fdpd-header h2 { font-size: 24px; font-weight: 700; margin: 0 0 6px; }
.fdpd-header p  { color: #555; margin: 0 0 16px; }

.fdpd-progress-bar  { height: 4px; background: #eee; border-radius: 2px; }
.fdpd-progress-fill { height: 100%; background: #7F77DD; border-radius: 2px; transition: width .4s ease; }

/* ── Cards ── */
.fdpd-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 16px;
}

.fdpd-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.fdpd-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700;
    flex-shrink: 0;
}
.fdpd-avatar--participant    { background: #EEEDFE; color: #534AB7; }
.fdpd-avatar--nonparticipant { background: #E1F5EE; color: #0F6E56; }
.fdpd-avatar--child          { background: #FAEEDA; color: #854F0B; }
.fdpd-avatar--toddler        { background: #FAECE7; color: #993C1D; }

.fdpd-badge {
    display: inline-block;
    font-size: 11px; font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    text-transform: uppercase; letter-spacing: .03em;
    margin-left: 6px;
}
.fdpd-badge--participant    { background: #EEEDFE; color: #534AB7; }
.fdpd-badge--nonparticipant { background: #E1F5EE; color: #0F6E56; }
.fdpd-badge--child          { background: #FAEEDA; color: #854F0B; }
.fdpd-badge--toddler        { background: #FAECE7; color: #993C1D; }

/* ── Fields ── */
.fdpd-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.fdpd-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 14px;
}
.fdpd-field--full { grid-column: 1 / -1; }

.fdpd-field label {
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .04em;
    color: #666;
}

.fdpd-field input[type="text"],
.fdpd-field input[type="date"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color .2s;
    box-sizing: border-box;
    background: #fafafa;
}
.fdpd-field input:focus {
    outline: none;
    border-color: #7F77DD;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(127,119,221,.12);
}
.fdpd-field input.fdpd-error { border-color: #e24b4a; }

.fdpd-req { color: #e24b4a; }

/* ── Instrument chips ── */
.fdpd-instruments { margin-top: 4px; }
.fdpd-instruments label { margin-bottom: 10px; }

.fdpd-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.fdpd-chip {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 7px 14px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fafafa;
    font-size: 13px; font-weight: 500; color: #555;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
}
.fdpd-chip:hover { background: #f0f0f0; border-color: #bbb; }
.fdpd-chip.fdpd-chip--selected {
    background: #EEEDFE;
    border-color: #AFA9EC;
    color: #534AB7;
    font-weight: 600;
}

.fdpd-other-wrap { margin-top: 10px; }
.fdpd-other-input {
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 7px;
    font-size: 14px;
    font-family: inherit;
    width: 260px;
    max-width: 100%;
    background: #fafafa;
}
.fdpd-other-input:focus {
    outline: none;
    border-color: #7F77DD;
    background: #fff;
}

/* ── Submit ── */
.fdpd-submit-area { margin-top: 8px; }

.fdpd-btn-submit {
    width: 100%;
    padding: 15px;
    background: #534AB7;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 17px; font-weight: 700;
    cursor: pointer;
    transition: opacity .2s, transform .1s;
    font-family: inherit;
}
.fdpd-btn-submit:hover:not(:disabled) { opacity: .9; transform: translateY(-1px); }
.fdpd-btn-submit:disabled { opacity: .35; cursor: not-allowed; }

.fdpd-hint { font-size: 13px; color: #999; margin-top: 10px; text-align: center; }

/* ── Success ── */
#fdpd-success { text-align: center; padding: 40px 20px; }

.fdpd-success-icon {
    width: 64px; height: 64px;
    background: #E1F5EE;
    color: #1D9E75;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; font-weight: 700;
    margin: 0 auto 20px;
}

#fdpd-success h2 { font-size: 22px; margin: 0 0 10px; }
#fdpd-success p  { color: #555; line-height: 1.6; margin: 0 0 24px; }

.fdpd-btn-home {
    display: inline-block;
    padding: 12px 28px;
    background: #534AB7;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .2s;
}
.fdpd-btn-home:hover { opacity: .85; color: #fff; }

/* ── Already done ── */
.fdpd-already-done { text-align: center; padding: 40px 20px; }
.fdpd-already-done .fdpd-success-icon { background: #E1F5EE; color: #1D9E75; }

.fdpd-error { color: #c0392b; padding: 16px; background: #fdf0f0; border: 1px solid #f5c6c6; border-radius: 6px; }

/* ── Responsive ── */
@media (max-width: 560px) {
    .fdpd-row { grid-template-columns: 1fr; }
    .fdpd-chip { font-size: 12px; padding: 6px 11px; }
}
