/*Foto de perfil de usuario en header*/

.nasty-profile-menu {
    position: relative;
		display: flex;
    align-items: center;
    margin-left: 10px;
  }

  .nasty-profile-trigger {
    width: 2.4em;
    height: 2.4em;
    border-radius: 50%;
    border: 1.5px solid #e8c46a;
    background: #1c2410;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
  }
  .nasty-profile-trigger svg {
    width: 1.3em;
    height: 1.3em;
    color: #e8c46a;
  }
  .nasty-profile-trigger img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .nasty-profile-panel {
    position: absolute;
    top: calc(100% + 16px);
    right: 0;
    min-width: 190px;
    background: #1c2410;
    border: 1px solid rgba(232, 196, 106, 0.25);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
    padding: 0.7em;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
  }
  .nasty-profile-menu.is-open .nasty-profile-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* puente invisible para que el hover/paso del mouse no pierda el panel */
  .nasty-profile-panel::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 16px;
  }
  
  .nasty-profile-panel:after {
	content: "";
    position: absolute;
    bottom: calc(100% + 0px);
    right: 19px;
    width: 12px;
    height: 12px;
    background-color: #1c2410;
    border-top: 1px solid rgba(232, 196, 106, 0.25);
    border-left: 1px solid rgba(232, 196, 106, 0.25);
    transform: translateY(50%) rotate(45deg);
    z-index: 1;
}

  .nasty-profile-panel .nasty-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.55em 1em;
    border-radius: 999px;
    white-space: nowrap;
  }
  .nasty-profile-panel .nasty-auth-btn--ghost { border: 1.5px solid #e8c46a; color: #e8c46a; }
  .nasty-auth-btn--solid { background: linear-gradient(155deg, #f3d788, #c98a2c); color: #3a1c08; }