/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px 12px 0 0;
  padding: 12px 20px;
  box-shadow: 0 -10px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
  border-bottom: none;
  width: 100%;
  max-width: 100%;
  animation: slideUp 0.5s ease-out;
  pointer-events: auto;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  pointer-events: auto;
}

.cookie-consent-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: auto;
}

.cookie-consent-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #00C9E0 0%, #0097A7 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.cookie-consent-text h4 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.3;
}

.cookie-consent-text p {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
}

.cookie-consent-link {
  color: #00C9E0;
  text-decoration: none;
  font-weight: 500;
}

.cookie-consent-link:hover {
  text-decoration: underline;
}

.cookie-consent-link-btn {
  background: none;
  border: none;
  color: #00C9E0;
  text-decoration: underline;
  font-weight: 500;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
  font-family: inherit;
  position: relative;
  z-index: 1;
}

.cookie-consent-link-btn:hover {
  opacity: 0.8;
}

.cookie-consent-link-btn:active {
  opacity: 0.6;
}

.cookie-consent-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  white-space: nowrap;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

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

.cookie-btn-customize:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #00C9E0 0%, #0097A7 100%);
  color: white;
}

.cookie-btn-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,201,224,0.3);
}

/* Cookie Settings Modal */
.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.cookie-settings-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cookie-settings-content {
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-settings-modal.is-open .cookie-settings-content {
  transform: scale(1);
}

.cookie-settings-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.cookie-settings-header h3 {
  color: white;
  font-size: 20px;
  font-weight: 600;
  margin: 0;
}

.cookie-settings-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cookie-settings-close:hover {
  background: rgba(255,255,255,0.2);
}

.cookie-settings-body {
  padding: 24px;
}

.cookie-setting-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cookie-setting-item:first-child {
  padding-top: 0;
}

.cookie-setting-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cookie-setting-info {
  flex: 1;
}

.cookie-setting-info h4 {
  color: white;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.cookie-setting-info p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}

/* Toggle Switch */
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

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

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255,255,255,0.2);
  transition: 0.3s;
  border-radius: 34px;
}

.cookie-toggle-slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: linear-gradient(135deg, #00C9E0 0%, #0097A7 100%);
}

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

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-settings-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: flex-end;
}

/* Tablet Responsive */
@media (max-width: 992px) {
  .cookie-consent {
    padding: 12px 16px;
  }

  .cookie-consent-inner {
    gap: 12px;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .cookie-consent {
    padding: 12px 16px;
  }

  .cookie-consent-inner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    flex-wrap: wrap;
  }

  .cookie-consent-content {
    flex-direction: column;
    align-items: center;
  }

  .cookie-consent-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .cookie-consent-text h4 {
    font-size: 14px;
  }

  .cookie-consent-text p {
    font-size: 11px;
  }

  .cookie-consent-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .cookie-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Privacy Modal Styles */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
}

.privacy-modal.is-open {
  display: flex;
}

.privacy-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(5px);
}

.privacy-modal-content {
  position: relative;
  background: rgba(10, 22, 40, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  animation: modalSlideUp 0.3s ease-out;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.privacy-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.privacy-modal-header h3 {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.privacy-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.privacy-modal-close:hover {
  background: rgba(255,255,255,0.2);
}

.privacy-modal-body {
  padding: 24px;
  overflow-y: auto;
  flex: 1;
}

.privacy-section {
  margin-bottom: 20px;
}

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

.privacy-section h4 {
  color: #00C9E0;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
}

.privacy-section p, .privacy-section ul {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

.privacy-section ul {
  padding-left: 20px;
}

.privacy-section li {
  margin-bottom: 8px;
}

.privacy-section li strong {
  color: white;
}

.privacy-cookies-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  margin-top: 10px;
}

.privacy-cookies-table th {
  text-align: left;
  padding: 10px 12px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.privacy-cookies-table td {
  padding: 10px 12px;
  color: rgba(255,255,255,0.8);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.privacy-cookies-table code {
  background: rgba(255,255,255,0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: #00C9E0;
  font-family: monospace;
}

.privacy-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.privacy-full-link {
  color: #00C9E0;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.privacy-full-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.privacy-actions {
  display: flex;
  gap: 10px;
}

.privacy-btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.privacy-btn:hover {
  transform: translateY(-2px);
}

.privacy-btn-decline {
  background: rgba(255,255,255,0.1);
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}

.privacy-btn-decline:hover {
  background: rgba(255,255,255,0.15);
}

.privacy-btn-accept {
  background: linear-gradient(135deg, #00C9E0 0%, #0097A7 100%);
  color: white;
}

.privacy-btn-accept:hover {
  box-shadow: 0 8px 20px rgba(0,201,224,0.3);
}

@media (max-width: 600px) {
  .privacy-modal-content {
    width: 95%;
    max-height: 90vh;
  }

  .privacy-modal-header, .privacy-modal-body, .privacy-modal-footer {
    padding: 16px 20px;
  }

  .privacy-modal-footer {
    flex-direction: column;
  }

  .privacy-actions {
    width: 100%;
  }

  .privacy-btn {
    flex: 1;
  }
}
