.auction-title {
    text-align: center;
    margin: 20px 0;
}

.auction-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.auction-filters input {
    padding: 5px 10px;
    width: 200px;
}

.class-filters button {
    padding: 5px 10px;
    cursor: pointer;
}

.auction-table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;
    text-align: center;
}

.auction-table th {
    color: rgb(255, 255, 255); /* Textfarbe für die Überschriften */
    background-color: #000000; /* optional, damit es sich abhebt */
    font-weight: bold;
}

.auction-table td {
    color: rgb(255, 255, 255); /* Textfarbe für alle Zellen */
}

.item-icon {
    width: 32px;
    height: 32px;
}
#myAuctionsContainer table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

#myAuctionsContainer th, #myAuctionsContainer td {
    border: 1px solid #55515156;
    padding: 8px;
    text-align: center;
}

#myAuctionsContainer th {
    background-color: #000000ff;
    color: #dd2525ff;
    font-weight: bold;
}

#myAuctionsContainer tbody tr:nth-child(even) {
    background-color: #1c1c1c;
}

#myAuctionsContainer tbody tr:nth-child(odd) {
    background-color: #262626;
}

#myAuctionsContainer tbody tr:hover {
    background-color: #f30a0aff;
}

#myAuctionsContainer h3 {
    color: #dd2525;
    margin-bottom: 10px;
    text-align: center;
}
#myAuctionsContainer {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 15px;
}

/* Tooltip Styles */
.item-slot {
    position: relative;
    width: 32px;
    height: 32px;
    display: inline-block;
}

.qigong-overlay {
    top: 0;
    right: 0;  /* statt left */
    width: 16px;
    height: 16px;
}

.quick-tooltip {
    display: none;
    position: fixed; /* damit sie der Maus folgt */
    background-color: #333;
    color: #fff;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 11px;
    pointer-events: none; /* verhindert, dass Tooltip Maus-Events blockiert */
    z-index: 20;
}

.item-tooltip {
    display: none; /* Standardmäßig verstecken */
    background-color: #1b1b1b;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4em;
    width: fit-content; /* Breite passt sich dem Inhalt an */
    white-space: nowrap; /* Damit Text nicht automatisch umbrechen, optional */
}

.item-section {
    margin-bottom: 6px;
}

.item-section.base-stats span {
    color: #00ff00; /* grün für positive Werte */
}

.item-section.mixing span {
    color: #ffdd00; /* gelb für Mixing */
}

.item-slot .item-info {
    display: none;       /* standardmäßig versteckt */
    font-size: 13px;
    color: #ffdd25;
    background-color: #333;
    padding: 2px 4px;
    border-radius: 4px;
    position: absolute;
    top: -20px;          /* oberhalb des Icons */
    left: 150%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 10;
}

.item-slot:hover .item-info {
    display: block;      /* beim Hover sichtbar */
}


/* Container */
.filter-dropdown {
    position: relative;
    display: inline-block;
}

/* Button */
.filter-btn {
    padding: 6px 12px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
}

/* Dropdown Menu */
.filter-dropdown-menu {
    display: none;
    position: absolute;
    top: 110%;
    left: 200;
    background-color: #000;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    padding: 15px;
    min-width: 230px;
    z-index: 100;
}

/* Inputs und Buttons im Dropdown */
.filter-dropdown-menu input,
.filter-dropdown-menu select,
.filter-dropdown-menu .class-filters button {
    width: 100%;
    margin-bottom: 6px;
}

.filter-dropdown-menu .class-filters button {
    padding: 5px;
    background: #222;
    color: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    border-radius: 4px;
}

.filter-dropdown-menu .class-filters button:hover {
    background: #ff0000;
}

/* Hover/Toggle Verhalten */
.filter-dropdown.open .filter-dropdown-menu {
    display: block;
}

