/* Contenedor principal */
.abc-user-nav-container {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin-left: 15px;
}

/* Avatar Trigger */
.abc-user-avatar-trigger img {
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none !important;
}

.abc-user-avatar-trigger:hover img {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Panel Desplegable (Dropdown) */
.abc-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 220px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    margin-top: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 99999;
    overflow: hidden;
}

/* Mostrar al pasar el mouse */
.abc-user-nav-container:hover .abc-user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Cabecera del Dropdown */
.abc-dropdown-header {
    padding: 15px;
    background: #f8fbfc;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.abc-dropdown-header strong {
    display: block;
    color: #333;
    font-size: 14px;
}

.abc-dropdown-header span {
    font-size: 11px;
    color: #888;
}

/* Lista del Menú */
.abc-dropdown-menu {
    list-style: none !important;
    margin: 0 !important;
    padding: 8px 0 !important;
}

.abc-dropdown-menu li a {
    padding: 10px 20px;
    display: flex;
    align-items: center;
    color: #555 !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: background 0.2s ease, color 0.2s ease;
}

.abc-dropdown-menu li a:hover {
    background-color: #f0f6fb;
    color: #3BB8DB !important;
}

.abc-dropdown-menu li a i {
    margin-right: 12px;
    color: #3BB8DB;
    font-size: 18px;
}

/* Divisor y Salir */
.abc-menu-divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

.abc-logout:hover {
    background-color: #fff1f1 !important;
    color: #d63638 !important;
}

.abc-logout i {
    color: #d63638 !important;
}

/* Triángulo superior */
.abc-user-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 20px;
    width: 12px;
    height: 12px;
    background: #f8fbfc;
    transform: rotate(45deg);
    border-left: 1px solid #eee;
    border-top: 1px solid #eee;
}