/* /adminp/ch/bestellung/css/order.css */
/* Grundlegende Formularstile */
.order-page .main-content {
    max-width: 1210px;
    margin: 20px auto;
    padding: 30px;
}

#payment-form {
    margin-top: 20px;
	margin-left: 90px;
}

.language-selector {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-link {
    text-decoration: none;
    color: #d12f24 !important;
    font-weight: bold;
    font-size: 0.9rem !important;

}

.language-select {
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    font-size: 0.9rem;
    color: var(--text-gray);
    cursor: pointer;
}

/* Reduziert den Abstand zwischen Label und Hinweistext */
#affiliate-code-section .field label {
    margin-bottom: 0px; /* Standardwert oft 5-10px – hier anpassen */
}

#affiliate-code-section .hint {
    margin-top: 0px;    /* Abstand nach unten zum nächsten Element */
    display: block;     /* Erzwingt Zeilenumbruch */
    font-size: 0.85em;  /* Optional: Schrift leicht verkleinern */
}

.order-page .field {
    margin-bottom: 15px;
}

.order-page label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.order-page input[type="text"],
.order-page input[type="email"],
.order-page input[type="tel"],
.order-page select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Stellt die Produkt-Optionen in einer Zeile dar */
.produkt-option {
    display: flex;          /* Flexbox für Ausrichtung */
    align-items: center;    /* Vertikal zentrieren */
    margin-bottom: 8px;     /* Abstand zwischen den Optionen */
}

.produkt-option input[type="radio"] {
    margin-right: 10px;     /* Abstand zwischen Radio-Button und Label */
}

.produkt-option label {
    display: inline-flex;   /* Label-Inhalte in einer Zeile */
    align-items: center;
    margin-bottom: 0;       /* Standard-Margin entfernen */
}

/* Verstecktes Monatsabo erhält trotzdem Platzhalter-Höhe */
.produkt-option[style*="display:none"] {
    display: none !important;
    height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.produkt-option {
    transition: all 0.3s ease;
}

/* Stellt sicher, dass das Monatsabo bei Bank ausgeblendet ist */
#zahlungsart[value="bank"] ~ .section .produkt-option input[value="monatsabo"] {
    display: none !important;
}

/* Produktauswahl */
.produkt-option {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.produkt-option input[type="radio"] {
    margin-right: 10px;
}

/* Zahlungsmethoden */
#stripe-element-container {
	width: 67%;
    margin: 20px 0;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 4px;
	display: none;
}

#payment-instructions-container {
    margin: 20px 0;
    padding: 15px;
    background: #f0f8ff;
    border-radius: 4px;
    border-left: 4px solid #3498db;
	display: none;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .order-page .row {
        flex-direction: column;
    }
    
    .plz-ort-container {
        flex-direction: column;
    }
}
/* /adminp/ch/bestellung/css/order.css */
/* Checkout-spezifische Styles */

/* Stripe Element Styles */
.StripeElement {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    background: white;
}

#card-errors {
    color: #d12f24;
    margin: 10px 0;
    font-size: 0.9em;
}

/* Styling für Affiliate-Artikel (standardmäßig versteckt) */
.product-affiliate {
    display: none;
    border-left: 3px solid #D12F24; /* Markierung in Corporate Design */
    padding-left: 10px;
}

#code-validation-message {
    font-size: 14px;
    margin-top: 5px;
}

.affiliate-bonus {
    color: #D12F24;    /* Corporate Rot */
    font-weight: bold;
    font-size: 0.9em;
}
.product-affiliate {
    border-left: 3px solid #D12F24;  /* Visuelle Abgrenzung */
    padding-left: 10px;
}

/* Formular-Layout */
.checkout-form .section {
    margin: 25px 0;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.checkout-form .row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.checkout-form .field {
    flex: 1;
}


.error-message {
    color: red;
    font-size: 0.8em;
    margin-top: 5px;
}


/* Produktauswahl *//* Sprachbuttons */
.language-switcher {
  display: flex;
  gap: 8px;
  margin: 15px 0;
}

.language-button {
  background: white; 
  color: black;
  padding: 8px 15px;
  border-radius: 20px;
  text-decoration: none;
	border: 1px solid #ddd;
  font-weight: normal;
  transition: all 0.3s;
 }

.language-button:hover {
  background: f5f5f5;
}

.language-button.active {
  background: #D12F24;
  color: white !important;
  border-color: #D12F24;
}
.produkt-option {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.produkt-option input[type="radio"] {
    margin-right: 10px;
}

.orange-button {
  background: #D12F24;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0px;
}

.orange-button:hover {
  background: #E05E00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.orange-button:active {
  transform: translateY(0);
}

/* Label-Styling */
.label-main {
  font-weight: bold;
  font-size: 1em;
}

.label-note {
  font-size: 0.8em;
  opacity: 0.7;
  margin-left: 8px;
}

/* Adressvorschau - KOMBINIERTE DEFINITION */
.address-preview {
  width: 85%; /* Neu: Breite reduzieren */
  max-width: 380px; /* Neu: Maximale Breite */
  margin-top: 15px;
  padding: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background-color: #f8f9fa;
  height: auto;
  min-height: 150px; /* Feste Höhe */
}

.preview-box {
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  line-height: 1.5;
}

#previewPseudonym {
  font-weight: bold;
  color: #2c3e50;
}

.input-error {
    border: 2px solid #ff4444 !important;
}
.error-message {
    margin-top: 5px;
    font-size: 14px;
}

/* Neue CSS-Regeln */
.right-column-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-left: 15px; /* Verschiebung nach rechts */
}

.field-inner {
  width: 100%;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .address-preview {
    width: 100%;
    max-width: none;
  }
  .right-column-group {
    margin-left: 0;
  }
}

/* Spezifische Anpassung nur für das Pseudonym-Feld */
input[name="pseudonym"] {
  width: calc(95% + 0px); /* Vergrößert um ~1-2 Buchstaben */
  max-width: 390px; /* Optional: maximale Breite festlegen */
}

/* Zahlungsmethoden-Container */
#payment-instructions-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #3498db;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .checkout-form .row {
        flex-direction: column;
        gap: 10px;
    }
    
    #stripe-element-container {
        padding: 10px;
    }
}
.StripeElement {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 10px 0;
}

.content-section h2 {
    margin-top: -1px; /* Verschiebt den Titel nach oben */
    margin-bottom: 0em;
    font-size: 1.4em;
    font-weight: normal;
    margin-left: 90px;
	color: #D12F24 !important;
}
/* Neuer Logo-Style (wie Wasserzeichen) */
   .logo-at {
        font-size: 4rem;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 70px;
        width: 70px;
        line-height: 1;
        margin-right: 15px;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        position: relative;
        top: -5px;
        
        /* Farbverlauf-Animation mit direktem Farbwert #D12F24 */
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), #D12F24);
        background-size: 200% 200%;
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: gradientShift 5s ease infinite;
    }

    /* Keyframes für die Farbverlauf-Animation */
    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }



    /* Keyframes für die Farbverlauf-Animation */
    @keyframes gradientShift {
        0% {
            background-position: 0% 50%;
        }
        50% {
            background-position: 100% 50%;
        }
        100% {
            background-position: 0% 50%;
        }
    }



