:root {
  --sus-blue: #005eb8;
  --sus-blue-2: #0f4fa0;
  --sus-light: #f5f8fc;
  --text: #16324f;
  --muted: #496485;
  --border: #d6e0ee;
  --shadow: 0 12px 30px rgba(0, 35, 80, 0.14);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #eaf1fa;
}

.topbar {
  height: 64px;
  background: var(--sus-blue);
  display: flex;
  align-items: center;
  padding: 0 22px;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 5;
}

.wrap {
  min-height: calc(100% - 64px);
  display: grid;
  grid-template-columns: 460px 1fr;
}

.left {
  background: var(--sus-light);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.brand {
  margin-bottom: 10px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.logo-icon {
  width: 52px;
  height: 52px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  clip-path: inset(18%);
  transform: scale(1.35);
  transform-origin: center;
}

.brand .logo-icon {
  width: 84px;
  height: 84px;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  border: 0;
  clip-path: inset(18%);
  transform: scale(1.28);
  transform-origin: center;
}

.logo-avalia {
  color: #49a942;
}

.logo-sus {
  color: #1f4e8c;
}

.logo-text {
  display: inline-flex;
}

.topbar .logo {
  font-size: 32px;
  gap: 14px;
}

.tagline {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--muted);
  max-width: 380px;
}

.tagline strong {
  color: var(--sus-blue-2);
  font-weight: 900;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 20px;
  max-width: 380px;
}

label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #27405c;
  margin: 12px 0 6px;
}

input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(217, 226, 239, 0.95);
  outline: none;
  font-size: 14px;
  background: #fff;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

input::placeholder {
  color: rgba(91, 113, 136, 0.75);
}

input:focus {
  border-color: rgba(0, 94, 184, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 94, 184, 0.14);
}

.btn {
  margin-top: 16px;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #0a66c2, #005eb8);
  color: #fff;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(0, 94, 184, 0.2);
  transition: transform 0.08s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  filter: brightness(1.03);
  box-shadow: 0 16px 34px rgba(0, 94, 184, 0.24);
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.msg {
  margin: 10px 0 0;
  min-height: 18px;
  font-size: 13px;
  color: #a40000;
}

.micro {
  margin: 14px 0 0;
  font-size: 12px;
  color: rgba(70, 96, 126, 0.98);
  line-height: 1.4;
  padding-top: 10px;
  border-top: 1px dashed rgba(217, 226, 239, 0.9);
}

.micro strong {
  color: #16324f;
  font-weight: 900;
}

.foot {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(22, 50, 79, 0.72);
  max-width: 380px;
}

.right {
  position: relative;
  overflow: hidden;
  background-image: url('/public/images/bg-avaliasus-login.png?v=20260306-3');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.right::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, rgba(0, 52, 106, 0.5), rgba(15, 79, 160, 0.2));
  pointer-events: none;
}

@media (max-width: 980px) {
  .wrap {
    grid-template-columns: 1fr;
  }

  .right {
    display: none;
  }

  .left {
    border-right: none;
    padding: 24px 18px;
  }

  .tagline {
    font-size: 15px;
  }

  .card {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .topbar {
    height: 58px;
    padding: 0 14px;
  }

  .topbar .logo {
    font-size: 26px;
    gap: 10px;
  }

  .logo {
    font-size: 30px;
    gap: 10px;
  }

  .logo-icon {
    width: 44px;
    height: 44px;
  }

  .brand .logo-icon {
    width: 74px;
    height: 74px;
  }

  .left {
    padding: 16px 12px;
  }

  .card {
    padding: 16px;
    border-radius: 12px;
  }
}
