:root{
  --isv-blue: #143f68;
  --isv-blue-dark: #0f3456;
  --isv-green: #18b99a;
  --card: #ffffff;
  --text: #20262d;
  --muted: #607086;
  --border: #d8e2ea;
  --shadow: 0 18px 42px rgba(8,35,58,0.30);
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
               Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
}

body{
  background: linear-gradient(135deg, var(--isv-blue-dark), var(--isv-blue));
}

.auth{
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 28px 16px;
}

.auth-card{
  width: 100%;
  max-width: 500px;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.auth-header{
  padding: 26px 34px 20px;
  border-bottom: 5px solid var(--isv-green);
  background: var(--isv-blue);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.auth-brand{
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  justify-content: center;
}

.auth-logo{
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  box-shadow: none;
}

.auth-title{
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  letter-spacing: .02em;
  font-weight: 500;
  color: #fff;
  text-transform: uppercase;
}

.auth-brand-line{
  width: 100%;
  max-width: 230px;
  height: 4px;
  margin-top: 14px;
  background: var(--isv-green);
}

.auth-alert{
  margin: 16px 34px 0;
  padding: 12px 14px;
  border-radius: 8px;
  background: rgba(220,38,38,0.08);
  border: 1px solid rgba(220,38,38,0.18);
  color: #991b1b;
  font-size: 14px;
}

.auth-form{
  padding: 22px 34px 34px;
}

.auth-field{
  margin-top: 14px;
}

.auth-field label{
  display: block;
  font-size: 13px;
  margin-bottom: 6px;
  color: rgba(32,38,45,0.86);
  font-weight: 600;
}

.auth-field input{
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  outline: none;
  font-size: 15px;
  transition: box-shadow .15s, border-color .15s, transform .02s;
}

.auth-field input:focus{
  border-color: var(--isv-green);
  box-shadow: 0 0 0 4px rgba(24,185,154,0.16);
}

.auth-btn{
  margin-top: 20px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 700;
  color: white;
  cursor: pointer;
  background: var(--isv-green);
  box-shadow: 0 8px 18px rgba(24,185,154,0.25);
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease;
}

.auth-btn:hover{
  background: #14a98d;
  box-shadow: 0 10px 22px rgba(24,185,154,0.30);
}

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

.auth-footer{
  padding: 0 34px 28px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
