/* ══════════════════════════════════════
   46HİZMET — Cookie Consent Banner
   ══════════════════════════════════════ */

/* ── Banner kapsayıcı ── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #fff;
  border-top: 3px solid var(--primary, #e60000);
  box-shadow: 0 -4px 32px rgba(0,0,0,.14);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#cookie-banner.show {
  transform: translateY(0);
}

#cookie-banner.hide {
  transform: translateY(110%);
}

/* ── İkon ── */
.cookie-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

/* ── İçerik ── */
.cookie-content {
  flex: 1;
  min-width: 0;
}

.cookie-content strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 4px;
}

.cookie-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.55;
  margin: 0;
}

.cookie-content a {
  color: var(--primary, #e60000);
  text-decoration: underline;
  font-weight: 600;
}

/* ── Buton grubu ── */
.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  background: var(--primary, #e60000);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s, transform .15s;
}

.btn-cookie-accept:hover {
  background: #c40000;
  transform: translateY(-1px);
}

.btn-cookie-decline {
  background: transparent;
  color: #777;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 8px 22px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}

.btn-cookie-decline:hover {
  border-color: #aaa;
  color: #333;
}

/* ── Responsive ── */
@media (max-width: 600px) {
  #cookie-banner {
    flex-direction: column;
    padding: 16px 16px 20px;
    gap: 12px;
  }

  .cookie-actions {
    flex-direction: row;
    width: 100%;
  }

  .btn-cookie-accept,
  .btn-cookie-decline {
    flex: 1;
    text-align: center;
  }
}
