html {
  overflow-x: hidden;
  background-color: #08050c !important;
}
/* Estilos del login — extraídos inline (F1B). */
    :root {
      --color-primary: #2a9d8f;
      --color-primary-rgb: 42, 157, 143;
    }
    body {
      margin: 0;
      font-family: 'Poppins', sans-serif;
      background-color: #08050c !important;
      background: radial-gradient(circle at center, #1c1524 0%, #08050c 100%) !important;
      color: #f3f4f6 !important;
      min-height: 100vh;
      min-height: 100dvh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 24px;
      position: relative;
      overflow-x: hidden;
    }
    
    /* Ambient glow elements */
    .ambient-glow {
      position: absolute;
      border-radius: 50%;
      filter: blur(130px);
      z-index: -1;
      opacity: 0.3;
      pointer-events: none;
      animation: float-glow 25s infinite alternate ease-in-out;
    }
    .glow-1 {
      top: 10%;
      left: 15%;
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, rgba(244,162,97,0.45) 0%, rgba(244,162,97,0) 70%);
    }
    .glow-2 {
      bottom: 15%;
      right: 10%;
      width: 550px;
      height: 550px;
      background: radial-gradient(circle, rgba(42,157,143,0.35) 0%, rgba(42,157,143,0) 70%);
    }
    @keyframes float-glow {
      0% { transform: translate(0, 0) scale(1); }
      50% { transform: translate(50px, -70px) scale(1.1); }
      100% { transform: translate(-30px, 40px) scale(0.95); }
    }

    .brand-header {
      position: absolute;
      top: 30px;
      left: 30px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      opacity: 0.9;
    }
    .brand-logo-icon {
      width: auto;
      min-width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      margin-top: 4px;
    }
    .brand-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
      text-align: left;
    }
    .brand-title {
      font-weight: 600;
      letter-spacing: 0.5px;
      font-size: 1.1rem;
      color: #fff;
      line-height: 1.2;
    }
    .brand-tagline {
      font-size: 0.68rem;
      font-weight: 400;
      opacity: 0.75;
      letter-spacing: 0.3px;
      color: #38bdf8;
    }
    .netflix-container {
      width: 100%;
      max-width: 900px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      animation: fadeIn 0.4s ease-out forwards;
    }
    .netflix-title {
      font-size: 2.2rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 48px;
      letter-spacing: -0.3px;
      text-shadow: 0 4px 12px rgba(0,0,0,0.35);
    }
    .profile-grid {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 36px;
      flex-wrap: wrap;
      margin-bottom: 48px;
    }
    .profile-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      cursor: pointer;
      width: 140px;
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      text-decoration: none;
    }
    .profile-avatar-circle {
      width: 110px;
      height: 110px;
      border-radius: 50%;
      overflow: visible;
      position: relative;
      padding: 3px;
      background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
      border: 1px solid rgba(255,255,255,0.1);
      transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
      box-shadow: 0 10px 24px rgba(0,0,0,0.3);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .profile-avatar-inner {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(15, 23, 42, 0.7);
      transition: all 0.3s ease;
    }
    
    /* Instagram-style premium gradient cycler for initial-based profiles */
    .bg-gradient-1 { background: linear-gradient(135deg, #3a225d, #0ea5e9); }
    .bg-gradient-2 { background: linear-gradient(135deg, #1f4e5b, #2a9d8f); }
    .bg-gradient-3 { background: linear-gradient(135deg, #581c87, #b8860b); }
    .bg-gradient-4 { background: linear-gradient(135deg, #8b4513, #f4a261); }
    .bg-gradient-5 { background: linear-gradient(135deg, #4b3621, #d2691e); }
    
    .profile-avatar-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }
    .profile-avatar-emoji {
      font-size: 3.2rem;
      line-height: 1;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
      user-select: none;
    }
    .profile-avatar-initials {
      font-size: 1.8rem;
      font-weight: 600;
      color: #fff;
      letter-spacing: 0.5px;
      text-shadow: 0 2px 4px rgba(0,0,0,0.3);
      user-select: none;
    }
    .profile-name {
      margin-top: 14px;
      font-size: 0.9rem;
      font-weight: 500;
      color: rgba(255, 255, 255, 0.7);
      letter-spacing: 0.2px;
      transition: color 0.2s;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      width: 100%;
    }
    .profile-item:hover .profile-avatar-circle {
      background: linear-gradient(45deg, #f4a261, #2a9d8f, #0ea5e9);
      box-shadow: 0 12px 30px rgba(42, 157, 143, 0.45);
      transform: translateY(-4px) scale(1.06);
    }
    .profile-item:hover .profile-avatar-inner {
      transform: scale(0.96);
    }
    .profile-item:hover .profile-avatar-img {
      transform: scale(1.12);
    }
    .profile-item:hover .profile-name {
      color: #fff;
    }
    
    /* Delete profile button */
    .profile-delete-btn {
      position: absolute;
      top: -2px;
      left: -2px;
      background: rgba(10, 15, 28, 0.72);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: rgba(255, 255, 255, 0.45);
      border-radius: 50%;
      width: 22px;
      height: 22px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.35);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 10;
      cursor: pointer;
      font-size: 0.65rem;
      font-weight: 600;
      line-height: 1;
      transition: all 0.25s ease;
      opacity: 0;
      transform: scale(0.6);
    }
    @media (hover: none) {
      .profile-delete-btn {
        opacity: 0.7;
        transform: scale(1);
      }
    }
    .profile-item:hover .profile-delete-btn {
      opacity: 1;
      transform: scale(1);
    }
    .profile-delete-btn:hover {
      background: rgba(30, 12, 12, 0.88);
      border-color: rgba(239, 68, 68, 0.4);
      color: rgba(252, 165, 165, 0.9);
      box-shadow: 0 2px 10px rgba(239, 68, 68, 0.2);
      transform: scale(1.1) !important;
    }

    /* Passkey overlay badge */
    .profile-badge-passkey {
      position: absolute;
      bottom: 2px;
      right: 2px;
      background: rgba(15, 23, 42, 0.95);
      border: 1px solid rgba(42, 157, 143, 0.4);
      color: #2a9d8f;
      border-radius: 50%;
      width: 26px;
      height: 26px;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.3);
      z-index: 5;
    }

    /* Glassmorphic Login Card */
    .glass-card {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 24px;
      padding: 42px 36px;
      width: 100%;
      max-width: 440px;
      box-shadow: 0 30px 60px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
      backdrop-filter: blur(40px);
      -webkit-backdrop-filter: blur(40px);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      animation: zoomIn 0.3s ease-out forwards;
    }
    .glass-title {
      font-size: 1.35rem;
      font-weight: 600;
      letter-spacing: 0.3px;
      color: #fff;
      text-align: center;
      margin-bottom: 28px;
    }
    .manage-button {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: rgba(255, 255, 255, 0.8);
      padding: 10px 28px;
      font-size: 0.82rem;
      font-weight: 500;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-radius: 30px;
      transition: all 0.25s ease;
      cursor: pointer;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
    .manage-button:hover {
      border-color: #2a9d8f;
      color: #fff;
      background: rgba(42, 157, 143, 0.15);
      box-shadow: 0 4px 12px rgba(42, 157, 143, 0.2);
      transform: translateY(-1px);
    }
    
    /* Dark glassmorphic inputs */
    .form-control-dark {
      background: rgba(255, 255, 255, 0.04) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      color: #fff !important;
      border-radius: 12px !important;
      padding: 14px 16px !important;
      font-size: 0.95rem !important;
      transition: all 0.25s ease !important;
      box-shadow: inset 0 1px 2px rgba(0,0,0,0.2) !important;
    }
    .form-control-dark:focus {
      background: rgba(255, 255, 255, 0.07) !important;
      border-color: #2a9d8f !important;
      box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.25), inset 0 1px 2px rgba(0,0,0,0.2) !important;
      outline: none !important;
    }
    .form-label-dark {
      color: rgba(255, 255, 255, 0.6);
      font-size: 0.84rem;
      margin-bottom: 6px;
      font-weight: 500;
      display: block;
      text-align: left;
    }
    
    /* Sleek clinical blue button */
    .btn-clinical {
      background: linear-gradient(135deg, #2a9d8f, #0ea5e9);
      border: none;
      color: #fff;
      font-weight: 500;
      padding: 14px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(42, 157, 143, 0.25);
      transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .btn-clinical:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(42, 157, 143, 0.45);
      background: linear-gradient(135deg, #32b5a5, #38bdf8);
    }
    
    .btn-passkey-large {
      position: relative;
      background: linear-gradient(135deg, #2a9d8f, #f4a261);
      border: none;
      color: #fff;
      font-weight: 500;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(244, 162, 97, 0.25);
      animation: pulse-primary-warm 2.2s infinite;
      transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .btn-passkey-large:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 24px rgba(244, 162, 97, 0.45);
      background: linear-gradient(135deg, #32b5a5, #f6b27e);
    }
    @keyframes pulse-primary-warm {
      0% { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.4); }
      70% { box-shadow: 0 0 0 12px rgba(244, 162, 97, 0); }
      100% { box-shadow: 0 0 0 0 rgba(244, 162, 97, 0); }
    }
    .btn-link-dark {
      color: #2a9d8f;
      text-decoration: none;
      font-size: 0.85rem;
      transition: color 0.15s;
    }
    .btn-link-dark:hover {
      color: #32b5a5;
      text-decoration: underline;
    }
    
    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(15px); }
      to { opacity: 1; transform: translateY(0); }
    }
    @keyframes zoomIn {
      from { opacity: 0; transform: scale(0.95); }
      to { opacity: 1; transform: scale(1); }
    }
    .privacy-note {
      font-size: 0.72rem;
      color: #6b7280;
      text-align: center;
      margin-top: 28px;
      border-top: 1px solid rgba(255,255,255,0.06);
      padding-top: 16px;
      line-height: 1.4;
    }

    #auth-profile-avatar-box .profile-avatar-emoji {
      font-size: 1.8rem;
    }
    #auth-profile-avatar-box .profile-avatar-initials {
      font-size: 1.2rem;
    }
