:root {
  /* Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8f9fa;
  --bg-card: #ffffff;
  --accent-color: #2b3990; /* Royal Blue from Logo */
  --accent-hover: #1e2868;
  --text-primary: #111111;
  --text-secondary: #444444;
  --text-muted: #777777;
  --border-color: #dddddd;
  --border-focus: #2b3990;
  
  /* Fonts */
  --font-family: Arial, Helvetica, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header & Navigation */
header {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  padding: 0.25rem 0;
}

nav a:hover, nav a.active {
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
}

/* Main Container */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Form Section & Typography */
.form-section {
  width: 100%;
  max-width: 500px;
  text-align: left;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

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

/* Cards & Forms */
.card {
  background-color: var(--bg-card);
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 2rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: bold;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.input-wrapper {
  position: relative;
}

input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 0.75rem;
  color: var(--text-primary);
  font-family: var(--font-family);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}

input:focus {
  border-color: var(--border-focus);
}

input::placeholder {
  color: var(--text-muted);
}

.btn {
  width: 100%;
  background-color: var(--accent-color);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.btn:hover {
  background-color: var(--accent-hover);
}

/* Success State Styles */
.success-state {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.success-icon {
  width: 60px;
  height: 60px;
  background-color: #e6f4ea;
  border: 2px solid #137333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #137333;
  font-size: 2rem;
  font-weight: bold;
}

/* Privacy & Support Layouts */
.doc-section {
  width: 100%;
  max-width: 800px;
}

.doc-card {
  padding: 2.5rem;
}

.doc-header {
  margin-bottom: 2rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.doc-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.lang-btn {
  background-color: #eeeeee;
  border: 1px solid #cccccc;
  color: var(--text-secondary);
  font-family: var(--font-family);
  font-size: 0.85rem;
  font-weight: bold;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background-color: var(--accent-color);
  color: #ffffff;
  border-color: var(--accent-color);
}

/* Document Content Styling */
.doc-content h2 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: bold;
}

.doc-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.doc-content ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.doc-content li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.doc-content strong {
  color: var(--text-primary);
}

/* Support Page Styles */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
}

.contact-card {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-info h3 {
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.contact-link {
  color: var(--accent-color);
  text-decoration: underline;
  font-weight: bold;
}

.contact-link:hover {
  color: var(--accent-hover);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
  padding: 2rem 1.5rem;
  margin-top: auto;
}

.footer-container {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: bold;
}

.footer-links a:hover {
  color: var(--accent-color);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.8rem;
  width: 100%;
  text-align: center;
  margin-top: 1.5rem;
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  main {
    padding: 2rem 1rem;
  }
  
  .card, .doc-card {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  .nav-container {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
  
  nav ul {
    gap: 1rem;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}
