/* ══════════════════════════════════════════
   GDPR / Cookie Consent Banner
   ══════════════════════════════════════════ */

.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.35);
  direction: ltr;
  text-align: left;
  font-family: 'Vazirmatn', 'Inter', 'Segoe UI', sans-serif;
}

.gdpr-banner.hidden {
  display: none !important;
}

.gdpr-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Cookie icon */
.gdpr-icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(255, 196, 57, 0.4));
}

/* Text area */
.gdpr-text {
  flex: 1;
  min-width: 220px;
}

.gdpr-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}

.gdpr-msg {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 0;
}

/* Actions row */
.gdpr-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.gdpr-link {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.50);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.gdpr-link:hover {
  color: rgba(255, 255, 255, 0.85);
}

/* Buttons */
.gdpr-btn {
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  font-family: inherit;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.gdpr-btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.75);
}

.gdpr-btn-outline:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

.gdpr-btn-primary {
  background: linear-gradient(135deg, #DC3545, #b02a37);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(220, 53, 69, 0.40);
}

.gdpr-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.60);
  background: linear-gradient(135deg, #e84050, #DC3545);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .gdpr-inner {
    padding: 14px 16px;
    gap: 14px;
  }

  .gdpr-icon {
    display: none;
  }

  .gdpr-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .gdpr-msg {
    font-size: 0.78rem;
  }
}
