      .success-popup {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 9999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
      }
      
      .success-popup.active {
        opacity: 1;
        visibility: visible;
      }
      
      .success-popup-content {
        background: #ffffff;
        border-radius: 20px;
        width: 88%;
        max-width: 420px;
        box-shadow: 
          0 20px 40px rgba(0, 0, 0, 0.4),
          0 0 0 1px rgba(255, 255, 255, 0.08) inset;
        transform: translateY(25px) scale(0.96);
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.2);
        position: relative;
      }
      
      .success-popup.active .success-popup-content {
        transform: translateY(0) scale(1);
      }
      
      .success-popup-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #0078d4, #107c10);
        z-index: 2;
      }
      
      .success-header {
        padding: 2.2rem 2rem 1.5rem;
        text-align: center;
        background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
        position: relative;
        overflow: hidden;
      }
      
      .success-header::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 70%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(0, 120, 212, 0.15), transparent);
      }
      
      .success-icon {
        width: 75px;
        height: 75px;
        background: linear-gradient(135deg, #107c10 0%, #0d9e0d 100%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1.2rem;
        position: relative;
        z-index: 1;
        box-shadow: 
          0 12px 24px rgba(16, 124, 16, 0.25),
          0 0 0 6px rgba(16, 124, 16, 0.08);
        animation: successPulse 2s infinite ease-in-out;
      }
      
      .success-icon svg {
        width: 32px;
        height: 32px;
        color: white;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.2));
      }
      
      .success-title {
        color: #1e293b;
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0 0 0.4rem;
        letter-spacing: -0.3px;
        background: linear-gradient(135deg, #0078d4, #107c10);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
      }
      
      .success-subtitle {
        color: #64748b;
        font-size: 0.95rem;
        font-weight: 500;
        line-height: 1.3;
        max-width: 280px;
        margin: 0 auto;
      }
      
      .success-body {
        padding: 1.8rem 2rem 2.2rem;
      }
      
      .message-section {
        margin-bottom: 1.5rem;
      }
      
      .message-text {
        color: #334155;
        line-height: 1.6;
        font-size: 0.95rem;
        margin-bottom: 1.8rem;
        text-align: center;
      }
      
      .apology-section {
        background: #fffbeb;
        border-radius: 12px;
        padding: 1.25rem;
        border-left: 4px solid #f59e0b;
        margin: 1.8rem 0;
        position: relative;
        overflow: hidden;
      }
      
      .apology-section::before {
        content: '';
        position: absolute;
        top: -15px;
        right: -15px;
        width: 50px;
        height: 50px;
        background: rgba(245, 158, 11, 0.08);
        border-radius: 50%;
      }
      
      .apology-title {
        color: #92400e;
        font-size: 0.95rem;
        font-weight: 700;
        margin-bottom: 0.75rem;
        display: flex;
        align-items: center;
        gap: 0.6rem;
      }
      
      .apology-title svg {
        color: #d97706;
        width: 18px;
        height: 18px;
        flex-shrink: 0;
      }
      
      .apology-text {
        color: #78350f;
        font-size: 0.9rem;
        line-height: 1.5;
        margin: 0;
      }
      
      @keyframes successPulse {
        0%, 100% {
          transform: scale(1);
          box-shadow: 
            0 12px 24px rgba(16, 124, 16, 0.25),
            0 0 0 6px rgba(16, 124, 16, 0.08);
        }
        50% {
          transform: scale(1.04);
          box-shadow: 
            0 16px 32px rgba(16, 124, 16, 0.35),
            0 0 0 8px rgba(16, 124, 16, 0.12);
        }
      }
      
      @keyframes checkmark {
        0% {
          stroke-dashoffset: 100;
          opacity: 0;
          transform: scale(0.8);
        }
        60% {
          transform: scale(1.05);
        }
        100% {
          stroke-dashoffset: 0;
          opacity: 1;
          transform: scale(1);
        }
      }
      
      .checkmark-path {
        stroke-dasharray: 100;
        stroke-dashoffset: 100;
        animation: checkmark 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
        animation-delay: 0.2s;
      }
      
      /* Media queries para responsividad */
      @media (max-width: 900px) {
        .success-popup-content {
          width: 90%;
          max-width: 380px;
          border-radius: 18px;
        }
        
        .success-header {
          padding: 1.8rem 1.5rem 1.3rem;
        }
        
        .success-icon {
          width: 68px;
          height: 68px;
          margin-bottom: 1rem;
        }
        
        .success-icon svg {
          width: 28px;
          height: 28px;
        }
        
        .success-title {
          font-size: 1.35rem;
        }
        
        .success-subtitle {
          font-size: 0.9rem;
          max-width: 260px;
        }
        
        .success-body {
          padding: 1.5rem 1.5rem 1.8rem;
        }
        
        .message-text {
          font-size: 0.9rem;
          line-height: 1.5;
          margin-bottom: 1.5rem;
        }
        
        .apology-section {
          padding: 1.1rem;
          margin: 1.5rem 0;
        }
        
        .apology-title {
          font-size: 0.9rem;
        }
        
        .apology-text {
          font-size: 0.85rem;
          line-height: 1.45;
        }
      }
      
      @media (min-width: 901px) {
        .success-popup-content {
          max-width: 400px;
          border-radius: 22px;
        }
        
        .success-icon {
          width: 80px;
          height: 80px;
        }
        
        .success-icon svg {
          width: 36px;
          height: 36px;
        }
        
        .success-title {
          font-size: 1.6rem;
        }
      }
      
      /* Ajustes para pantallas muy pequeñas */
      @media (max-width: 400px) {
        .success-popup-content {
          width: 92%;
          max-width: 340px;
          border-radius: 16px;
        }
        
        .success-header {
          padding: 1.5rem 1.2rem 1rem;
        }
        
        .success-icon {
          width: 60px;
          height: 60px;
          margin-bottom: 0.8rem;
        }
        
        .success-icon svg {
          width: 24px;
          height: 24px;
        }
        
        .success-title {
          font-size: 1.25rem;
          margin-bottom: 0.3rem;
        }
        
        .success-subtitle {
          font-size: 0.85rem;
          max-width: 240px;
        }
        
        .success-body {
          padding: 1.2rem 1.2rem 1.5rem;
        }
        
        .message-text {
          font-size: 0.85rem;
          line-height: 1.45;
          margin-bottom: 1.2rem;
        }
        
        .apology-section {
          padding: 1rem;
          margin: 1.2rem 0;
          border-radius: 10px;
        }
        
        .apology-title {
          font-size: 0.85rem;
          margin-bottom: 0.6rem;
        }
        
        .apology-text {
          font-size: 0.8rem;
          line-height: 1.4;
        }
      }