/* Action Hover Menu 样式 */

.action-hover-menu {
    position: relative;
}

.action-hover-menu .hover-warp {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.action-hover-menu:hover .hover-warp {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover Link 样式 */
.hover-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 12px;
    justify-content: space-between;
}

.hover-link a {
    display: flex;
    align-items: center;
    padding: 6px 8px;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 12px;
    white-space: nowrap;
    flex: 1;
    min-width: 50px;
    justify-content: center;
}

.hover-link a:hover {
    background-color: #f8f9fa;
    color: #007cba;
    text-decoration: none;
}

.hover-link a i {
    width: 14px;
    text-align: center;
    margin-right: 4px;
    font-size: 12px;
}

/* 消息中心特殊样式 */
.hover-link a[href*="message"] {
    position: relative;
}

.hover-link a[href*="message"]:hover {
    background-color: #e3f2fd;
    color: #1976d2;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .action-hover-menu .hover-warp {
        min-width: 280px;
        right: -20px;
    }
    
    .hover-link {
        flex-direction: column;
        gap: 2px;
    }
    
    .hover-link a {
        padding: 8px 12px;
        font-size: 13px;
        justify-content: flex-start;
        min-width: auto;
    }
    
    .hover-link a i {
        margin-right: 8px;
        font-size: 14px;
    }
}

/* 深色模式支持 */
@media (prefers-color-scheme: dark) {
    .action-hover-menu .hover-warp {
        background: #2d3748;
        border: 1px solid #4a5568;
    }
    
    .hover-link a {
        color: #e2e8f0;
    }
    
    .hover-link a:hover {
        background-color: #4a5568;
        color: #90cdf4;
    }
    
    .hover-link a[href*="message"]:hover {
        background-color: #2d3748;
        color: #63b3ed;
    }
}