ul.wellcome-bar {
    list-style-type: none;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

ul.wellcome-bar li {
    display: inline;
    margin: 0 1.2em;
    position: relative;
}

/* Estilo para el icono de dashboard */
h3.dashboard-beta-icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    vertical-align: middle;
    margin-right: 10px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 10px rgba(37, 117, 252, 0.3);
}

/* Estilo para el nombre de usuario */
p.wellcome-bar-username {
    display: inline;
    color: #2c3e50;
    font-size: 17px;
    font-weight: 600;
    vertical-align: middle;
    text-align: center;
    margin: 0px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ESTILO ÚNICO Y UNIFICADO PARA BOTONES - SIN DUPLICADOS */
button.wellcome-bar-button {
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 12px 24px;
    border: none;
    border-top-left-radius: 12px;
    border-top-right-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: -1px -1px 1px rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 4px 0 #334bb7,
        0 6px 10px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    overflow: hidden;
    outline: none;
}

/* Estados del enlace - UNIFICADOS */
button.wellcome-bar-button:link,
button.wellcome-bar-button:visited,
button.wellcome-bar-button:focus {
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
}

/* Efecto hover para el botón - TRANSFORM FUNCIONARÁ AHORA */
button.wellcome-bar-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
button.wellcome-bar-button:hover {
    background: linear-gradient(to bottom, #5dbf61, #4CAF50);
    transform: translateY(-2px) !important; /* Mover hacia arriba al hacer hover */
    box-shadow: 
        0 6px 0 #2d7a30,
        0 8px 15px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s ease;
}

/* Efecto active (cuando se hace clic) */
button.wellcome-bar-button:active {
    transform: translateY(2px) !important; /* Mover hacia abajo al hacer clic */
    background: linear-gradient(to bottom, #4CAF50, #45a049);
    box-shadow: 
        0 2px 0 #2d7a30,
        0 3px 5px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease; /* Transición más rápida para el clic */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Asegurar que el contenedor no añada efectos */
ul.wellcome-bar a {
    text-decoration: none;
}

/* Responsive para dispositivos móviles */
@media (max-width: 1040px) {
    ul.wellcome-bar {
        flex-direction: column;
        padding: 12px;
    }

    ul.wellcome-bar li.wellcome-bar-username {
        display: block;
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
    }

    ul.wellcome-bar li.wellcome-bar-menu {
        display: block;
        width: 100%;
        margin: 10px 0;
        text-align: center;
    }

    p.wellcome-bar-username {
        display: block;
        max-width: 250px;
    }
    
    button.wellcome-bar-button {
        width: 100%;
        max-width: 250px;
        transition: all 0.3s ease !important; /* Asegurar transición en móvil */
    }
    
    button.wellcome-bar-button:hover,
    button.wellcome-bar-button:active {
        transform: translateY(-1px) !important; /* Efecto más sutil en móvil */
    }
}