:root {
  --primary: #FF0000;
  --primary-dark: #CC0000;
  --primary-light: #FF6666;
  --secondary: #0066FF;
  --secondary-dark: #0052CC;
  --background: #ffffff;
  --surface: #f8f9fa;
  --text-primary: #2c3e50;
  --text-secondary: #7f8c8d;
  --border: #ecf0f1;
  --success: #27ae60;
  --warning: #f39c12;
  --error: #FF0000;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  -webkit-text-size-adjust: 100%;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--text-primary);
  line-height: 1.6;
}

/* Header & Navigation moved to ../shared/topbar-admin-sync.css */

.content {
  min-height: calc(100vh - 64px);
  display: flex;
  flex-direction: column;
}

.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 60px 32px;
  text-align: center;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-text {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.lede {
  margin-top: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.page-header h1 {
  font-size: 42px;
  margin: 0;
}

.page-content {
  flex-grow: 1;
  padding: 48px 32px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.placeholder {
  background: var(--surface);
  border: 2px dashed var(--border);
  border-radius: 8px;
  padding: 60px;
  text-align: center;
  color: var(--text-secondary);
  font-size: 18px;
}

.placeholder.error {
  border-color: rgba(255, 0, 0, 0.2);
  color: var(--error);
}

.info-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.filter {
  display: grid;
  grid-template-columns: auto minmax(280px, 1fr);
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #5f6f82;
  font-weight: 500;
  width: 100%;
}

.filter select {
  min-width: 0;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--text-primary);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter select:focus {
  border-color: rgba(255, 0, 0, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.12);
}

.contact-root {
  width: 100%;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(20, 32, 54, 0.06);
  padding: 22px;
}

.contact-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf2f7;
}

.contact-head h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.muted {
  color: var(--text-secondary);
  margin-top: 6px;
  font-size: 15px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.contact-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 164px;
}

.contact-item .label {
  color: #6c7a8a;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.contact-item strong,
.contact-item a {
  color: var(--text-primary);
  font-size: 17px;
  line-height: 1.45;
  text-decoration: none;
}

.contact-item strong {
  font-size: 19px;
  line-height: 1.35;
}

.contact-item a:hover {
  color: var(--primary);
}

/* ============== Footer ============== */
.footer {
  background: var(--text-primary);
  color: white;
  padding: 60px 32px 24px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: none;
  width: 100%;
  margin: 0 0 40px;
}

.footer-col h4 {
  margin-bottom: 16px;
  font-size: 16px;
}

.footer-col p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 14px;
}

/* ============== Responsive Design ============== */
@media (max-width: 900px) {
/* Profile dropdown mobile */
.page-header {
    padding: 40px 20px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-content {
    padding: 34px 20px;
  }

  .placeholder {
    padding: 40px;
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 900px) {
  .filter {
    width: 100%;
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 6px;
  }

  .filter select {
    min-width: 0;
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
.brand-text {
    font-size: 16px;
  }

  .page-header {
    padding: 30px 16px;
  }

  .page-header h1 {
    font-size: 22px;
  }

  .page-content {
    padding: 30px 16px;
  }

  .info-controls {
    padding: 12px;
    border-radius: 10px;
  }

  .contact-card {
    padding: 16px;
  }

  .contact-head h3 {
    font-size: 25px;
  }

  .contact-item {
    min-height: 0;
  }

  .placeholder {
    padding: 30px;
    font-size: 16px;
  }

  .footer {
    padding: 40px 16px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-col h4 {
    font-size: 14px;
  }

  .footer-col p,
  .footer-col a {
    font-size: 13px;
  }
}
