/* Legal Pages Centralized CSS
   This file provides consistent styling for all legal-related pages:
   - Privacy Policy
   - Cookie Preferences
   - Terms of Use
   - Legal Disclosure
   - Copyright
   - Trademark
   - Newsletter
*/

/* Main Container Structure */
.legal-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    font-family: 'Arial', sans-serif;
  }
  
  .legal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Typography */
  .legal-content h1 {
    color: #222;
    font-size: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f0f0;
  }
  
  .legal-content h2 {
    color: #444;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .legal-content h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0.75rem;
    height: 0.75rem;
    background-color: #3a86ff;
    border-radius: 50%;
  }
  
  .legal-content h3 {
    color: #555;
    font-size: 1.25rem;
    margin: 1.25rem 0 0.75rem;
  }
  
  .legal-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  
  .legal-content a {
    color: #3a86ff;
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  .legal-content a:hover {
    color: #1c65cc;
    text-decoration: underline;
  }
  
  .last-updated {
    color: #888;
    font-style: italic;
    font-size: 0.9rem;
    margin-bottom: 2rem;
  }
  
  /* Lists */
  .legal-content ul, 
  .legal-content ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #666;
  }
  
  .legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
  }
  
  /* Sections */
  .legal-section {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .legal-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  
  /* Company Info Section */
  .company-info {
    background-color: #f9f9f9;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
  }
  
  .company-info p {
    margin-bottom: 1rem;
  }
  
  .company-info p:last-child {
    margin-bottom: 0;
  }
  
  /* Cookie Preferences Page Specific */
  .cookie-toggle {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 6px;
  }
  
  .toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    margin-right: 1rem;
  }
  
  .toggle input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    border-radius: 24px;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #3a86ff;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #3a86ff;
  }
  
  input:checked + .slider:before {
    transform: translateX(26px);
  }
  
  .toggle-info {
    flex: 1;
  }
  
  .toggle-info h3 {
    margin: 0 0 0.25rem;
  }
  
  .toggle-info p {
    margin: 0;
    font-size: 0.9rem;
  }
  
  .save-preferences {
    background-color: #3a86ff;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: block;
    margin: 1.5rem 0;
  }
  
  .save-preferences:hover {
    background-color: #1c65cc;
  }
  
  /* Trademark Page Specific */
  .trademark-list {
    list-style-type: none;
    margin-left: 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 6px;
  }
  
  .trademark-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
  }
  
  .trademark-list li:before {
    content: '™';
    position: absolute;
    left: 0;
    top: 0.5rem;
    color: #3a86ff;
  }
  
  .trademark-list li:last-child {
    border-bottom: none;
  }
  
  /* Newsletter Page Specific */
  .newsletter-intro {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .newsletter-form {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .form-group {
    margin-bottom: 1.5rem;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #444;
  }
  
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  .checkbox-group,
  .radio-group {
    margin-top: 0.5rem;
  }
  
  .checkbox-label,
  .radio-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: normal;
    cursor: pointer;
  }
  
  .checkbox-label input,
  .radio-label input {
    margin-right: 0.5rem;
    vertical-align: middle;
  }
  
  .required {
    color: #e74c3c;
  }
  
  .consent-group {
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 4px;
  }
  
  .consent-label {
    display: flex;
    align-items: flex-start;
  }
  
  .consent-label input {
    margin-top: 0.25rem;
    margin-right: 0.75rem;
  }
  
  .privacy-notice {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
  }
  
  .subscribe-button {
    background-color: #3a86ff;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
    margin-top: 1rem;
  }
  
  .subscribe-button:hover {
    background-color: #1c65cc;
  }
  
  .newsletter-archive {
    margin-top: 1.5rem;
  }
  
  .archive-item {
    background-color: #f9f9f9;
    padding: 1.25rem;
    border-radius: 6px;
    margin-bottom: 1rem;
  }
  
  .archive-item h3 {
    margin-top: 0;
    color: #333;
  }
  
  .archive-item p {
    margin: 0.5rem 0;
  }
  
  .view-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
  }
  
  /* Active state for footer links */
  .footer-bottom a.active {
    font-weight: bold;
    color: #3a86ff;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .legal-content {
      padding: 1.5rem;
    }
    
    .legal-content h1 {
      font-size: 1.75rem;
    }
    
    .legal-content h2 {
      font-size: 1.35rem;
    }
    
    .cookie-toggle {
      flex-direction: column;
      align-items: flex-start;
    }
    
    .toggle {
      margin-bottom: 1rem;
    }
  }
  
  @media (max-width: 480px) {
    .legal-content {
      padding: 1rem;
    }
    
    .legal-content h1 {
      font-size: 1.5rem;
    }
    
    .legal-content h2 {
      font-size: 1.25rem;
      padding-left: 1.25rem;
    }
    
    .subscribe-button {
      padding: 0.75rem 1.5rem;
    }
  }