/* FormChase Legal Pages - Plain Professional Style */

:root {
  --text: #000000;
  --text-secondary: #333333;
  --bg: #ffffff;
  --border: #cccccc;
  --max-width: 800px;
}

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

html {
  font-size: 16px;
}

body {
  font-family: 'Times New Roman', Georgia, serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  padding: 0;
  margin: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}

/* Header */
header {
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
}

header .container {
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 0.5rem;
}

.lang-switch a {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--text-secondary);
}

.lang-switch a.active {
  font-weight: 700;
  color: var(--text);
  text-decoration: underline;
}

.lang-switch a:hover {
  text-decoration: underline;
}

/* Typography */
h1 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}

h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
}

p {
  margin-bottom: 0.75rem;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Lists */
ul, ol {
  margin: 0.75rem 0;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.35rem;
}

/* Links */
a {
  color: var(--text);
  text-decoration: underline;
}

a:hover {
  color: var(--text-secondary);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

th, td {
  padding: 0.5rem 0.75rem;
  text-align: left;
  border: 1px solid var(--border);
}

th {
  font-weight: 700;
}

/* Disclaimer and contact boxes - plain style */
.disclaimer {
  border: 1px solid var(--border);
  padding: 1rem;
  margin: 1rem 0;
}

.disclaimer strong {
  display: block;
  margin-bottom: 0.5rem;
}

.contact-box {
  border: 1px solid var(--border);
  padding: 1rem;
  margin: 1rem 0;
}

.contact-box p {
  margin: 0.25rem 0;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
}

.button-link {
  display: inline-block;
  border: 1px solid var(--text);
  padding: 0.6rem 0.85rem;
  color: var(--bg);
  background: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.button-link.secondary {
  color: var(--text);
  background: var(--bg);
}

.button-link:hover {
  color: var(--bg);
  background: var(--text-secondary);
}

.button-link.secondary:hover {
  color: var(--text);
  background: #f5f5f5;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.portal-card {
  border: 1px solid var(--border);
  padding: 1rem;
}

.portal-card h3 {
  margin-top: 0;
}

/* Footer */
footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

footer nav {
  margin-top: 0.75rem;
}

footer nav a {
  margin: 0 0.75rem;
  color: var(--text-secondary);
}

/* Mobile responsive */
@media (max-width: 640px) {
  .container {
    padding: 1.5rem 1rem 2rem;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.125rem;
  }

  table {
    font-size: 0.8rem;
  }

  .quick-actions {
    display: block;
  }

  .button-link {
    display: block;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  .portal-grid {
    grid-template-columns: 1fr;
  }

  th, td {
    padding: 0.35rem 0.5rem;
  }
}

/* Print styles */
@media print {
  header, .lang-switch {
    display: none;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  body {
    font-size: 12pt;
  }
}
