/* Cookie Management System Styles - Dark Theme */

.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  animation: fadeIn 0.3s ease-out;
}

.cookie-banner,
.cookie-panel {
  background-color: #0f2a0f;
  border: 1px solid #1a3d1a;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  font-family: inherit;
  color: #ffffff;
  animation: slideUp 0.3s ease-out;
}

.cookie-banner-content,
.cookie-panel-content {
  padding: 24px;
  font-family: inherit;
}

.cookie-banner h3,
.cookie-panel h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.5em;
  font-weight: 600;
  color: #ffffff;
  font-family: inherit;
}

.cookie-banner p,
.cookie-panel p {
  margin-bottom: 20px;
  line-height: 1.5;
  color: #cccccc;
  font-family: inherit;
}

.cookie-banner-buttons,
.cookie-panel-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.cookie-btn {
  padding: 10px 20px;
  border: 1px solid #0f2a0f;
  border-radius: 4px;
  background-color: #0f2a0f;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  font-family: inherit;
  min-width: 120px;
}

.cookie-btn:hover {
  background-color: #1a3d1a;
  border-color: #1a3d1a;
  color: #ffffff;
}

.cookie-category {
  margin-bottom: 20px;
  padding: 16px;
  border: 1px solid #1a3d1a;
  border-radius: 4px;
  background-color: #0f2a0f;
}

.cookie-category-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
}

.cookie-category-header input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #0f2a0f;
}

.cookie-category-header label {
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
}

.cookie-category p {
  margin: 0;
  font-size: 14px;
  color: #cccccc;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .cookie-banner-content,
  .cookie-panel-content {
    padding: 16px;
  }
  
  .cookie-banner-buttons,
  .cookie-panel-buttons {
    flex-direction: column;
  }
  
  .cookie-btn {
    width: 100%;
  }
  
  .cookie-banner,
  .cookie-panel {
    width: 95%;
    max-height: 90vh;
  }
}

/* Accessibility */
.cookie-btn:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.cookie-category-header input[type="checkbox"]:focus {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}