* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
  /* width: 100vw; */
  height: 100vh; 
  background: linear-gradient(121deg, #f2f4ff 45.31%, #cddeff);
  box-sizing: content-box;
}


.button {
  align-items: center;
  background-color: #2e62d6;
  border: none;
  border-radius: 4.625rem;
  box-sizing: border-box !important;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  flex-wrap: nowrap;
  font-family: Montserrat, sans-serif;
  font-size: .875rem;
  font-weight: 400;
  gap: .75rem;
  height: 3rem;
  justify-content: space-between;
  justify-content: center;
  line-height: normal;
  padding: .75rem 1.5rem;
  text-decoration: none;
  white-space: nowrap;
  width: max-content;
}

.cookie-settings-container {
  width: 100vw;
  height: 100px;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 0;
  right: 0;
  left: 0;
  gap: 1rem;
  z-index: 1000;
  background-color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}

/* DEMO */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  text-align: center;
}

.header h1 {
  font-size: 2.5em;
  margin-bottom: 10px;
}

.header p {
  font-size: 1.1em;
  opacity: 0.9;
}

.section {
  background: white;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.section h2 {
  color: #667eea;
  margin-bottom: 20px;
  font-size: 1.5em;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
}

.button {
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin: 5px;
  transition: background 0.3s;
}

.button:hover {
  background: #5a6fd8;
}

.button.secondary {
  background: #6c757d;
}

.button.secondary:hover {
  background: #5a6268;
}

.button.success {
  background: #28a745;
}

.button.success:hover {
  background: #218838;
}

.input-group {
  margin-bottom: 15px;
}

.input-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #495057;
}

.input-group input, .input-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  font-size: 14px;
}

.status-indicator {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 8px;
}

.status-indicator.online {
  background: #28a745;
}

.status-indicator.offline {
  background: #dc3545;
}

.log-entry {
  background: #f8f9fa;
  border-left: 4px solid #667eea;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
}

.log-entry .timestamp {
  color: #6c757d;
  font-weight: bold;
}

.log-entry .highlight {
  background: #fff3cd;
  padding: 2px 4px;
  border-radius: 3px;
}

.cookie-info {
  background: #e7f3ff;
  border: 1px solid #b8daff;
  border-radius: 5px;
  padding: 15px;
  margin: 15px 0;
}

.cookie-present {
  color: #155724;
  background: #d4edda;
  border-color: #c3e6cb;
}

.cookie-missing {
  color: #6c757d;
  background: #f8f9fa;
  border-color: #dee2e6;
}

.cookie-refused {
  color: #721c24;
  background: #f8d7da;
  border-color: #f5c6cb;
}

.cookie-partial {
  color: #856404;
  background: #fff3cd;
  border-color: #ffeaa7;
}

.cookie-loading {
  color: #004085;
  background: #cce7ff;
  border-color: #99d5ff;
  animation: pulse 1s ease-in-out infinite;
  position: relative;
}

.cookie-loading::before {
  content: '⏳';
  animation: spin 2s linear infinite;
  display: inline-block;
  margin-right: 8px;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

@media (max-width: 1290px) {
  .grid {
      grid-template-columns: 1fr;
  }
}

.response-display {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 15px;
  margin-top: 15px;
  max-height: 400px;
  overflow-y: auto;
}

.explanation {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.explanation h3 {
  color: #856404;
  margin-bottom: 10px;
}

.explanation p {
  color: #856404;
  margin-bottom: 8px;
}