.hd-login-success-modal {
  background: #ffffff;
  border: 1px solid rgba(84, 207, 230, 0.3);
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(100, 100, 255, 0.2);
  color: #2a3a4a;
  position: relative;
  overflow: hidden;
}

.hd-login-success-icon {
  font-size: 64px;
  color: #54cfd6;
  animation: pulse-success 2s infinite;
}

.hd-login-success-title {
  font-size: 24px;
  font-weight: 600;
  color: #2a3a4a;
  text-shadow: 0 0 5px rgba(92, 225, 230, 0.3);
}

.hd-login-success-message {
  color: #5a6a7a;
  font-size: 16px;
}

.hd-login-success-progress .progress {
  height: 8px;
  background-color: rgba(100, 100, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.hd-login-success-progress .progress-bar {
  background: linear-gradient(90deg, #5ce1e6, #8a64ff);
  box-shadow: 0 0 10px rgba(92, 225, 230, 0.5);
}

.hd-login-redirect-text {
  color: #8a98a9;
  font-size: 14px;
}

.hd-login-success-btn {
  background: linear-gradient(45deg, #5ce1e6, #8a64ff);
  border: none;
  color: white;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.hd-login-success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(138, 100, 255, 0.4);
}

.hd-login-success-btn .btn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  opacity: 0;
}

.hd-login-success-btn:hover .btn-pulse {
  animation: btn-pulse 1s ease-out;
}

.hd-login-success-glow {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(30px);
  pointer-events: none;
}

.hd-login-success-glow-1 {
  background: #5ce1e6;
  width: 150px;
  height: 150px;
  top: -75px;
  left: -75px;
}

.hd-login-success-glow-2 {
  background: #8a64ff;
  width: 200px;
  height: 200px;
  bottom: -100px;
  right: -100px;
}

@keyframes pulse-success {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes btn-pulse {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }
  100% {
    width: 300px;
    height: 300px;
    opacity: 0;
  }
}

/* ============================================
   ZALO LOGIN BUTTON STYLES
   ============================================ */

.hd-dang-nhap-btn-zalo {
  background: linear-gradient(135deg, #0084ff 0%, #00c6ff 100%);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.3);
  width: 100%;
  margin-top: 12px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

.hd-dang-nhap-btn-zalo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.4);
  background: linear-gradient(135deg, #0073e6 0%, #00b8f0 100%);
}

.hd-dang-nhap-btn-zalo:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 132, 255, 0.3);
}

.hd-dang-nhap-btn-zalo:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.hd-dang-nhap-btn-zalo::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;
}

.hd-dang-nhap-btn-zalo:hover::before {
  left: 100%;
}

/* Zalo Icon - Custom "Z" Logo */
.hd-zalo-icon {
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #0084ff;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.hd-dang-nhap-btn-zalo:hover .hd-zalo-icon {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Social Buttons Container Update */
.hd-dang-nhap-social-buttons {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hd-dang-nhap-social-buttons .hd-dang-nhap-btn {
  width: 100%;
}

/* ============================================
   DARK MODE SUPPORT
   ============================================ */
.dark .hd-dang-nhap-btn-zalo {
  background: linear-gradient(135deg, #0084ff 0%, #0099ff 100%);
  box-shadow: 0 4px 15px rgba(0, 132, 255, 0.2);
}

.dark .hd-dang-nhap-btn-zalo:hover {
  box-shadow: 0 6px 20px rgba(0, 132, 255, 0.35);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 480px) {
  .hd-dang-nhap-btn-zalo {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .hd-zalo-icon {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
}