/* =====================================================
   Gurskio Slapukų Sutikimas Pro – RESUMEntore.lt
   ===================================================== */

:root {
  /* BRAND */
  --gsp-brand: #093969;
  --gsp-brand-dark: #062a4f;
  --gsp-accent: #2fb7ff;

  /* TEXT */
  --gsp-text: #3a4a5a;
  --gsp-muted: #5e6e7e;

  /* STRUCTURE */
  --gsp-bg: #ffffff;
  --gsp-soft-bg: #f5f8fc;
  --gsp-border: #e5edf5;
}

.gsp-hidden {
  display: none !important;
}

/* ===============================
   BANERIS
   =============================== */
.gsp-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 999999;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;

  background: var(--gsp-bg);
  color: var(--gsp-text);
  border: 1px solid var(--gsp-border);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(9, 57, 105, 0.15);

  padding: 16px 20px;
  padding-right: 52px;

  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13.5px;
  line-height: 1.5;
}

/* TEXT */
.gsp-banner__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-width: 72%;
}

.gsp-banner__text strong {
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--gsp-brand);
}

.gsp-banner__text span {
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  color: var(--gsp-muted);
}

/* LINKS */
.gsp-link {
  color: var(--gsp-accent);
  text-decoration: underline;
}
.gsp-link:hover {
  text-decoration: none;
}

/* ===============================
   MYGTUKAI
   =============================== */
.gsp-banner__actions {
  display: flex;
  gap: 8px;
}

.gsp-btn {
  border-radius: 5px !important;
  padding: 10px 18px !important;

  font-family: "Quicksand", Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;

  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease,
    transform 0.08s ease;
}

.gsp-btn:active {
  transform: scale(0.98);
}

.gsp-btn--primary {
  background: var(--gsp-brand) !important;
  border: 1px solid var(--gsp-brand) !important;
  color: #fff !important;
}
.gsp-btn--primary:hover {
  background: var(--gsp-brand-dark) !important;
}

.gsp-btn--secondary,
.gsp-btn--ghost {
  background: transparent !important;
  border: 1px solid var(--gsp-brand) !important;
  color: var(--gsp-brand) !important;
}
.gsp-btn--secondary:hover,
.gsp-btn--ghost:hover {
  background: rgba(9, 57, 105, 0.08) !important;
}

/* ===============================
   CLOSE
   =============================== */
.gsp-close {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none !important;
  border: none !important;
  cursor: pointer;
}

.gsp-close::before {
  content: "✕";
  font-size: 18px;
  color: var(--gsp-muted);
}

/* ===============================
   MODAL
   =============================== */
.gsp-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 57, 105, 0.45);
  z-index: 999998;
}

.gsp-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 999999;

  width: min(720px, 92vw);
  background: var(--gsp-bg);
  border: 1px solid var(--gsp-border);
  border-radius: 12px;

  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

/* HEADER */
.gsp-modal__header {
  padding: 16px 20px;
  background: var(--gsp-soft-bg);
  border-bottom: 1px solid var(--gsp-border);
}

.gsp-modal__header h3 {
  margin: 0;
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--gsp-brand);
}

/* BODY */
.gsp-modal__body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* FOOTER */
.gsp-modal__footer {
  padding: 16px 20px;
  background: var(--gsp-soft-bg);
  border-top: 1px solid var(--gsp-border);
}

/* CATEGORY */
.gsp-cat {
  background: #fff;
  border: 1px solid var(--gsp-border);
  border-radius: 10px;
  padding: 14px 16px;
}

.gsp-cat__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.gsp-cat__head strong {
  font-family: "Quicksand", Arial, sans-serif;
  font-weight: 600;
  color: var(--gsp-brand);
}

.gsp-cat p {
  margin-top: 6px;
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 13px;
  color: var(--gsp-muted);
}

/* === SWITCH */
.gsp-switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex-shrink: 0;
}

.gsp-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.gsp-slider {
  position: absolute;
  inset: 0;
  background: #d1d5db;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gsp-slider::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.gsp-switch input:checked + .gsp-slider {
  background: var(--gsp-brand);
}

.gsp-switch input:checked + .gsp-slider::before {
  transform: translateX(20px);
}

/* ===============================
   MOBILE
   =============================== */
@media (max-width: 900px) {
  .gsp-banner {
    flex-direction: column;
  }

  .gsp-banner__text {
    max-width: 100%;
  }

  .gsp-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  #gsp-accept-all {
    order: 1;
  }
  #gsp-reject-all {
    order: 2;
  }
  #gsp-open-settings {
    order: 3;
  }
}
