/* CSS für das verbesserte Zahlungslayout */

/* Zahlungsmethoden nebeneinander anordnen */
.payment-methods {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.payment-method {
    flex: 0 0 calc(50% - 20px);
    min-width: 250px;
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.payment-method.active {
    border: 2px solid #000;
    background-color: #f0f0f0;
}

.payment-method h3 {
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.payment-method p {
    margin: 5px 0;
    color: #666;
    font-size: 0.9rem;
}

.method-select {
    position: absolute;
    top: 10px;
    right: 10px;
    color: green;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Zahlungsformulare */
.payment-forms {
    margin-top: 20px;
}

.payment-form {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

/* Zwei Felder nebeneinander */
.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

/* Bestellzusammenfassung */
.order-summary {
    background-color: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
}

.order-summary h3 {
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 10px;
}

.order-summary-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-summary-item:last-child {
    border-bottom: none;
}

.order-total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.order-total p {
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
}

.order-total p:last-child {
    font-weight: bold;
    font-size: 1.1rem;
}

/* Aktionsbuttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    gap: 15px;
}

.action-buttons button {
    padding: 12px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button {
    background-color: #666;
    color: white;
}

.back-button:hover {
    background-color: #555;
}

.pay-button {
    background-color: #000;
    color: white;
    flex: 1;
    max-width: 200px;
}

.pay-button:hover {
    background-color: #333;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .payment-method {
        flex: 0 0 100%;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}

