@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

html,
body {
  height: 100%;
  font-family: 'Outfit', sans-serif;
}

#bg-login {
  background-image: linear-gradient(rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.35)), url('../asset/gambar/bg-klinik.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-signin {
  max-width: 420px;
  width: 100%;
  padding: 3rem 2.5rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 24px;
  box-shadow: 
    0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 30px 40px -10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.form-signin:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 10px 15px -3px rgba(0, 0, 0, 0.05),
    0 20px 25px -5px rgba(0, 0, 0, 0.08),
    0 30px 35px -5px rgba(0, 0, 0, 0.12),
    0 40px 50px -10px rgba(0, 0, 0, 0.2);
}

.form-signin form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form-signin img {
  filter: drop-shadow(0 8px 16px rgba(113, 44, 249, 0.25));
  transition: transform 0.5s ease;
  object-fit: contain;
}

.form-signin img:hover {
  transform: scale(1.08) rotate(5deg);
}

.form-signin h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.75rem !important;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.form-signin .form-floating {
  width: 100%;
  margin-bottom: 1rem;
  position: relative;
}

.form-signin .form-floating:last-of-type {
  margin-bottom: 1.5rem;
}

.form-signin .form-control {
  border: 1.5px solid #e2e8f0;
  border-radius: 12px !important;
  font-size: 0.95rem;
  padding: 1.2rem 1rem;
  background-color: rgba(248, 250, 252, 0.8);
  color: #0f172a;
  transition: all 0.2s ease-in-out;
}

.form-signin .form-control:focus {
  border-color: #6366f1;
  background-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}

.form-signin .form-floating label {
  padding: 1rem;
  color: #64748b;
  font-weight: 400;
  transition: all 0.2s ease;
}

.form-signin .form-control:focus ~ label,
.form-signin .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.85) translateY(-0.6rem) translateX(0.15rem);
  color: #6366f1;
  font-weight: 500;
}

/* Button style adjustment */
.form-signin .btn-primary {
  width: 100%;
  padding: 0.85rem !important;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px !important;
  border: none;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
  transition: all 0.25s ease;
  color: #ffffff;
  letter-spacing: 0.025em;
  margin-top: 0.5rem;
}

.form-signin .btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  box-shadow: 0 6px 18px rgba(79, 70, 229, 0.45);
  transform: translateY(-2px);
}

.form-signin .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(79, 70, 229, 0.4);
}

.form-signin p.text-body-secondary {
  color: #94a3b8 !important;
  font-size: 0.85rem;
  margin-top: 2rem !important;
  margin-bottom: 0 !important;
  font-weight: 400;
}
