/* Container-Positionierung */
.profile-container {
    position: relative;
    display: inline-block;
}

/* Der Button mit dem Icon */
.profile-icon-btn {
    background: transparent;
    border: 1px solid rgba(34, 34, 34, 1.0);
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.profile-icon-btn:hover {
    border-color: #222222;
    box-shadow: 0 0 10px rgba(45, 45, 45, 1.0);
}

/* Der Erweiterungsslot (Dropdown Menu) */
.profile-dropdown {
    position: absolute;
    right: 0;
    top: 50px;
    width: 240px;
    background-color: #222222;
    border: 1px solid rgba(255, 255, 102, 0.1); /* Deichter, neutraler Rand */
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 15px rgba(34, 34, 34, 1.0);
    padding: 12px;
    z-index: 1000;
    
    /* Standardmäßig eingeklappt mit sanftem Effekt */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Aktiv-Klasse zum Ausklappen per JavaScript */
.profile-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Status-Box oben im Dropdown */
.profile-status-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03); /* Neutraler Hintergrund */
    border-radius: 8px;
    font-size: 13px;
    color: #ffffff;
}

/* Leuchtpunkt für Status */
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.status-indicator.offline {
    background-color: #ff4d4d;
    box-shadow: 0 0 6px rgba(255, 77, 77, 0.5);
}
.status-indicator.online {
    background-color: #00ff66;
    box-shadow: 0 0 6px rgba(0, 255, 102, 0.6);
}

/* Trennlinie */
.dropdown-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.08); /* Dezent neutral */
    margin: 8px 0;
}

/* Menü-Liste */
.dropdown-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin: 2px 0;
}

/* Links im Dropdown */
.dropdown-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
    border-radius: 6px;
    transition: background 0.15s ease, color 0.15s ease;
}

/* Hover: Etwas heller als #222222 */
.dropdown-link:hover {
    background-color: #2a2a2a;
    color: #ffffff;
}

/* Active / Beim Klick: Noch dunkler als #222222 */
.dropdown-link:active {
    background-color: #151515;
    color: #ffffff;
}