.container {
  margin-top: -70px;
  width: 100%;
}
.page-content {
  padding: 20px; 
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 0 0 20px 20px; 
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.policy-header h1, h1 {
  color: #000;
  margin-bottom: 15px;
  font-size: 2.2em;
  font-weight: bold;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.6),
     1px -1px 0 rgba(255, 255, 255, 0.6),
    -1px  1px 0 rgba(255, 255, 255, 0.6),
     1px  1px 0 rgba(255, 255, 255, 0.6),
     0px 0px 3px rgba(255, 255, 255, 0.4);
}

.policy-header .lead, .lead {
  color: #000;
  font-size: 1.1em;
  margin-bottom: 10px;
  line-height: 1.5;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.3),
     1px -1px 0 rgba(255, 255, 255, 0.3),
    -1px  1px 0 rgba(255, 255, 255, 0.3),
     1px  1px 0 rgba(255, 255, 255, 0.3);
}

.last-updated {
  color: #000;
  font-style: italic;
  font-size: 0.9em;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.3),
     1px -1px 0 rgba(255, 255, 255, 0.3),
    -1px  1px 0 rgba(255, 255, 255, 0.3),
     1px  1px 0 rgba(255, 255, 255, 0.3);
}



/* FAQs Page Styles */
.faqs-container {
  padding: 20px auto;
}

.faq-categories {
  margin-bottom: 30px;
  border-radius: 15px;
  padding: 15px;
}

.policy-navigation {
  margin-bottom: 40px;
}

.toc-container {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(231, 231, 231, 0.8);
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.toc-container h4 {
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
  font-size: 1.3em;
  font-weight: 600;
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.toc-list li {
  margin-bottom: 0;
}

.toc-list a {
  color: #495057;
  text-decoration: none;
  padding: 12px 15px;
  display: block;
  border-radius: 6px;
  transition: all 0.2s ease;
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid rgba(231, 231, 231, 0.8);
  font-weight: 500;
}

.toc-list a:hover {
  background: #007bff;
  color: white;
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,123,255,0.2);
}

.toc-list a.active {
  background: #28a745;
  color: white;
  box-shadow: 0 2px 8px rgba(40,167,69,0.2);
}

.policy-content {
  margin-top: 30px;
}

.policy-section {
  margin-bottom: 40px;
  padding: 25px 30px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(231, 231, 231, 0.8);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.policy-section:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.policy-section h2 {
  color: #2c3e50;
  margin-bottom: 20px;
  border-bottom: 2px solid #007bff;
  padding-bottom: 10px;
  font-size: 1.6em;
  font-weight: 600;
}

.policy-section h2 i {
  color: #007bff;
  margin-right: 10px;
}

.policy-section h3 {
  color: #495057;
  margin: 25px 0 15px 0;
  font-size: 1.2em;
  font-weight: 600;
}

.policy-section h4 {
  color: #6c757d;
  margin: 20px 0 10px 0;
  font-size: 1.1em;
  font-weight: 600;
}

.policy-section ul, .policy-section ol {
  padding-left: 20px;
  margin-bottom: 15px;
}

.policy-section li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.highlight-section {
  background: rgba(248, 249, 250, 0.9);
  border-left: 4px solid #007bff;
  border-radius: 6px;
}

.rights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.right-item {
  padding: 25px 20px;
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid rgba(231, 231, 231, 0.8);
  border-radius: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.right-item:hover {
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  border-color: #007bff;
}

.right-item i {
  font-size: 2.2em;
  color: #007bff;
  margin-bottom: 15px;
}

.right-item h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.1em;
  font-weight: 600;
}

.right-item p {
  color: #6c757d;
  font-size: 0.9em;
  margin: 0;
  line-height: 1.5;
}

.contact-info {
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid rgba(231, 231, 231, 0.8);
  border-radius: 8px;
  padding: 25px;
  margin: 20px 0;
}

.back-to-top {
  text-align: center;
  margin-top: 40px;
}

.back-to-top .btn {
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 1em;
  font-weight: 600;
  background: #007bff;
  border: none;
  box-shadow: 0 2px 10px rgba(0,123,255,0.2);
  transition: all 0.2s ease;
}

.back-to-top .btn:hover {
  background: #0056b3;
  box-shadow: 0 4px 15px rgba(0,123,255,0.3);
  transform: translateY(-1px);
}

.alert {
  padding: 15px;
  margin: 20px 0;
  border-radius: 6px;
  border: 1px solid transparent;
}

.alert i {
  margin-right: 10px;
}

.alert-info {
  background: #d1ecf1;
  color: #0c5460;
  border-color: #bee5eb;
}

.alert-warning {
  background: #fff3cd;
  color: #856404;
  border-color: #ffeaa7;
}

.alert-danger {
  background: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.policy-search-container {
  margin: 20px 0 0 0;
  text-align: center;
}

.policy-search-container input {
  width: 100%;
  max-width: 400px;
  padding: 10px 15px;
  border: 2px solid #007bff;
  border-radius: 25px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.policy-search-container input:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.faqs-search-container {
  margin: 20px 0 0 0;
  text-align: center;
}

.faqs-search-container input {
  width: 100%;
  max-width: 400px;
  padding: 10px 15px;
  border: 2px solid #007bff;
  border-radius: 25px;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.95);
  transition: all 0.2s ease;
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 123, 255, 0.1);
}

.faqs-search-container input:focus {
  border-color: #0056b3;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .policy-container {
    padding: 20px 0;
  }

  .faqs-container {
    padding: 10px;
  }

  .policy-header, .page-header {
    padding: 20px;
  }

  .policy-header h1, .page-header h1 {
    font-size: 1.8em;
  }

  .policy-header .lead, .page-header .lead {
    font-size: 1em;
  }

  .policy-section {
    padding: 20px;
    margin-bottom: 30px;
  }

  .policy-section h2 {
    font-size: 1.4em;
  }

  .policy-section h3 {
    font-size: 1.1em;
  }

  .rights-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .toc-container {
    padding: 20px;
  }

  .toc-list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .toc-list a {
    padding: 10px 12px;
  }

  .faq-categories .nav-pills {
    display: block;
  }

  .faq-categories .nav-pills > li {
    display: block;
    width: 100%;
    margin-bottom: 5px;
  }

  .faq-categories .nav-pills > li > a {
    text-align: center;
  }

  .policy-search-container input,
  .faqs-search-container input {
    max-width: 100%;
    width: 100%;
  }

  .contact-info .row > div {
    margin-bottom: 20px;
  }
}

/* Compact Data Deletion Styles */
.data-del-container.compact {
  padding: 10px 0;
}

.data-del-container.compact .policy-header {
  padding: 15px 0;
  margin-bottom: 15px;
}

.data-del-container.compact .policy-header h1.h3 {
  font-size: 1.5em;
  margin-bottom: 8px;
  text-shadow: none;
}

.data-del-container.compact .small {
  font-size: 0.875em;
  margin-bottom: 5px;
}

.data-del-container.compact .tiny {
  font-size: 0.75em;
}

.data-del-container.compact .policy-navigation {
  margin-bottom: 20px;
}

.data-del-container.compact .policy-navigation .nav-link {
  padding: 8px 15px;
  border-radius: 20px;
  background: rgba(248, 249, 250, 0.9);
  border: 1px solid rgba(231, 231, 231, 0.8);
  color: #495057;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
}

.data-del-container.compact .policy-navigation .nav-link:hover {
  background: #007bff;
  color: white;
  transform: translateY(-1px);
}

.data-del-container.compact .compact-section {
  padding: 15px 20px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(231, 231, 231, 0.8);
  border-radius: 6px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
}

.data-del-container.compact .compact-section h2.h5 {
  font-size: 1.1em;
  margin-bottom: 10px;
  border-bottom: 1px solid #007bff;
  padding-bottom: 5px;
  color: #2c3e50;
}

.data-del-container.compact .compact-section p.small {
  line-height: 1.4;
  margin-bottom: 10px;
}

.data-del-container.compact .compact-section ol.instructions {
  padding-left: 15px;
  margin-bottom: 0;
}

.data-del-container.compact .compact-section ol.instructions li {
  margin-bottom: 5px;
  line-height: 1.4;
}

.data-del-container.compact .alert-sm {
  padding: 10px 15px;
  font-size: 0.875em;
  border-radius: 4px;
}

.data-del-container.compact .compact-form .form-control-sm {
  padding: 8px 12px;
  font-size: 0.875em;
  border-radius: 4px;
}

.data-del-container.compact .compact-form .form-label.small {
  font-size: 0.875em;
  font-weight: 500;
  margin-bottom: 5px;
  color: #495057;
}

.data-del-container.compact .compact-form .btn-sm {
  padding: 8px 16px;
  font-size: 0.875em;
  border-radius: 4px;
}

/* Form width fixes for Bootstrap 3 */
.data-del-form {
  width: 100% !important;
}

.data-del-form .form-group {
  width: 100% !important;
  margin-bottom: 15px;
}

.data-del-form .form-control {
  width: 100% !important;
  max-width: 100% !important;
}

.data-del-form .row {
  width: 100% !important;
  margin-left: -15px;
  margin-right: -15px;
}

.data-del-form .col-md-6,
.data-del-form .col-md-12 {
  width: 100% !important;
  padding-left: 15px;
  padding-right: 15px;
}

.data-del-form .btn {
  width: 100% !important;
}

/* Responsive adjustments for compact design */
@media (max-width: 768px) {
  .data-del-container.compact .policy-navigation .d-flex {
    flex-direction: column;
    gap: 8px !important;
  }
  
  .data-del-container.compact .policy-navigation .nav-link {
    text-align: center;
  }
  
  .data-del-container.compact .compact-section {
    padding: 12px 15px;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .data-del-container.compact .policy-header h1.h3 {
    font-size: 1.3em;
  }
  
  .data-del-container.compact .compact-section {
    padding: 10px 12px;
  }
  
  .data-del-container.compact .compact-section h2.h5 {
    font-size: 1em;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .policy-header, .page-header {
    padding: 15px;
    margin-bottom: 20px;
  }

  .policy-header h1, .page-header h1 {
    font-size: 1.5em;
  }

  .policy-section {
    padding: 15px;
    margin-bottom: 20px;
  }

  .toc-container {
    padding: 15px;
  }

  .toc-list a {
    padding: 8px 10px;
    font-size: 0.9em;
  }

  .policy-search-container input,
  .faqs-search-container input {
    padding: 8px 12px;
    font-size: 14px;
  }
}