/* ================= GLOBAL FIX ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ================= WPAC LOGIN PAGE ================= */
.wpac-login-page {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: linear-gradient(135deg, #e0f2fe, #f4f6fb);
  font-family: "Inter", Arial, sans-serif;
  margin: 0;
}

.wpac-login-box {
  width: 380px;
  background: #ffffff;
  padding: 50px 35px;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.wpac-login-box h2 {
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 28px;
  color: #1f2937;
  background: linear-gradient(to right, #2563eb, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= INPUTS ================= */
.wpac-login-box input[type="text"],
.wpac-login-box input[type="password"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 15px;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.wpac-login-box input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
  outline: none;
}

.wpac-login-error {
  background: #fee2e2;
  color: #b91c1c;
  padding: 14px;
  margin-bottom: 18px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* ================= LOGIN BUTTONS ================= */
.wpac-login-box button[type="submit"],
.wpac-login-ms {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

/* Normal login button */
.wpac-login-box button[type="submit"] {
  background: #2563eb;
  color: #ffffff;
}

.wpac-login-box button[type="submit"]:hover {
  background: #1e40af;
}

/* Microsoft login button */
.wpac-login-ms {
  margin-top: 16px;
  background: #151515;
  color: #ffffff;
}

.wpac-login-ms:hover {
  background: #005a9e;
}

/* Microsoft logo inside button */
.wpac-login-ms::before {
  content: url("ms-logo.svg");
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  width: 20px;
  height: 20px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 500px) {
  .wpac-login-box {
    width: 90%;
    padding: 35px 20px;
  }

  .wpac-login-box h2 {
    font-size: 20px;
  }
}
