/* GRAFEIO · Cookie Consent Banner */

#gc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1a1a1a;
  border-top: 3px solid #C4521A;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

#gc-banner.gc-hidden {
  display: none;
}

.gc-text {
  flex: 1;
  font-size: 13px;
  color: #cccccc;
  line-height: 1.6;
  max-width: 680px;
}

.gc-text strong {
  color: #ffffff;
  font-weight: 500;
}

.gc-text a {
  color: #4A7BA5;
  text-decoration: underline;
  cursor: pointer;
}

.gc-text a:hover {
  color: #6A9970;
}

.gc-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.gc-btn {
  padding: 10px 20px;
  font-size: 12px;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  transition: opacity 0.2s;
}

.gc-btn:hover {
  opacity: 0.85;
}

.gc-btn-accept {
  background: #C4521A;
  color: #ffffff;
}

.gc-btn-reject {
  background: transparent;
  color: #888888;
  border: 1px solid #444444;
}

.gc-btn-settings {
  background: transparent;
  color: #4A7BA5;
  border: 1px solid #4A7BA5;
}

/* Modal za nastavitve */
#gc-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

#gc-modal.gc-hidden {
  display: none;
}

.gc-modal-box {
  background: #1a1a1a;
  border: 1px solid #333;
  border-top: 3px solid #C4521A;
  border-radius: 4px;
  padding: 32px;
  max-width: 520px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
}

.gc-modal-title {
  font-size: 18px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 8px;
}

.gc-modal-sub {
  font-size: 12px;
  color: #888;
  margin: 0 0 24px;
  line-height: 1.6;
}

.gc-option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #2a2a2a;
  gap: 16px;
}

.gc-option:last-of-type {
  border-bottom: none;
}

.gc-option-text h4 {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 4px;
}

.gc-option-text p {
  font-size: 11px;
  color: #888;
  margin: 0;
  line-height: 1.5;
}

/* Toggle stikalo */
.gc-toggle {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

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

.gc-toggle-slider {
  position: absolute;
  inset: 0;
  background: #444;
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.2s;
}

.gc-toggle-slider:before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s;
}

.gc-toggle input:checked + .gc-toggle-slider {
  background: #6A9970;
}

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

.gc-toggle input:disabled + .gc-toggle-slider {
  background: #C4521A;
  cursor: not-allowed;
  opacity: 0.8;
}

.gc-modal-buttons {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-end;
}

@media (max-width: 640px) {
  #gc-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }
  .gc-buttons {
    width: 100%;
    flex-wrap: wrap;
  }
  .gc-btn {
    flex: 1;
    text-align: center;
    padding: 10px 12px;
    font-size: 11px;
  }
}
