/* ===== Mini Money Cookie Consent Banner ===== */
/* Google Consent Mode v2 — dark glass theme */

#mm-consent-overlay {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(5, 7, 13, 0.60);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
#mm-consent-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

#mm-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #F4F7FB;
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
#mm-consent-banner.visible {
  transform: translateY(0);
}

.mm-consent-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 28px 32px 24px;
  background: rgba(10, 15, 28, 0.98);
  border: 1px solid rgba(94, 235, 176, 0.20);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 60px rgba(0, 0, 0, 0.50), 0 0 80px rgba(94, 235, 176, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mm-consent-title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
  letter-spacing: -0.01em;
}

.mm-consent-text {
  font-size: 14px;
  line-height: 1.60;
  color: #B7C2D6;
  margin: 0 0 22px;
  max-width: 660px;
}
.mm-consent-text a {
  color: #5EEBB0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.mm-consent-text a:hover {
  color: #7FF0C4;
}

.mm-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.mm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
  white-space: nowrap;
}
.mm-btn:active { transform: scale(0.97); }

.mm-btn--accept {
  background: linear-gradient(135deg, #5EEBB0 0%, #3DD68C 100%);
  color: #05070d;
  box-shadow: 0 2px 16px rgba(94, 235, 176, 0.25);
}
.mm-btn--accept:hover {
  box-shadow: 0 4px 24px rgba(94, 235, 176, 0.40);
  transform: translateY(-1px);
}

.mm-btn--reject {
  background: rgba(255, 255, 255, 0.08);
  color: #B7C2D6;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.mm-btn--reject:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #F4F7FB;
  border-color: rgba(255, 255, 255, 0.22);
}

.mm-btn--customize {
  background: transparent;
  color: #7C89A3;
  padding: 11px 16px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mm-btn--customize:hover {
  color: #B7C2D6;
}

/* Customize panel */
.mm-consent-customize {
  display: none;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
}
.mm-consent-customize.open {
  display: block;
}

.mm-consent-customize-title {
  font-size: 14px;
  font-weight: 600;
  color: #F4F7FB;
  margin: 0 0 16px;
}

.mm-consent-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.mm-consent-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.mm-consent-option-info {
  flex: 1;
  min-width: 0;
}

.mm-consent-option-label {
  font-size: 13px;
  font-weight: 600;
  color: #E8ECF2;
  margin: 0 0 2px;
}

.mm-consent-option-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #7C89A3;
  margin: 0;
}

/* Toggle switch */
.mm-toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 1px;
}
.mm-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}
.mm-toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.25s ease;
}
.mm-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
}
.mm-toggle input:checked + .mm-toggle-slider {
  background: #5EEBB0;
}
.mm-toggle input:checked + .mm-toggle-slider::before {
  transform: translateX(20px);
}

.mm-toggle--disabled .mm-toggle-slider {
  opacity: 0.45;
  cursor: not-allowed;
}

.mm-consent-customize-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 600px) {
  .mm-consent-inner {
    padding: 22px 20px 20px;
    border-radius: 16px 16px 0 0;
  }
  .mm-consent-title { font-size: 16px; }
  .mm-consent-text { font-size: 13px; margin-bottom: 18px; }
  .mm-consent-actions { flex-direction: column; align-items: stretch; }
  .mm-btn { width: 100%; justify-content: center; padding: 12px 20px; }
}