/**
 * Stripe Vortrag Checkout – Styling v1.1.1
 */
.svc-wrapper {
    margin: 1.5em 0;
}

.svc-wrapper .svc-button,
.svc-wrapper a.svc-button {
    display: inline-block;
    padding: 0.85em 1.8em;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff !important;
    background: #9b1c2b !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.2s ease, transform 0.1s ease;
    line-height: 1.4;
}

.svc-wrapper .svc-button:hover,
.svc-wrapper a.svc-button:hover {
    background: #7a1622 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.svc-wrapper .svc-button:active,
.svc-wrapper a.svc-button:active {
    transform: translateY(0);
}

.svc-wrapper .svc-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
   Custom-Flow-Layout (ui_mode: 'custom')
   HIER lassen sich Abstände & Anordnung jetzt frei steuern.
   ============================================================ */

.svc-checkout {
    margin-top: 1.5em;
    /* Theme-Schrift (Elementor Global Font) für unsere eigenen Texte */
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Überschriften im Checkout nutzen die Theme-Headline-Schrift */
.svc-summary__title,
.svc-field__label {
    font-family: "Roboto Condensed", "Roboto", sans-serif;
}

/* Zwei Spalten: links Produkt-Panel, rechts Felder.
   Den Spaltenabstand (gap) und die Block-Abstände frei justieren. */
.svc-checkout__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3em;               /* ← Abstand zwischen den beiden Spalten */
    align-items: start;
}

@media (max-width: 768px) {
    .svc-checkout__grid {
        grid-template-columns: 1fr;
        gap: 2em;
    }
}

/* Linke Spalte: Produkt-Zusammenfassung */
.svc-summary__title {
    font-size: 1.25rem;
    line-height: 1.35;
    margin: 0 0 0.5em;
}

.svc-summary__price {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1em;
}

.svc-summary__desc {
    color: #555;
    line-height: 1.6;
}

/* Rechte Spalte: Felder. Der Abstand ZWISCHEN den Blöcken
   (Kontakt / Zahlung / Adresse) wird hier gesetzt. */
.svc-fields {
    display: flex;
    flex-direction: column;
    gap: 1.75em;           /* ← Abstand zwischen den Feld-Blöcken */
}

.svc-field__label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.6em;  /* ← Abstand Label → Stripe-Feld */
}

.svc-mount {
    /* Container, in den Stripe das jeweilige Element rendert */
    min-height: 1px;
}

.svc-mount--spaced {
    margin-top: 0.75em;   /* Abstand zwischen E-Mail und Telefon */
}

.svc-button--pay {
    width: 100%;
    text-align: center;
    margin-top: 0.5em;
}

/* Unternehmens-Checkbox + USt-Felder */
.svc-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6em;
    cursor: pointer;
    font-weight: 400;
}

.svc-checkbox input {
    width: 1.05em;
    height: 1.05em;
    margin: 0;
    accent-color: #A51916;   /* Häkchen in Markenfarbe */
}

/* Dropdown bekommt Platz für den Pfeil */
select.svc-input {
    appearance: none;
    -webkit-appearance: none;
    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='%2330313d' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85em center;
    padding-right: 2.2em;
}

.svc-field__label--sub {
    font-weight: 400;
    color: #555;
    margin-top: 1em;
}

/* Werte aus der Stripe-appearance (theme: 'stripe', borderRadius: 4px) gespiegelt */
.svc-input, input[type=text]{
    width: 100%;
    box-sizing: border-box;
    padding: 12px;
    font-size: 0.94rem;
    line-height: 1.5;
    color: #30313d;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
    box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.03), 0px 3px 6px rgba(0, 0, 0, 0.02)
}

.svc-input::placeholder {
    color: #757680;
}

.svc-input:focus {
    outline: none;
    border-color: #A51916;
    box-shadow: 0 0 0 3px rgba(165, 25, 22, 0.18);
}

.svc-input--spaced {
    margin-top: 0.6em;
}

.svc-loading {
    text-align: center;
    padding: 3em 1em;
    color: #666;
    font-size: 0.95em;
}

.svc-loading::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #e0e0e0;
    border-top-color: #9b1c2b;
    border-radius: 50%;
    animation: svc-spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 0.6em;
    margin-bottom: 0.2em;
}

@keyframes svc-spin {
    to { transform: rotate(360deg); }
}

.svc-error {
    padding: 0.75em 1em;
    background: #fdecec;
    border-left: 4px solid #b32d2e;
    border-radius: 3px;
}