/* ==========================================================================
   WoW ALLIANZ INTERFACE FRAME & LOGIN STYLES
   ========================================================================== */

/* Hintergrund der Login-Seite */
body.auth-body {
    background: 
        radial-gradient(circle at 50% 30%, rgba(2, 6, 13, 0.4) 0%, rgba(2, 6, 13, 0.85) 100%),
        url('login_bg.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px
}

/* Der geschmückte WoW UI Zierrahmen für die Login-Karte */
.auth-card {
    position: relative;
    background: linear-gradient(180deg, rgba(7, 19, 38, 0.94) 0%, rgba(3, 8, 16, 0.96) 100%);
    border: 3px solid #c89b3c;
    outline: 1px solid #142a4a;
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 0, 0, 0.9),
        0 0 15px rgba(0, 102, 204, 0.35),
        inset 0 0 20px rgba(200, 155, 60, 0.2);
    max-width: 560pxpx;
    width: 100%;
    padding: 30px;
    margin: auto;
    text-align: center;
    backdrop-filter: blur(8px);
}

/* Innere Zierlinie */
.auth-card::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1px stroke #f5d77f;
    border: 1px dashed rgba(245, 215, 127, 0.4);
    pointer-events: none;
    border-radius: 4px;
}

/* Eck-Ornamete & Nieten */
.auth-card .frame-corner {
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #f5d77f;
    background: #5a3d0e;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.8);
    z-index: 5;
}
.auth-card .corner-tl { top: -4px; left: -4px; border-right: none; border-bottom: none; }
.auth-card .corner-tr { top: -4px; right: -4px; border-left: none; border-bottom: none; }
.auth-card .corner-bl { bottom: -4px; left: -4px; border-right: none; border-top: none; }
.auth-card .corner-br { bottom: -4px; right: -4px; border-left: none; border-top: none; }

/* Header & Logo */
.alliance-header {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   LOGIN-LOGO (SEITENVERHÄLTNIS FÜR HOCHFORMAT-WAPPEN)
   ========================================================================== */
.auth-logo {
    width: auto;
    height: 420px;                    /* Nochmals verdoppelt für maximale Präsenz */
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto 16px auto;         /* Sitzt komplett innerhalb der Karte */
    filter: drop-shadow(0 0 22px rgba(245, 215, 127, 0.75));
    transition: transform 0.3s ease;
}

.auth-logo:hover {
    transform: scale(1.02);
}

.alliance-header h1 {
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-size: 1.6rem;
    color: #f5d77f;
    text-shadow: 0 0 10px rgba(245, 215, 127, 0.5), 2px 2px 4px #000;
    margin-bottom: 4px;
}

.alliance-tagline {
    color: #9bb0c9;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

/* Tabs (Das Lager betreten / Vereidigen) */
.tab-buttons {
    display: flex;
    gap: 8px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background: rgba(3, 8, 16, 0.8);
    border: 1px solid #1c3d6e;
    color: #9bb0c9;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    border-color: #c89b3c;
    color: #f5d77f;
}

.tab-btn.active {
    background: linear-gradient(180deg, #003366 0%, #001a33 100%);
    color: #ffffff;
    border-color: #f5d77f;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.5);
}

/* Input-Felder im Azeroth-Stil */
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #c0d4f0;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
}

.auth-card input, 
.auth-card select {
    width: 100%;
    padding: 11px 14px;
    background: #02060d !important;
    border: 1px solid #1c3d6e !important;
    border-radius: 4px;
    color: #ffffff !important;
    font-size: 0.95rem;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-card input:focus, 
.auth-card select:focus {
    border-color: #f5d77f !important;
    outline: none;
    box-shadow: 0 0 10px rgba(245, 215, 127, 0.4), inset 0 1px 3px rgba(0,0,0,0.8);
}

/* Buttons im prächtigen Allianz-Gold-Look */
.btn-alliance {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    background: linear-gradient(135deg, #ffe082 0%, #c89b3c 50%, #8a6100 100%);
    color: #0d1b2a;
    font-family: 'Cinzel Decorative', 'Cinzel', serif;
    font-weight: 900;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: 1px solid #ffe082;
    border-radius: 4px;
    cursor: pointer;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.2s ease;
}

.btn-alliance:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 15px rgba(245, 215, 127, 0.7);
    transform: translateY(-1px);
}