/* Legal page specific styles */
.legal-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.legal-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: linear-gradient(145deg, #f8f9ff, #f0f2ff);
  border-radius: 20px;
}

.legal-header h1 {
  color: #262553;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.legal-header p {
  color: #666;
  font-size: 1.1rem;
}

/* Metadata Section */
.metadata-section {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(38, 37, 83, 0.1);
  border-left: 4px solid #262553;
  margin-bottom: 2rem;
}

.metadata-section h2 {
  color: #262553;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f0f2ff;
}

.metadata-content p {
  margin-bottom: 0.8rem;
  color: #555;
  line-height: 1.6;
}

.metadata-content strong {
  color: #262553;
  font-weight: 600;
}

.metadata-content a {
  color: #4a3c8c;
  text-decoration: none;
  font-weight: 600;
}

.metadata-content a:hover {
  text-decoration: underline;
}

/* PDF Selector */
.pdf-selector {
  margin-bottom: 2rem;
}

.pdf-selector h2 {
  color: #262553;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.pdf-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.pdf-button {
  padding: 0.8rem 1.5rem;
  background: #f4f6ff;
  color: #262553;
  border: 2px solid #e4e8ff;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pdf-button:hover {
  background: #e8ecff;
  border-color: #262553;
  transform: translateY(-2px);
}

.pdf-button.active {
  background: #262553;
  color: white;
  border-color: #262553;
}

/* PDF Viewer Container */
.pdf-viewer-container {
  background: white;
  padding: 1rem;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(38, 37, 83, 0.1);
  margin-bottom: 2rem;
}

#pdf-viewer {
  width: 100%;
  height: 800px;
  border-radius: 10px;
}

/* Error Message */
.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #ffcdd2;
  margin-top: 2rem;
}

.error-message a {
  color: #c62828;
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
  .legal-container {
    padding: 1rem;
  }
  
  .legal-header {
    padding: 1.5rem;
  }
  
  .legal-header h1 {
    font-size: 2rem;
  }
  
  .metadata-section {
    padding: 1.5rem;
  }
  
  .pdf-buttons {
    flex-direction: column;
  }
  
  .pdf-button {
    width: 100%;
  }
  
  #pdf-viewer {
    height: 600px;
  }
}
