.portal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  gap: 48px;
}

.portal-header {
  text-align: center;
  max-width: 600px;
}

.portal-logo {
  height: 72px;
  width: auto;
  margin-bottom: 20px;
}

.portal-header h1 {
  margin: 0 0 8px;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
}

.portal-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.portal-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 340px));
  gap: 24px;
  width: 100%;
  max-width: 760px;
}

@media (max-width: 640px) {
  .portal-cards { grid-template-columns: 1fr; }
}

.portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.portal-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
}

.portal-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(20, 128, 202, 0.15);
  color: var(--primary);
  margin-bottom: 4px;
}

.portal-card-icon svg { width: 28px; height: 28px; }

.portal-card h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.portal-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.portal-card-note {
  font-size: 0.8rem;
  color: var(--warning);
  font-weight: 700;
}

.portal-card-btn {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  width: 100%;
}

.portal-card:hover .portal-card-btn {
  background: var(--primary-dark);
}
