/* =========================================================================
 * DVG Forum Zugang – Frontend-Styling (Login-Ansicht + Balken)
 * DVG-Design: Primär #E33E86, Sekundär #003F5C, Karte #F5F5F5, Font Inter
 * ====================================================================== */

.dvg-fo-wrap {
        max-width: 640px;
        margin: 0 auto;
        padding: 10px 0 40px;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        color: #003F5C;
        font-size: 16px;
        line-height: 1.6;
}

.dvg-fo-wrap h1 {
        color: #E33E86;
        font-size: 42px;
        font-weight: 800;
        line-height: 1.15;
        margin: 0 0 12px;
}

.dvg-fo-lead {
        font-size: 17px;
        color: #003F5C;
        margin: 0 0 24px;
}

.dvg-fo-section {
        background: #F5F5F5;
        border-radius: 15px;
        padding: 28px;
        margin: 0 0 20px;
}

.dvg-fo-section label {
        display: block;
        font-weight: 700;
        margin: 0 0 6px;
        color: #003F5C;
}

.dvg-fo-section input[type="email"],
.dvg-fo-section input[type="text"] {
        width: 100%;
        box-sizing: border-box;
        padding: 13px 15px;
        font-size: 16px;
        font-family: inherit;
        color: #003F5C;
        background: #fff;
        border: 1px solid #d5dbde;
        border-radius: 8px;
        margin: 0 0 18px;
}

.dvg-fo-section input[type="email"]:focus,
.dvg-fo-section input[type="text"]:focus {
        outline: none;
        border-color: #E33E86;
        box-shadow: 0 0 0 3px rgba(227, 62, 134, 0.15);
}

.dvg-fo-btn {
        display: inline-block;
        background: #E33E86;
        color: #fff;
        font-size: 16px;
        font-weight: 800;
        font-family: inherit;
        border: none;
        border-radius: 6px;
        padding: 14px 28px;
        cursor: pointer;
        transition: background 0.15s ease;
}

.dvg-fo-btn:hover {
        background: #c72f72;
}

.dvg-fo-hint {
        font-size: 14px;
        color: #6b7c85;
        margin: 16px 0 0;
}

/* Hinweise / Meldungen */
.dvg-fo-notice {
        border-radius: 10px;
        padding: 16px 18px;
        margin: 0 0 20px;
        font-size: 15px;
}

.dvg-fo-success {
        background: #E5F6E0;
        color: #2FA015;
        border: 1px solid #2FA015;
}

.dvg-fo-error {
        background: #FCE4EE;
        color: #E33E86;
        border: 1px solid #E33E86;
}

/* Honeypot – unsichtbar */
.dvg-fo-hp {
        position: absolute !important;
        left: -9999px !important;
        top: -9999px !important;
        height: 0;
        overflow: hidden;
}

/* Angemeldet-Balken oben im Forum */
.dvg-fo-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        background: #F5F5F5;
        border-radius: 10px;
        padding: 12px 18px;
        margin: 0 0 18px;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 15px;
        color: #003F5C;
}

.dvg-fo-bar .dvg-fo-user strong {
        color: #003F5C;
}

.dvg-fo-bar .dvg-fo-logout {
        color: #E33E86;
        font-weight: 700;
        text-decoration: none;
}

.dvg-fo-bar .dvg-fo-logout:hover {
        text-decoration: underline;
}

/* Asgaros-Standard-Notices sichtbar lassen (z. B. "Dein Beitrag wird geprüft").
   Login-Notices werden jetzt per PHP-Filter unterbunden (siehe dvg-forum-zugang.php). */

/* Prominente Erfolgsmeldung nach Beitrags-Submit */
.dvg-fo-submit-success {
        background: linear-gradient(135deg, #E5F6E0 0%, #F0FAF0 100%);
        border: 2px solid #2FA015;
        border-radius: 12px;
        padding: 30px;
        margin: 25px 0;
        text-align: center;
        box-shadow: 0 4px 12px rgba(47, 160, 21, 0.15);
        animation: dvg-fo-fadein 0.4s ease-out;
}
.dvg-fo-submit-success-icon {
        display: inline-block;
        width: 60px;
        height: 60px;
        line-height: 60px;
        background: #2FA015;
        color: #fff;
        border-radius: 50%;
        font-size: 36px;
        font-weight: 800;
        margin-bottom: 15px;
}
.dvg-fo-submit-success-title {
        color: #003F5C;
        font-size: 26px;
        font-weight: 800;
        margin: 15px 0 10px;
}
.dvg-fo-submit-success-text {
        color: #003F5C;
        font-size: 16px;
        line-height: 1.6;
        margin: 0;
}
@keyframes dvg-fo-fadein {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
}

/* Asgaros Forum Header in DVG-Pink */
#af-wrapper .title-element,
#af-wrapper .title-element-dark {
        background: #E33E86 !important;
        color: #fff !important;
}

#af-wrapper .main-title {
        color: #E33E86 !important;
}

#af-wrapper .title-element a,
#af-wrapper .title-element-dark a {
        color: #fff !important;
}

/* Forum-Kategorien Header */
#af-wrapper .title-element .last-post-headline {
        color: rgba(255, 255, 255, 0.9) !important;
}

/* Kompakte Login-Box über dem öffentlich lesbaren Forum */
.dvg-fo-loginbox {
        border-left: 5px solid #E33E86;
}

.dvg-fo-login-title {
        color: #E33E86;
        font-size: 24px;
        font-weight: 800;
        line-height: 1.2;
        margin: 0 0 10px;
}

.dvg-fo-login-form {
        margin: 0;
}

.dvg-fo-login-form label {
        display: block;
        font-weight: 700;
        margin: 0 0 6px;
        color: #003F5C;
}

/* Responsiv */
@media (max-width: 768px) {
        .dvg-fo-wrap h1 { font-size: 32px; }
        .dvg-fo-section { padding: 20px; }
        .dvg-fo-login-title { font-size: 20px; }
}
