/* portal.css - Maria Bookings landing page */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import 'theme.css';

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

body {
  font-family: var(--font);
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 55%, var(--bg) 55%);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

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

.portal-card {
  width: 100%;
  max-width: 520px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 48px 40px;
  text-align: center;
}

.portal-logo {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: cover;
  margin: 0 auto 20px;
  display: none;
}

.portal-logo.visible { display: block; }

.portal-card h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.portal-tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.portal-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.portal-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .2s ease;
  text-decoration: none;
}

.portal-actions .btn-primary {
  background: var(--accent);
  color: #fff;
}

.portal-actions .btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(var(--accent-rgb), .35);
}

.portal-actions .btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--border);
}

.portal-actions .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.portal-contact {
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.portal-contact:empty { display: none; }

.portal-contact a {
  color: var(--accent);
  text-decoration: none;
}

.portal-contact a:hover { text-decoration: underline; }

.portal-admin {
  font-size: .82rem;
  margin-bottom: 16px;
}

.portal-admin a {
  color: var(--text-light);
  text-decoration: none;
}

.portal-admin a:hover { color: var(--accent); }

.portal-powered {
  font-size: .78rem;
  color: var(--text-light);
}

.portal-powered a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.portal-powered a:hover {
  color: var(--accent);
}

.portal-loading {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
}

.portal-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: portal-spin .7s linear infinite;
  margin: 0 auto 14px;
}

@keyframes portal-spin { to { transform: rotate(360deg); } }

@media (max-width: 480px) {
  .portal-card { padding: 36px 24px; }
}
