/* GNP Lesebereich - Anmeldeseite und Konto */

/* ---------- Anforderungsbox ---------- */
.gnp-request-box {
    max-width: 560px;
    margin: 0 auto 30px;
    padding: 30px;
    background: #fdfdfd;
    border: 2px solid #0073aa;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.gnp-request-box h2 {
    margin-top: 0;
    color: #1f4e79;
    font-size: 1.4rem;
}

.gnp-request-box p { color: #444; line-height: 1.6; }

.gnp-request-field { margin: 18px 0; }

.gnp-request-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.gnp-request-field input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1rem;
}

.gnp-request-submit {
    background: #0073aa;
    color: #fff;
    border: none;
    padding: 13px 26px;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s ease;
}

.gnp-request-submit:hover { background: #005177; }

.gnp-request-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 18px;
    margin-bottom: 0;
}

.gnp-request-banner {
    padding: 12px 15px;
    margin-bottom: 18px;
    border-radius: 4px;
    font-weight: 500;
    line-height: 1.5;
}

.gnp-request-success {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #c2e7cd;
}

.gnp-request-error {
    background: #fce8e6;
    color: #c5221f;
    border: 1px solid #fad2cf;
}

/* Abstand zwischen Anforderungsbox und dem folgenden Anmeldeformular */
.gnp-request-box + .woocommerce,
.gnp-request-box + #customer_login,
.gnp-request-box + .u-columns {
    margin-top: 10px;
}

/* ---------- Passkey-Bereich auf der Anmeldeseite ---------- */
.bpl-login-shortcode,
.bpl-register-shortcode,
.gnp-passkey-login-wrapper {
    max-width: 560px;
    margin: 0 auto 20px;
}

/* ---------- Konto: doppelte Abmeldung entfernen ---------- */
.woocommerce-MyAccount-content > p:last-of-type a[href*="customer-logout"],
.woocommerce-MyAccount-content > p a[href*="customer-logout"]:only-child {
    display: none !important;
}

/* ---------- Mobil ---------- */
@media (max-width: 640px) {
    .gnp-request-box { padding: 20px 16px; margin-left: 10px; margin-right: 10px; }
}
