/* Konto-Bereich */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #0c3157;
    color: #fff;
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin: 0 1rem;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #f0f0f0;
}

/*konto*/

#konto {
    background-color: #f8f9fa;
    padding: 2rem;
    text-align: center;
}

form {
    max-width: 500px;
    margin: 0 auto;
    text-align: left;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

form label {
    display: block;
    margin: 1rem 0 0.5rem;
    font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form button {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

form input[type="radio"] {
    margin-right: 0.5rem;
}

form button {
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056b3;
}

/* Zahlungsmethoden */
.payment-options {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 1rem 0;
}

.payment-box {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    width: 180px; /* Feste Breite für gleichmäßige Kästchen */
    text-align: center;
}

.payment-box:hover {
    border-color: #007bff;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.2);
}

.payment-box input {
    display: none; /* Versteckt das Radio-Button */
}

.payment-box .box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.payment-box img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.payment-box span {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

/* Aktiviertes Kästchen hervorheben */
.payment-box input:checked + .box-content {
    border: 2px solid #007bff;
    border-radius: 8px;
    padding: 0.8rem;
}

/* Konto-Auswahl */
.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.button-group button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.button-group button:hover {
    background-color: #007bff;
    color: #fff;
}

.form-section {
    display: none; /* Initial versteckt */
    margin: 2rem auto;
    max-width: 500px;
    padding: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.form-section.visible {
    display: block;
}
