:root {
  --am-bg: #f7f8fb;
  --am-card: #ffffff;
  --am-text: #0f172a;
  --am-muted: #6b7280;
  --am-border: #e5e7eb;
  --am-maxw: 1120px;
  --am-pad: clamp(16px, 2vw, 24px);
  --am-primary: #272525;
  --am-primary-hover: #363535;
  --am-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
}
html, body {
  min-height: 100vh;
  margin: 0;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--am-text);
  background: radial-gradient(1200px 600px at 50% 20%, #ffffff 0%, var(--am-bg) 60%, #f3f4f7 100%);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.am-header {
  padding-block: clamp(15px, 4vh, 15px);
}

.am-header__inner {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.am-header__brand img {
  width: auto;
  display: block;
}

.am-main {
  display: grid;
  place-items: start center;
  align-items: center;
}

.am-card {
  background: var(--am-card);
  border: 1px solid var(--am-border);
  border-radius: 18px;
  box-shadow: var(--am-shadow);
  max-width: 40%;
  width: 100%;
  padding: clamp(22px, 4vw, 36px);
}
@media (max-width: 992px){
  .am-card{
    max-width: 50%;
  }
}

@media (max-width: 600px){
  .am-card{
    max-width: 70%;
  }
}

@media (max-width: 400px){
  .am-card{
    max-width: 80%;
  }
}

.am-title {
  font-size: clamp(22px, 3.6vw, 30px);
  font-weight: 800;
  text-align: center;
  margin: 4px 0 4px;
}

.am-subtitle {
  text-align: center;
  color: var(--am-muted);
  margin: 0 0 24px;
  font-size: 16px;
}

.am-field {
  margin-bottom: 20px;
}

.am-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
}

.am-icon-label {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--am-primary);
}

.am-input {
  width: 100%;
  border: 1px solid var(--am-border);
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  font-size: 16px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.am-input:focus {
  border-color: #cfd7ff;
  box-shadow: 0 0 0 2px rgba(49, 53, 67, 0.15);
}

.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--am-primary);
  cursor: pointer;
  box-shadow: var(--am-shadow);
  transition: transform .06s ease, background .2s ease, box-shadow .2s ease;
}

.am-btn:hover {
  background: var(--am-primary-hover);
}

.am-btn:active {
  transform: translateY(1px);
  box-shadow: 0 6px 18px rgba(2, 6, 23, .08);
}

.am-footer {
  border-top: 1px solid var(--am-border);
  background: #fff;
}

.am-footer__inner {
  max-width: var(--am-maxw);
  margin: 0 auto;
  padding: clamp(14px, 2.4vw, 18px) var(--am-pad);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.am-footer__left,
.am-footer__center,
.am-footer__right {
  display: flex;
  align-items: center;
}

.am-footer__left {
  gap: 10px;
}

.am-footer__center {
  gap: 10px;
  justify-content: center;
}

.am-footer__right {
  justify-content: flex-end;
}

.am-footer__left img {
  width: 60px;
  opacity: .9;
}

.am-powered {
  font-size: 14px;
  color: var(--am-muted);
  white-space: nowrap;
}

.am-powertranz {
  width: 200px;
}

.am-idcheck {
  width: 160px;
  opacity: .95;
}

@media (max-width: 560px) {
  .am-footer__inner {
    text-align: center;
  }

  .am-footer__left,
  .am-footer__right {
    justify-content: center;
  }

  .am-footer__left img {
    width: 30px;
  }

  .am-powertranz {
    width: 80px;
  }
  
  .am-idcheck {
    width: 80px;
  }
}

@media (max-width: 400px) {
  .am-footer__left img {
    width: 30px;
  }

  .am-powertranz img {
    width: 40px;
  }
  
  .am-idcheck img {
    width: 40px;
  }
}

@media(max-width: 992px){

  .am-footer__left img {
    width: 50px;
  }

  .am-powertranz img{
    width: 120px;
  }
  
  .am-idcheck img{
    width: 120px;
  }
}
.am-invalid{
  color: red;
}