@charset "UTF-8";
/* CSS Document */
/* === SHINE ESTUDI CREATIU – COOKIE BANNER (COMÚ CA/ES) === */
/* Diseño limpio, fondo blanco y línea superior corporativa */

#cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  width: 100%;
  background: #fff;
  color: #333;
  border-top: 4px solid #f9d53e; /* línea superior corporativa */
  padding: 18px 12px;
  z-index: 9999;
  font-family: 'Antonio', Arial, sans-serif;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}

.cc-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.cc-text h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #222;
}

.cc-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.cc-text a {
  color: #555;
  text-decoration: underline;
}

.cc-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.cc-btn {
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  padding: 7px 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #ccc;
  background: #f8f8f8;
  color: #333;
}

.cc-btn:hover { background: #eee; }

.cc-btn.cc-accept {
  background: #f7aa06;
  color: #fff;
  border: none;
}

.cc-btn.cc-accept:hover { background: #e99a00; }

/* === MODAL CONFIGURACIÓN === */
.cc-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s ease, visibility .3s ease;
  z-index: 10000;
}

.cc-modal.active {
  visibility: visible;
  opacity: 1;
}

.cc-modal-content {
  background: #fff;
  color: #222;
  border-radius: 10px;
  padding: 24px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.cc-modal-content h3 {
  margin-top: 0;
  color: #f7aa06;
  text-align: center;
}

.cc-modal-content label {
  font-weight: 600;
  display: block;
  margin-top: 12px;
}

.cc-note {
  margin: 4px 0 8px 0;
  font-size: 13px;
  color: #666;
}

.cc-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.cc-btn.cc-save {
  background: #f7aa06;
  color: #fff;
  border: none;
}

.cc-btn.cc-save:hover { background: #e99a00; }

.cc-btn.cc-cancel {
  background: #eee;
  color: #222;
}

/* === BOTÓN FIJO === */
#cc-manage {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #f7aa06;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 10px 14px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Antonio', Arial, sans-serif;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
  z-index: 9998;
}

#cc-manage:hover { background: #e99a00; }

@media (max-width: 720px) {
  .cc-container {
    flex-direction: column;
    text-align: center;
  }
  .cc-buttons {
    justify-content: center;
  }
}

