:root {
    --primary-color: #1f3044;
    --light-primary-color: #4F7AAE;
    --bg: #f6f7fb;
    --card-bg: #ffffff;
    --border: #e0e3ee;
    --text-main: #1f2933;
    --text-subtle: #6b7280;
    --accent-soft: #e0ebff;
    --radius-lg: 18px;
    --shadow-soft: 0 10px 35px rgba(15, 23, 42, 0.08);
}

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

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
    background: radial-gradient(circle at top left, #f8f8ff 0, #f6f7fb 45%, #eef0f8 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    color: var(--text-main);
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    padding: 40px 40px 32px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--light-primary-color);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin-bottom: 18px;
}

.login-title {
    color: var(--light-primary-color) !important;
    font-size: 1.3rem;
    margin-bottom: 30px;
}

.login-subtitle {
    font-size: 0.96rem;
    color: var(--text-subtle);
    margin-bottom: 28px;
}

.login-helper {
    margin-top: 18px;
    font-size: 0.8rem;
    color: var(--text-subtle);
    line-height: 1.5;
}

.login-helper a {
    color: var(--light-primary-color);
    text-decoration: none;
    font-weight: 500;
}

.login-helper a:hover {
    text-decoration: underline;
}

@media (max-width: 640px) {
    header {
    padding: 12px 18px;
    }

    .login-card {
    padding: 30px 22px 24px;
    }

    .login-title {
    font-size: 1.4rem;
    }
}

/* Make the link behave like a block container */
.info-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  max-width: 420px;
  margin: 20px auto 0 auto;
}

/* The card styling */
.info-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 4px 14px rgba(148, 163, 184, 0.18);
  border: 1px solid #e5e7eb;
  text-align: center;
  transition: all 0.2s ease;
}

/* Hover effect for the whole clickable card */
.info-card-link:hover .info-card {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.28);
  border-color: #cbd5f0;
}

/* Text styles */
.info-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-card-subtitle {
  font-size: 0.85rem;
  color: #6b7280;
}