/* =========================
   GLOBAL STYLE
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  /* Background premium banque */
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #0ea5e9);
  background-size: 300% 300%;
  animation: bgMove 10s ease infinite;
}

/* Background animation */
@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =========================
   LOGIN BOX (GLASSMORPHISM)
========================= */

.login-box {
  width: 380px;
  padding: 35px;
  border-radius: 20px;

  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);

  text-align: center;

  animation: fadeIn 1s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================
   LOGO ANIMATION
========================= */

.logo {
  margin-bottom: 10px;
}

.logo img {
  width: 140px;
  animation: floatLogo 3s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(0, 174, 255, 0.6));
}

@keyframes floatLogo {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* Subtitle */
.logo-sub {
  color: #cbd5e1;
  font-size: 14px;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

/* =========================
   INPUTS
========================= */

input {
  width: 100%;
  padding: 12px 15px;
  margin: 10px 0;

  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);

  background: rgba(255,255,255,0.07);
  color: white;

  outline: none;
  transition: 0.3s;
}

input::placeholder {
  color: rgba(255,255,255,0.6);
}

input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 10px rgba(56,189,248,0.5);
}

/* =========================
   OPTIONS
========================= */

.options {
  text-align: left;
  font-size: 13px;
  color: #cbd5e1;
  margin: 10px 0;
}

/* =========================
   BUTTON FINTECH STYLE
========================= */

.btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;

  border: none;
  border-radius: 12px;

  background: linear-gradient(90deg, #00c6ff, #0072ff);
  color: white;

  font-size: 16px;
  font-weight: bold;
  cursor: pointer;

  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

/* Glow effect */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  transition: 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 114, 255, 0.5);
}

/* =========================
   LINKS
========================= */

.link {
  display: block;
  margin-top: 15px;
  font-size: 13px;
  color: #93c5fd;
  text-decoration: none;
  transition: 0.3s;
}

.link:hover {
  color: white;
  text-decoration: underline;
}