:root {
  --orange: #ff7a45;
  --orange-dark: #f45b24;
  --text: #1f2937;
  --muted: #6b7280;
  --line: #cfd6df;
  --white: #ffffff;
  --radius-card: 14px;
  --radius-square: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  background:
    radial-gradient(circle at 50% 38%, rgba(255, 122, 69, 0.06), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

button {
  font-family: inherit;
}

.login-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.login-card {
  width: min(100%, 380px);
  padding: 24px 30px 22px;
  background: rgba(255, 255, 255, 0.97);
  border: 1.5px solid var(--orange);
  border-radius: var(--radius-card);
}

.paydesk-logo {
  display: block;
  width: 138px;
  height: auto;
  margin: 0 auto 14px;
}

.login-header {
  margin-bottom: 18px;
  text-align: center;
}

.login-header h1 {
  margin: 0 0 5px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

.login-header p {
  margin: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
}

.login-header span {
  color: var(--orange-dark);
}

.google-sign-in,
.launch-button {
  width: 100%;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: var(--radius-square);
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 12px 24px rgba(244, 91, 36, .22);
  cursor: pointer;
  transition: .18s ease;
}

.google-sign-in:hover,
.launch-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(244, 91, 36, .26);
}

.google-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  color: #4285f4;
  font-size: 14px;
  font-weight: 800;
}

.bridge-note,
.error-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.error-note {
  color: #b42318;
}

.powered {
  margin-top: 24px;
  text-align: center;
}

.powered-label {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
}

.powered-label span {
  height: 1.5px;
  background: var(--line);
}

.payroll-logo {
  display: block;
  width: 150px;
  height: auto;
  margin: 16px auto 0;
}

.app-shell {
  width: 100%;
  min-height: 100vh;
  border: 0;
}

.top-strip {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid #e5eaf0;
  background: #ffffff;
}

.top-strip img {
  width: 112px;
  height: auto;
}

.top-strip a {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.frame-wrap {
  height: calc(100vh - 54px);
}

.frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 520px) {
  .login-card {
    padding: 30px 22px 26px;
  }
}
