/* Externalized Design Logic [Location: root/ui/styles/action-hub.css] */

#desktop-action-hub {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Der Trigger/Tab */
.hub-trigger {
    background: #c0392b; /* Kräftiges Rot für Roßwein/Mittelsachsen */
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hub-trigger:hover {
    transform: scale(1.05);
    background: #a93226;
}

/* Das Menü */
.hub-content {
    background: #ffffff;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: none; /* Versteckt, bis Hover auf das gesamte Hub erfolgt */
    width: 240px;
    border: 1px solid #eee;
}

#desktop-action-hub:hover .hub-content {
    display: block;
    animation: fadeInSlide 0.3s ease forwards;
}

/* Links im Menü */
.hub-item {
    display: block;
    padding: 16px;
    text-decoration: none;
    color: #2c3e50;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.hub-item:hover {
    background: #f8f9fa;
}

.hub-sub {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #7f8c8d;
    display: block;
    margin-bottom: 2px;
}

.hub-main {
    font-weight: 700;
    font-size: 15px;
}

/* Animation */
@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile-Sperre: Die Logik der Optik bleibt am Desktop */
@media (max-width: 1024px) {
    #desktop-action-hub { display: none !important; }