/* ===============================
   LOGIN ENHANCEMENT MASRI CLOUD
=============================== */

/* BUTTON SHINE EFFECT */
.btn-primary {
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content:'';
  position:absolute;
  top:0; left:-100%;
  width:100%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
  transition:0.6s;
}

.btn-primary:hover::before {
  left:100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* CARD HOVER */
.card {
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,212,170,0.15);
}

/* INPUT ANIMATION */
.form-group {
  position: relative;
}

.form-input {
  transition: all 0.3s ease;
}

.form-input:focus {
  transform: scale(1.02);
}

/* FLOATING LABEL STYLE (WAVE BASE) */
.form-group label.form-label {
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: 0.3s ease;
}

.form-input:focus + label,
.form-input:not(:placeholder-shown) + label {
  top: -8px;
  font-size: 0.65rem;
  color: var(--teal);
}

/* BACKGROUND ANIMATION */
body::after {
  animation: floatGlow 10s ease-in-out infinite;
}

@keyframes floatGlow {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-40px, 20px); }
}

/* LOGO FLOAT */
.logo-mark {
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
body::before {
  content: "";
  animation: bgMove 20s linear infinite;
  position: fixed;
  inset: 0;
  background-image: url('../img/bg-ai.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: -1;
}
@keyframes bgMove {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}
/* ===============================
   WHATSAPP LINK FX
=============================== */

.login-help {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 22px;
}

/* LINK STYLE */
.wa-link {
  color: var(--teal);
  text-decoration: none;
  position: relative;
  font-weight: 600;
  transition: all 0.3s ease;
}

/* UNDERLINE GLOW */
.wa-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), #00b8e6);
  transition: width 0.3s ease;
}

/* HOVER EFFECT */
.wa-link:hover {
  color: #00ffd0;
  text-shadow: 0 0 8px rgba(0,212,170,0.6);
}

.wa-link:hover::after {
  width: 100%;
}

/* CLICK FEEDBACK */
.wa-link:active {
  transform: scale(0.95);
}
.wa-icon {
  margin-right: 4px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.wa-link:hover .wa-icon {
  transform: translateX(3px);
}
/* ===============================
   ULTIMATE BUTTON MASRI CLOUD
=============================== */

.btn-ultimate {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* GLOW */
.btn-ultimate {
  box-shadow: 0 0 20px rgba(0,212,170,0.3);
}

.btn-ultimate:hover {
  box-shadow: 0 0 35px rgba(0,212,170,0.6);
  transform: translateY(-2px);
}

/* PRESS EFFECT */
.btn-ultimate:active {
  transform: scale(0.97);
  box-shadow: 0 0 10px rgba(0,212,170,0.4);
}

/* RIPPLE */
.btn-ultimate .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,0.4);
  animation: rippleEffect 0.6s linear;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* SHINE LOOP (halus, AI feel) */
.btn-ultimate::before {
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,0.15), transparent);
  opacity:0;
  transition:0.4s;
}

.btn-ultimate:hover::before {
  opacity:1;
}
.user-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}
