/* ================================
   MICROSOFT-STYLE SIGN IN UI
   Clean • Soft • Professional
================================ */

/* Card */
.signin-card {
  background: rgba(20, 20, 20, 0.92);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Logo */
.signin-card img {
  height: 36px;
  margin-bottom: 10px;
}

/* Title */
.signin-card h1 {
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin-top: 10px;
}

/* Subtitle */
.signin-card p {
  color: #b3b3b3;
  font-size: 14px;
}

/* Labels */
label {
  font-size: 13px;
  color: #cfcfcf;
}

/* Inputs */
input {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 4px !important;
  padding: 10px 12px !important;
  transition: border 0.15s ease, box-shadow 0.15s ease;
}

input:hover {
  border-color: rgba(255,255,255,0.25) !important;
}

input:focus {
  border-color: #2563eb !important;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.35) !important;
}

/* Placeholder */
::placeholder {
  color: #9ca3af !important;
  opacity: 1;
}

/* Forgot password link */
.forgot-link {
  color: #4ea1ff;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
}

/* Primary Button (Microsoft Blue) */
button[type="submit"] {
  background: #2563eb;
  border-radius: 4px;
  font-weight: 600;
  padding: 10px 0;
  transition: background 0.15s ease, transform 0.05s ease;
}

button[type="submit"]:hover {
  background: #1d4ed8;
}

button[type="submit"]:active {
  transform: scale(0.98);
}

/* Create account link */
a {
  color: #b3b3b3;
  font-size: 14px;
}

a:hover {
  color: #ffffff;
}

/* Error message */
#signinResult {
  font-size: 14px;
  font-weight: 500;
  color: #ff6b6b;
}

/* Animation */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.45s ease-out both;
}

/* Scrollbar — subtle Windows style */
* {
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #111827;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #111827;
}

::-webkit-scrollbar-thumb {
  background: #3b82f6;
  border-radius: 10px;
}
