/* =============================================
   PRIVACY & LEGAL PAGE STYLES
   ============================================= */

/* Contact Info */
.contact-info {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  margin: 20px 0;
}

.contact-info p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-icon {
  width: 20px;
  text-align: center;
}

/* Legal Notice Specific Styles */
.legal-section {
  margin-bottom: 2rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-section h3 {
  color: white;
  margin: 1.5rem 0 1rem;
  font-size: 1.4rem;
  border-left: 4px solid var(--primary);
  padding-left: 15px;
}

.legal-section p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-section ul,
.legal-section ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.legal-section li {
  margin-bottom: 0.5rem;
}

.disclaimer {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
}

.disclaimer h4 {
  color: #ffc107;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eu-dispute-resolution {
  background: transparent;
  padding: 20px;
  margin: 20px 0;
}

.eu-dispute-resolution h4 {
  color: var(--primary);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Footer Styles */
.footer {
  text-align: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.7);
  margin-top: 30px;
  font-size: 1rem;
}

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

.footer-content p {
  margin: 0.5rem 0;
}

.footer-links {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-links a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-links a:hover {
  color: white;
  text-decoration: underline;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.5);
}

/* Cookie Settings Styles */
.cookie-settings-section {
  margin: 3rem 0;
}

.cookie-controls {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.current-settings {
  background: rgba(0, 0, 0, 0.2);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
}

.settings-display {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-label {
  font-weight: 600;
  color: white;
}

.setting-value {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
}

.setting-value.active {
  background: var(--success);
  color: white;
}

.setting-value.inactive {
  background: #6B7280;
  color: white;
}

/* Cookie Table Styles */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.cookie-table th {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.cookie-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cookie-table code {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.9rem;
  display: inline;
}

.cookie-table tr:hover {
  background: rgba(255, 255, 255, 0.05);
}

.cookie-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
}

.cookie-badge.necessary {
  background: var(--primary);
}

/* Explanation Box */
.explanation-box {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.explanation-content h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.explanation-points {
  display: grid;
  gap: 1.5rem;
  margin: 2rem 0;
}

.point {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border-left: 4px solid var(--primary);
}

.point h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.point ul {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.point li {
  margin-bottom: 0.25rem;
}

.consent-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* =============================================
   COOKIE CONSENT MODAL STYLES
   ============================================= */
.cookie-consent {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  z-index: 10000 !important;
  display: flex;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  background: rgba(0, 0, 0, 0.7) !important;
  backdrop-filter: blur(5px) !important;
  animation: fadeIn 0.5s ease !important;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.cookie-consent.hiding {
  animation: fadeOut 0.5s ease !important;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.cookie-container {
  background: rgba(30, 42, 56, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  overflow: hidden !important;
  max-width: 800px !important;
  width: 100% !important;
  max-height: 90vh !important;
  display: flex !important;
  flex-direction: column !important;
  margin: auto !important;
}

.cookie-content {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  overflow: hidden !important;
}

.cookie-header {
  background: linear-gradient(90deg, #4361ee 0%, #3a56d4 100%) !important;
  padding: 25px 30px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.cookie-header h3 {
  color: white !important;
  margin: 0 !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
}

.cookie-close {
  background: rgba(255, 255, 255, 0.2) !important;
  border: none !important;
  color: white !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  cursor: pointer !important;
  font-size: 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  flex-shrink: 0 !important;
}

.cookie-close:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.1) !important;
}

.cookie-body {
  padding: 30px !important;
  flex: 1 !important;
  overflow-y: auto !important;
  scrollbar-width: thin !important;
  scrollbar-color: #4361ee rgba(255, 255, 255, 0.1) !important;
}

.cookie-body::-webkit-scrollbar {
  width: 6px !important;
}

.cookie-body::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 3px !important;
}

.cookie-body::-webkit-scrollbar-thumb {
  background: #4361ee !important;
  border-radius: 3px !important;
}

.cookie-body p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 25px !important;
  line-height: 1.7 !important;
  font-size: 1rem !important;
}

.cookie-categories {
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
}

.cookie-category {
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition: all 0.3s ease !important;
}

.cookie-category:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.category-header {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  margin-bottom: 12px !important;
}

.cookie-toggle {
  position: relative !important;
  display: inline-block !important;
  width: 60px !important;
  height: 30px !important;
  flex-shrink: 0 !important;
}

.cookie-toggle input {
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}

.toggle-slider {
  position: absolute !important;
  cursor: pointer !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(255, 255, 255, 0.25) !important;
  transition: .4s !important;
  border-radius: 30px !important;
}

.toggle-slider:before {
  position: absolute !important;
  content: "" !important;
  height: 22px !important;
  width: 22px !important;
  left: 4px !important;
  bottom: 4px !important;
  background-color: white !important;
  transition: .4s !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

.cookie-toggle input:checked+.toggle-slider {
  background-color: #2ecc71 !important;
}

.cookie-toggle input:checked+.toggle-slider:before {
  transform: translateX(30px) !important;
}

.cookie-toggle input:disabled+.toggle-slider {
  background-color: #4361ee !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}

.cookie-toggle input:disabled+.toggle-slider:before {
  background-color: #f0f0f0 !important;
}

.category-info {
  flex: 1 !important;
}

.category-info strong {
  color: white !important;
  font-size: 1.1rem !important;
  display: block !important;
  margin-bottom: 4px !important;
}

.category-status {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

.category-description {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.95rem !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

.cookie-footer {
  padding: 25px 30px !important;
  background: rgba(0, 0, 0, 0.3) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  flex-shrink: 0 !important;
}

.cookie-buttons {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  gap: 15px !important;
  margin-bottom: 20px !important;
}

.btn-cookie {
  padding: 15px 20px !important;
  border: none !important;
  border-radius: 10px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

.btn-cookie-necessary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-cookie-necessary:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

.btn-cookie-reject {
  background: rgba(231, 76, 60, 0.15) !important;
  color: #ff6b6b !important;
  border: 1px solid rgba(231, 76, 60, 0.3) !important;
}

.btn-cookie-reject:hover {
  background: rgba(231, 76, 60, 0.25) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(231, 76, 60, 0.2) !important;
}

.btn-cookie-accept {
  background: linear-gradient(90deg, #4361ee, #3a56d4) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.btn-cookie-accept:hover {
  background: linear-gradient(90deg, #3a56d4, #4361ee) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.3) !important;
}

.cookie-links {
  display: flex !important;
  gap: 25px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}

.cookie-link {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  transition: color 0.3s ease !important;
}

.cookie-link:hover {
  color: white !important;
}

/* =============================================
   RESPONSIVE ADJUSTMENTS FOR NEW STYLES
   ============================================= */
@media (max-width: 768px) {
  .cookie-consent {
    align-items: center !important;
    justify-content: center !important;
    padding: 15px !important;
  }

  .cookie-buttons {
    grid-template-columns: 1fr !important;
  }

  .cookie-container {
    max-height: 95vh !important;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }

  .cookie-controls {
    flex-direction: column;
  }

  .cookie-controls .btn {
    width: 100%;
  }
}