/* PLAndel Portal – #102c28 + #f1d0c1 + hvid + sort */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f9f5f2;
    color: #1a1a1a;
    min-height: 100vh;
}

/* ── HEADER ── */
.pla-header { background: #ebd1c2; }
.pla-header-inner {
    max-width: 780px; margin: 0 auto;
    padding: 14px 24px;
    display: flex; align-items: center; gap: 20px;
}
.pla-logo { height: 36px; width: auto; display: block; }
.pla-header-subtitle { color: #102c28; font-size: 13px; margin-left: auto; }

/* ── OUTER ── */
.pla-outer { padding: 36px 16px 56px; }
.pla-container { max-width: 720px; margin: 0 auto; }

/* ── STEPS ── */
.pla-steps {
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 6px;
}
.pla-step {
    width: 32px; height: 32px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 13px; flex-shrink: 0;
    background: #e0d8d4; color: #102c28;
}
.pla-step.done   { background: #102c28; color: #f1d0c1; }
.pla-step.active { background: #f1d0c1; color: #102c28; }
.pla-step-line   { flex: 1; height: 2px; background: #e0d8d4; max-width: 56px; }
.pla-step-line.done { background: #102c28; }
.pla-steps-labels {
    display: flex; max-width: 440px; margin: 4px auto 24px;
}
.pla-steps-labels span { font-size: 11px; color: #102c28; opacity: 0.5; text-align: center; flex: 1; }

/* ── CARD ── */
.pla-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0d8d4;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(16,44,40,0.06);
}
.pla-card-success { border-top: 4px solid #102c28; }
.pla-card-title { font-size: 21px; font-weight: 700; color: #102c28; margin-bottom: 6px; }
.pla-card-desc  { color: #4a4a4a; margin-bottom: 22px; line-height: 1.65; font-size: 14px; }
.pla-optional   { font-size: 13px; font-weight: 400; color: #888; }

/* ── ALERTS ── */
.pla-alert { border-radius: 8px; padding: 12px 16px; margin-bottom: 18px; font-size: 14px; }
.pla-alert-error {
    background: #fdf5f2; color: #102c28;
    border-left: 4px solid #f1d0c1;
}

/* ── FIELDS ── */
.pla-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.pla-field label { font-size: 13px; font-weight: 600; color: #102c28; }
.pla-field input, .pla-field select, .pla-field textarea {
    border: 1.5px solid #d0c8c2;
    border-radius: 7px;
    padding: 10px 12px;
    font-size: 15px; font-family: inherit; color: #1a1a1a;
    background: #fff; width: 100%;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pla-field input:focus, .pla-field select:focus {
    outline: none; border-color: #102c28;
    box-shadow: 0 0 0 3px rgba(16,44,40,0.1);
}
.pla-req { color: #102c28; font-weight: 700; }
.pla-field-group { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pla-field-sm   { max-width: 140px; }
.pla-field-half { max-width: 50%; }
.pla-field-check label { flex-direction: row; align-items: center; gap: 8px; cursor: pointer; font-weight: 400; }

/* ── PERSON / EJERLAGE BLOCKS ── */
.pla-person-block, .pla-ejerlage-section {
    border: 1.5px solid #e0d8d4;
    border-radius: 9px; padding: 18px;
    margin-bottom: 12px; background: #fdf9f7;
}
.pla-person-header, .pla-ejerlage-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 14px; font-weight: 600; color: #102c28; font-size: 15px;
}
.pla-remove-btn {
    background: none; border: 1px solid #f1d0c1; color: #102c28;
    cursor: pointer; font-size: 13px; padding: 3px 10px; border-radius: 5px;
}
.pla-remove-btn:hover { background: #f1d0c1; }
.pla-yder-row {
    display: grid; grid-template-columns: 1fr 110px auto;
    gap: 10px; align-items: end; margin-bottom: 8px;
}

/* ── BUTTONS ── */
.pla-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 10px 22px; border-radius: 8px;
    font-size: 15px; font-weight: 600; font-family: inherit;
    cursor: pointer; border: none; text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.pla-btn:active { transform: scale(0.98); }
.pla-btn-primary  { background: #102c28; color: #f1d0c1; }
.pla-btn-primary:hover { background: #1c4a44; color: #f1d0c1; }
.pla-btn-secondary { background: #f1d0c1; color: #102c28; border: none; }
.pla-btn-secondary:hover { background: #e8c0ae; }
.pla-btn-ghost { background: #fff; color: #102c28; border: 1.5px solid #d0c8c2; }
.pla-btn-ghost:hover { background: #f9f5f2; }
.pla-btn-large { padding: 13px 30px; font-size: 16px; }
.pla-btn-sm { padding: 6px 13px; font-size: 13px; }
.pla-add-yder { margin-top: 4px; }

.pla-actions {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 26px; gap: 12px;
}
.pla-actions-center { justify-content: center; }

/* ── SUMMARY ── */
.pla-summary-section { margin-bottom: 22px; }
.pla-summary-header {
    font-weight: 700; color: #102c28; font-size: 14px;
    margin-bottom: 10px; padding-bottom: 6px;
    border-bottom: 2px solid #f1d0c1;
}
.pla-summary-row {
    display: flex; justify-content: space-between;
    font-size: 14px; padding: 5px 0;
    border-bottom: 1px solid #f5f0ec;
}
.pla-summary-label { color: #888; font-weight: 600; min-width: 130px; }
.pla-summary-ejerlage {
    padding: 8px 0; border-bottom: 1px solid #f0ebe7;
    display: flex; flex-direction: column; gap: 2px;
}
.pla-yder-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.pla-yder-badge {
    background: #f1d0c1; color: #102c28;
    border-radius: 20px; padding: 2px 10px;
    font-size: 12px; font-weight: 600;
}
.pla-muted { color: #888; font-size: 13px; }

/* ── TOTAL BOX ── */
.pla-total-box {
    background: #102c28; border-radius: 10px;
    padding: 20px 24px; margin: 22px 0;
}
.pla-total-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #f1d0c1; opacity: 0.7; }
.pla-total-breakdown { font-size: 13px; color: #f1d0c1; opacity: 0.6; margin: 3px 0; }
.pla-total-amount { font-size: 28px; font-weight: 900; color: #f1d0c1; margin: 5px 0; }
.pla-total-note { font-size: 12px; color: #f1d0c1; opacity: 0.5; margin: 6px 0 0; }

/* ── CONSENT ── */
.pla-consent {
    background: #fdf9f7; border: 1.5px solid #e0d8d4;
    border-radius: 8px; padding: 13px 15px; margin-bottom: 8px;
}
.pla-consent label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.pla-consent input[type=checkbox] { margin-top: 3px; accent-color: #102c28; }

/* ── SUCCESS ── */
.pla-success-icon {
    width: 60px; height: 60px;
    background: #102c28; color: #f1d0c1;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; margin: 0 auto 20px;
}

/* ── FOOTER ── */
.pla-footer {
    text-align: center; padding: 20px;
    font-size: 13px; color: #888;
    display: flex; justify-content: center; align-items: center; gap: 8px;
}
.pla-footer a { color: #102c28; text-decoration: none; font-weight: 600; }
.pla-footer-sep { color: #ccc; }

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
    .pla-card { padding: 20px 14px; }
    .pla-field-group { grid-template-columns: 1fr; }
    .pla-field-half { max-width: 100%; }
    .pla-yder-row { grid-template-columns: 1fr 80px; }
    .pla-header-subtitle { display: none; }
    .pla-steps-labels span { font-size: 10px; }
}

/* ── NOTICE BOX ── */
.pla-notice {
    background: #fdf9f7;
    border: 1.5px solid #e0d8d4;
    border-left: 4px solid #f1d0c1;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 20px 0 24px;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.7;
}
.pla-notice a { color: #102c28; font-weight: 600; }
