/**
 * Footer and Static Pages Styles for VehicleTrace
 */

/* ============================================
   FOOTER STYLES
   ============================================ */

.site-footer {
  background: #1e293b;
  color: #94a3b8;
  padding: 2rem;
  text-align: center;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-links {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #3b82f6;
  text-decoration: underline;
}

.footer-divider {
  color: #475569;
  margin: 0 1rem;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #64748b;
}

/* ============================================
   STATIC PAGE STYLES
   ============================================ */

.static-page {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #f8fafc;
  z-index: 9000;
  overflow-y: auto;
}

.static-page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.static-page-header {
  margin-bottom: 1.5rem;
}

.static-page-header .btn-back {
  background: #6b7280;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background 0.2s;
}

.static-page-header .btn-back:hover {
  background: #4b5563;
}

.static-page-body {
  background: white;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.static-page-body h1 {
  color: #1e40af;
  margin: 0 0 2rem 0;
  font-size: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
}

.static-page-body h2 {
  color: #1f2937;
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
}

.static-page-body p {
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.static-page-body a {
  color: #3b82f6;
  text-decoration: none;
}

.static-page-body a:hover {
  text-decoration: underline;
}

.static-page-body ul {
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 1rem 0;
  padding-left: 1.5rem;
}

.static-page-body li {
  margin-bottom: 0.5rem;
}

.static-page-body li strong {
  color: #1f2937;
}

/* Page Sections */
.page-section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.page-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Contact Section */
.contact-section {
  background: #f0f9ff;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #3b82f6;
  margin-top: 2rem;
}

.contact-section h2 {
  color: #1e40af;
}

/* TOS Page Specific Styles */
.tos-version-info {
  color: #6b7280;
  font-size: 0.9rem;
}

.tos-quick-summary-page {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
}

.tos-quick-summary-page h2 {
  color: #166534;
  margin-bottom: 0.75rem;
}

.tos-quick-summary-page p {
  margin-bottom: 1rem;
}

.tos-quick-summary-page ul {
  margin-bottom: 0;
}

.tos-quick-summary-page li strong {
  color: #166534;
}

.tos-section-page p {
  white-space: pre-line;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .site-footer {
    padding: 1.5rem 1rem;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .footer-divider {
    display: none;
  }
  
  .static-page-content {
    padding: 1rem;
  }
  
  .static-page-body {
    padding: 1.5rem;
  }
  
  .static-page-body h1 {
    font-size: 1.5rem;
  }
  
  .static-page-body h2 {
    font-size: 1.1rem;
  }
}
