/* ============================================================
   Radebeul POI Karte – Submit-Formular Styles
   schinew.de Mediengruppe
   ============================================================ */

.rdbl-submit-wrap {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    max-width: 740px;
    margin: 0 auto;
    color: #1d1d1f;
}
.rdbl-submit-wrap * { box-sizing: border-box; }

/* Intro */
.rdbl-submit-intro { margin-bottom: 28px; }
.rdbl-submit-headline { font-size: 1.8em; font-weight: 700; margin: 0 0 10px; }
.rdbl-submit-intro p  { color: #555; line-height: 1.6; margin: 0; }

/* Schritte */
.rdbl-submit-steps {
    display: flex;
    align-items: flex-start;
    margin-bottom: 36px;
    gap: 0;
}
.rdbl-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    width: 90px;
    text-align: center;
}
.rdbl-step span {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #eee;
    color: #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95em;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s;
    border: 2px solid #eee;
}
.rdbl-step-label {
    display: block;
    font-size: 0.75em;
    font-weight: 600;
    color: #bbb;
    line-height: 1.3;
    white-space: normal;
    word-break: normal;
    hyphens: none;
}
.rdbl-step.rdbl-step-active .rdbl-step-label { color: #3680ae; }
.rdbl-step.rdbl-step-active span  { background: #3680ae; color: white; border-color: #3680ae; box-shadow: 0 0 0 3px rgba(54,128,174,.15); }
.rdbl-step.rdbl-step-done .rdbl-step-label   { color: #4caf50; }
.rdbl-step.rdbl-step-done span    { background: #4caf50; color: white; border-color: #4caf50; }
.rdbl-step-divider {
    flex: 1;
    height: 2px;
    background: #eee;
    margin: 17px 6px 0;
    min-width: 16px;
    transition: background 0.3s;
}

/* Formular-Felder */
.rdbl-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.rdbl-field label {
    font-size: 0.88em;
    font-weight: 600;
    color: #1d1d1f;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.rdbl-field-hint {
    font-weight: 400;
    color: #999;
    font-size: 0.9em;
}
.rdbl-field-hint a { color: #3680ae; text-decoration: none; }
.rdbl-field-hint a:hover { text-decoration: underline; }

.rdbl-field input[type="text"],
.rdbl-field input[type="url"],
.rdbl-field input[type="email"],
.rdbl-field select,
.rdbl-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid rgba(0,0,0,.12);
    border-radius: 10px;
    font-size: 0.95em;
    font-family: inherit;
    color: #1d1d1f;
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
}
.rdbl-field input:focus,
.rdbl-field select:focus,
.rdbl-field textarea:focus {
    border-color: #3680ae;
    box-shadow: 0 0 0 3px rgba(54,128,174,.12);
}
.rdbl-field textarea { resize: vertical; line-height: 1.5; }
.rdbl-field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.rdbl-field-row { display: flex; gap: 16px; }
.rdbl-field-row-2 > .rdbl-field { flex: 1; min-width: 0; }

/* Nachrichten */
.rdbl-submit-notice {
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 16px;
}
.rdbl-notice-info    { background: #f0f7fd; border-left: 3px solid #3680ae; color: #1d1d1f; }
.rdbl-notice-warning { background: #fff8e6; border-left: 3px solid #f0a500; color: #7a5000; }
.rdbl-notice-error   { background: #fff0f0; border-left: 3px solid #d63638; color: #7a1010; }

/* Buttons */
.rdbl-submit-btn {
    display: inline-block;
    background: #3680ae;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 13px 36px;
    font-size: 1em;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(54,128,174,.25);
    width: 100%;
    margin-top: 8px;
}
.rdbl-submit-btn:hover { background: #2d6a93; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(54,128,174,.35); }

.rdbl-back-btn {
    background: none;
    border: 1.5px solid rgba(0,0,0,.15);
    color: #555;
    border-radius: 10px;
    padding: 9px 20px;
    font-size: 0.9em;
    font-family: inherit;
    cursor: pointer;
    margin-top: 14px;
    transition: all 0.2s;
}
.rdbl-back-btn:hover { border-color: #3680ae; color: #3680ae; }

/* Zahlungsbox */
.rdbl-payment-box {
    background: #f8fbfd;
    border: 1.5px solid rgba(54,128,174,.15);
    border-radius: 16px;
    padding: 28px;
    max-width: 460px;
    margin: 0 auto;
}
.rdbl-payment-summary {
    background: #fff;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 18px;
    border: 1px solid rgba(0,0,0,.08);
    font-size: 0.95em;
    line-height: 1.6;
}
.rdbl-payment-price {
    text-align: center;
    margin-bottom: 20px;
    color: #1d1d1f;
}
.rdbl-payment-price strong {
    font-size: 2em;
    font-weight: 700;
    color: #3680ae;
    display: block;
}
.rdbl-payment-price span { font-size: 0.85em; color: #888; }

#rdbl-paypal-btn-container { margin-bottom: 12px; }

/* Erfolgsbox */
.rdbl-success-box {
    text-align: center;
    padding: 48px 24px;
}
.rdbl-success-icon {
    width: 72px;
    height: 72px;
    background: #4caf50;
    color: white;
    border-radius: 50%;
    font-size: 2.4em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(76,175,80,.3);
}
.rdbl-success-box h3 { font-size: 1.6em; font-weight: 700; margin-bottom: 12px; }
.rdbl-success-box p  { color: #555; line-height: 1.6; max-width: 440px; margin: 0 auto; }

/* Responsive */
@media (max-width: 600px) {
    .rdbl-field-row { flex-direction: column; }
    .rdbl-payment-box { padding: 20px 16px; }
}

/* ── Schritt-Titel ── */
.rdbl-step-title {
    font-size: 1.2em;
    font-weight: 700;
    color: #1d1d1f;
    margin: 0 0 6px;
}
.rdbl-step-subtitle {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0 0 20px;
}

/* ── 3-spaltig ── */
.rdbl-field-row-3 {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.rdbl-field-row-3 > .rdbl-field { flex: 1; min-width: 120px; }

/* ── Pflichtfeld-Markierung ── */
.rdbl-field-required > label::after {
    content: ' *';
    color: #d63638;
    font-weight: 700;
}

/* ── Button-Zeile mit Zurück + Weiter ── */
.rdbl-btn-row { margin-top: 12px; }
.rdbl-btn-row-2 {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.rdbl-btn-row-2 .rdbl-submit-btn { flex: 1; min-width: 200px; width: auto; }

/* ── Zusammenfassung Tabelle ── */
.rdbl-summary-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88em;
    margin-bottom: 18px;
}
.rdbl-summary-table td {
    padding: 7px 10px;
    border-bottom: 1px solid rgba(0,0,0,.07);
    vertical-align: top;
    line-height: 1.5;
}
.rdbl-summary-table td:first-child {
    color: #888;
    white-space: nowrap;
    width: 1%;
    padding-right: 14px;
}
.rdbl-summary-table td small { color: #aaa; display: block; }

/* ── Schritte Labels responsive ── */
@media (max-width: 520px) {
    .rdbl-step { width: 60px; }
    .rdbl-step-label { font-size: 0.68em; }
    .rdbl-step span { width: 30px; height: 30px; }
    .rdbl-step-divider { min-width: 6px; margin: 14px 3px 0; }
    .rdbl-field-row-3 { flex-direction: column; }
    .rdbl-btn-row-2 { flex-direction: column-reverse; }
    .rdbl-btn-row-2 .rdbl-submit-btn { width: 100%; }
}
