:root {
  --color-primary: #0C4A8C;
  --color-primary-icon: #0A68B1;
  --color-light-blue: #B7D7F0;
  --color-light-blue-bg: #EDF4FD;
  --color-text-primary: #232421;
  --color-text-secondary: #4B4A49;
  --color-border: #D2D2D2;
  --font-family: 'Noto Sans', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  color: var(--color-text-primary);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Centered page layout */
.page-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

/* Error graphic: circular gradient with icon */
.error-graphic {
  width: 120px;
  height: 80px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  margin-bottom: 24px;
}

.error-graphic::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--color-light-blue-bg) 0%, #fff 100%);
  z-index: 0;
}

.error-graphic img {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
}

/* Typography */
.error-title {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--color-text-primary);
  margin-bottom: 8px;
}

.error-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--color-text-secondary);
  max-width: 360px;
}

/* Primary button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 10px 24px;
  margin-top: 32px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-family);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary:hover {
  background: #0A3D75;
}

.btn-primary:active {
  background: #08325F;
}

/* Shared page elements */
.page-logo {
  width: 96px;
  margin-bottom: 24px;
}

.home-card {
  text-align: left;
  background: #f4f5f7;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 28px 32px;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.page-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.home-badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ecf8e;
  flex-shrink: 0;
}

.home-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border: 1px solid #3ecf8e;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a9e6a;
  white-space: nowrap;
}

.page-title {
  font-size: 22px;
  font-weight: 700;
  line-height: 30px;
  color: var(--color-text-primary);
}

.page-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
  color: var(--color-text-secondary);
}
