/* =========================
   GLOBAL LINKS
========================= */
a {
    color: #DAA520;
    text-decoration: none;
}

a:hover { color: #DAA520; }

.a-link {
    color: white;
    text-decoration: none;
}
.b-link {
    color: #b00202;
    text-decoration: none;
}
.b-link:hover {
    color: #800020;
    text-decoration: none;
}


/* =========================
   BODY & BASIS
========================= */
html, body { min-height: 100%; }

body {
    background-color: #060606;
    background-image: url(/images/style/hintergrund.jpg);
    background-position: top left;
    background-repeat: repeat;
    padding: 0;
    margin: 0;
}

/* =========================
   TEXT & HILFSKLASSEN
========================= */
.klein-gelb {
    font-size: 0.85em;
    color: #DAA520;
}

.umbruch { white-space: pre-line; }

.highlight-neue-manoever {
    background-color: #DAA520;
    color: black;
    padding: 1px 1px;
    border-radius: 25px;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(215, 215, 215, 0.7);
    font-weight: bold;
}
.highlight-unterwerfung {
    background-color: #10ff04;
    color: black;
    padding: 1px 1px;
    border-radius: 25px;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(215, 215, 215, 0.7);
    font-weight: bold;
}
.highlight-finisher {
    background-color: #ff7d04;
    color: black;
    padding: 1px 1px;
    border-radius: 25px;
    display: inline-block;
    text-shadow: 2px 2px 4px rgba(215, 215, 215, 0.7);
    font-weight: bold;
}
/* =========================
   LAYOUT
========================= */
.festes-menue {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-image: url(/images/style/hintergrund.jpg);
}

.table-row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.table-row table {
    width: 45%;
}

.textstyle1 { text-align: center; }
.textstyle2 { text-align: left; }
.textstyle3 { text-align: right; }

/* =========================
   TABELLEN
========================= */
table.table th {
    color: #DAA520;
    vertical-align: middle;
    font-weight: bold;
}

/* =========================
   BILDER (FLOAT)
========================= */
.fliessender_text {
    float: left;
    margin-right: 10px;
    margin-bottom: 5px;
    width: 90px;
}

.neu_text {
    float: right;
    margin-right: 25px;
    margin-bottom: 5px;
    max-width: 50px;
}

/* =========================
   VERBINDUNGEN LINKS
========================= */
#verbindung_tabelle a {
    color: white;
    text-decoration: none;
    transition: color 0.2s ease;
}

#verbindung_tabelle a:hover {
    color: #DAA520;
}

.verbindungen-link {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s ease;
}

.verbindungen-link:hover {
    color: #DAA520;
}

/* =========================
   GENERISCHE LINK STYLES
========================= */
.wrestler-link-text,
.wrestler-link-text:link,
.wrestler-link-text:visited,
.momente-link,
.momente-link:link,
.momente-link:visited {
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.wrestler-link-text:hover,
.momente-link:hover {
    color: #DAA520;
}

/* =========================
   WRESTLER BILDER 
========================= */
.wrestler-link {
    display: inline-block;
    cursor: pointer;
    
}

.wrestler-link img {
    width: 50px;
    height: 50px;
    margin: 5px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #DAA520;
    transition: all 0.2s ease;
}

/* 🔥 EIN sauberer Hover */
.wrestler-link:hover img {
    transform: scale(1.08);
    box-shadow: 0 0 10px #DAA520;
    filter: brightness(1.1);
}

/* =========================
   TRAINER BILDER
========================= */
.trainer-img {
    height: 50px;
    width: 50px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #DAA520;
    cursor: pointer;
    transition: 0.2s;
}

.trainer-img:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px #DAA520;
}

/* =========================
   Plaketten BILDER
========================= */
.plaketten-bild {
    width: 50px;
    height: 50px;
    object-fit: contain;      
    aspect-ratio: 1 / 1;
    border-radius: 50%; /* 🔥 rund wie Wrestler */
    transition: transform 0.2s, box-shadow 0.2s;
}

/* Hover Effekt */
.plaketten-bild:hover {
    transform: scale(1.1);
    box-shadow: 0 0 8px #DAA520;
}
/* =========================
   FORMULAR
========================= */
/* Suchfeld und Dropdowns grundlegend stylen */
.form-control, 
.form-select {
    background-color: #2b2b2b !important;
    color: goldenrod !important;
    border: 1px solid #DAA520 !important;
}

/* Die Optionen innerhalb der Dropdowns (für alle Browser) */
.form-select option {
    background-color: #2b2b2b;
    color: goldenrod;
}

/* Fokus-Zustand: Wenn man reinklickt (entfernt das Blau) */
.form-control:focus, 
.form-select:focus {
    background-color: #333333 !important;
    color: #FFD700 !important;
    border-color: #FFD700 !important;
    box-shadow: 0 0 8px rgba(218, 165, 32, 0.4) !important;
    outline: none;
}

/* Placeholder-Farbe anpassen */
.form-control::placeholder {
    color: rgba(218, 165, 32, 0.6) !important;
}

/* Labels einheitlich stylen */
.form-label {
    color: goldenrod;
    font-weight: bold;
}

/* =========================
   NAVBAR
========================= */
/* Dropdown bei Hover öffnen */
.navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

/* Optional: verhindert "springen" */
.navbar .dropdown-menu {
    margin-top: 0;
}

.navbar {
    border-bottom: 1px solid;
    border-image: linear-gradient(to right, #DAA520, #800020) 1;  
}

.nav-menu {
    font-size: 12px;
    font-weight: 600;
    color: #DAA520;
}

/* Linkfarbe */
.navbar-custom .nav-link {
    color: #DAA520 !important; 
}

.navbar-custom {
    background: transparent !important;
    box-shadow: none !important; 
}
/* Hamburger-Button gelb umrandet */
.navbar-toggler {
    border: 2px solid #DAA520 !important;
    border-radius: 6px;
}
/* Hamburger Icon schwarz sichtbar machen */
.navbar-toggler-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='black' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E"); }

.navbar-toggler:focus, .navbar-toggler:active {
    outline: 1px; /* Remove default outline */
    border-color: #DAA520; /* Change border color to indicate active state */
    background-color: rgba(255, 255, 255, 0.3); /* Change background color to indicate active state */  
}

.navbar-toggler:focus .navbar-toggler-icon, .navbar-toggler:active .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
/* Change icon color to indicate active state */  }

.nav-link {
    display: inline-block; /* Ensure background color applies only to text */
    /*border: 2px solid yellow; 
    padding: 5px 10px;
    margin: 5px; */  }

.nav-link:hover {
    color: #DAA520; /* Change text color on hover */
    padding: 5px 10px;
    box-shadow: 0 4px 12px #DAA520;
    transform: translateY(-2px);
    background: linear-gradient(300deg, #DAA520, #fffb00); 
    -webkit-background-clip: text; 
    color: transparent;
    border-radius: 205px;  
}
/* =========================
   Chat nicht automatisch öffnen
========================= */
/* Hover nur für normale Dropdowns (z. B. Team Bereich) */
.nav-item.dropdown:not(.chat-dropdown):hover .dropdown-menu {
    display: block;
}

/* Chat Dropdown NICHT bei Hover öffnen */
.chat-dropdown:hover .dropdown-menu {
    display: none;
}
/* =========================
   Alles nach Login
========================= */
.login {
    background-image: url(/images/style/hintergrund.jpg);
    background-position: center;
    background-size: cover;
    border: 1px solid #DAA520;
}

.rand {
    border: 1px solid #DAA520;
    border-radius: 10px;
}

.modal-dialog {
    background-image: url(/images/style/hintergrund.jpg);
    background-repeat: repeat;
    background-position: top left;
    background-color: #2b2b2b;
    color: darkgrey;
    background-size: auto;
}

.modal-body {
    background-image: url(/images/style/hintergrund.jpg);
    background-repeat: repeat;
    background-position: top left;
    background-color: #2b2b2b;
    color: darkgrey;
    background-size: auto;
}

.modal-header {
    background-image: url(/images/style/hintergrund.jpg);
    background-repeat: repeat;
    background-position: top left;
    background-color: #2b2b2b;
    color: darkgrey;
    background-size: auto;
}

.modal-footer {
    background-image: url(/images/style/hintergrund.jpg);
    background-repeat: repeat;
    background-position: top left;
    background-color: #2b2b2b;
    color: darkgrey;
    background-size: auto;
}

.btn-close-red {
    filter: invert(21%) sepia(100%) saturate(7414%) hue-rotate(359deg) brightness(94%) contrast(117%);
    font-weight: bold;
}
/* =========================
   Linien Farbverlauf
========================= */
.linie-oben {
    border-top: 1px solid; 
    border-image: linear-gradient(to right, #DAA520, #800020) 1;
}

.linie-unten {
    border-bottom: 1px solid; 
    border-image: linear-gradient(to right, #DAA520, #800020) 1;
}
/* =========================
   Button Mitgliederbereich
========================= */
.m-btn {
    margin-top: 40px;
    background: rgb(43, 43, 43);
    color: goldenrod;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
    text-decoration: none;
    font-weight: 500;
    height: 30px;
    justify-content: center;
    vertical-align: middle;
}

.m-btn:hover {
    background: rgb(43, 43, 43);
    box-shadow: 0 4px 12px goldenrod;
    transform: translateY(-2px);
    border-color: var(--color-accent);
}

.m-btn svg {
    width: 20px;
    height: 20px;
}
/* =========================
   Bild ändern
========================= */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: rgba(0,0,0,0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    border-radius: 10px;
}

label:hover .overlay {
    opacity: 1;
}
/* =========================
   LOGO / BILDER
========================= */
#img_logo {
    border-radius: 15px;
    margin: 10px 0 0 0;
    max-width: 45%;
}

#img_logo:hover { filter: brightness(70%); }

#img_datenbank {
    border-radius: 10px;
    width: 100%;
}

#img_datenbank:hover { filter: brightness(80%); }

/* =========================
   BACK TO TOP
========================= */
#back-to-top {
    display: none;
    position: fixed;
    bottom: 10px;
    left: 30px;
    padding: 12px 18px;
    background-color: rgb(43, 43, 43);
    color: #DAA520;
    border-radius: 6px;
    cursor: pointer;
    z-index: 9999;
}

#back-to-top:hover {
    box-shadow: 0 4px 12px #DAA520;
    transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
    .navbar-nav {
        padding-top: 1rem;
    }
}

/* Tierlisten - immer 2 Wrestler pro Zeile */
.tier-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    justify-items: center;
}

/* =========================
   Aufstellung Speichern Button
========================= */
#aufstellungForm {
    padding-bottom: 80px;
}

.speichern-float {
    position: fixed;
    bottom: 20px;
    right: 2%;
    z-index: 9999;
    font-size: 20px;
    padding: 20px 50px;
    font-weight: bold;
}