/* Legal Pages Standalone Styles */
/* This CSS is specifically for standalone legal pages that need scrolling */

html, body {
  height: auto;
  overflow: auto;  /* Enable scrolling for standalone pages */
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
}

body {
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Card styling for content sections */
.card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.card-body {
  padding: 2rem;
}

/* Typography improvements */
h1 {
  color: #0d6efd;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 3px solid #0d6efd;
  padding-bottom: 1rem;
}

h3 {
  color: #495057;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

p {
  margin-bottom: 1.25rem;
  text-align: justify;
}

ul, ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Link styling */
a {
  color: #0d6efd;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0a58ca;
  text-decoration: underline;
}

/* Back to home button */
.btn-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #0d6efd;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  margin-top: 2rem;
}

.btn-home:hover {
  background: #0a58ca;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
  .container {
    padding: 1rem 0.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Text selection */
::selection {
  background: #0d6efd;
  color: white;
}

/* Focus styles for accessibility */
*:focus {
  outline: 2px solid #0d6efd;
  outline-offset: 2px;
}