@font-face {
  font-family: "Montserrat";
  src: url("/Montserrat-Font.ttf") format("truetype");
  font-weight: 100 900;
}

* {
  box-sizing: border-box;
}

:root {
  --brand: #07939a;
  --brand-dark: #04757c;
  --page: #f4f7f8;
  --surface: #ffffff;
  --border: #dfe8ec;
  --text: #26364a;
  --muted: #60708a;
  --shadow: 0 22px 54px rgba(31, 55, 72, 0.1);
  --shadow-sm: 0 10px 24px rgba(31, 55, 72, 0.08);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", "Segoe UI", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 32px;
  overflow: hidden;

  background:
    radial-gradient(circle at top left, rgba(7, 147, 154, 0.1), transparent 30rem),
    radial-gradient(circle at bottom right, rgba(4, 117, 124, 0.08), transparent 26rem),
    linear-gradient(180deg, #fbfcfd 0%, #f4f7f8 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(7, 147, 154, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 147, 154, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.login-shell {
  width: min(100%, 570px);

  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(-60px);
}

.login-card {
  width: 100%;
  position: relative;
  overflow: hidden;
  max-width: 430px;
  margin: 0 auto;
  padding: 42px 40px 34px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), #57c7bd);
}

.login-copy {
  margin: 12px auto 28px;
  max-width: 320px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.login-btn {
  width: 100%;
  min-height: 52px;
  padding: 13px 18px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  border-radius: 999px;
  border: 1px solid var(--brand);

  background: var(--brand);
  color: #ffffff;

  font: inherit;
  font-size: 15px;
  font-weight: 800;

  cursor: pointer;

  box-shadow: 0 14px 24px rgba(7, 147, 154, 0.2);
  transition: transform 0.2s ease,
              box-shadow 0.2s ease,
              background 0.2s ease;
}

.login-btn:hover {
  transform: translateY(-1px);
  background: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.login-btn:focus-visible {
  outline: 3px solid rgba(7, 147, 154, 0.22);
  outline-offset: 3px;
}

.login-btn img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer {
  margin-top: 28px;
  width: 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}

.top-logo {
  width: 240px;
  max-width: 90%;
  margin-bottom: 20px;

  filter: drop-shadow(0 10px 20px rgba(7,147,154,0.18));
}

@media (max-width: 520px) {
  body {
    padding: 20px;
  }

  .login-card {
    padding: 36px 26px 30px;
    border-radius: 24px;
  }

  .top-logo {
    width: 190px;
    margin-bottom: 18px;
  }
}