/* Masurian Gold Cookie Consent – Frontend CSS */

#mg-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #ffffff;
  border-top: 3px solid #C8860A;
  box-shadow: 0 -4px 32px rgba(28,59,42,0.18);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}
#mg-cookie-banner.mg-cookie-show { transform: translateY(0); }
#mg-cookie-banner.mg-cookie-hide { transform: translateY(100%); }

.mg-cb-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
}

.mg-cb-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.mg-cb-content { flex: 1; min-width: 0; }

.mg-cb-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1C3B2A;
  margin: 0 0 6px 0;
}

.mg-cb-text {
  font-size: 0.82rem;
  color: #5A4A3A;
  line-height: 1.6;
  margin: 0;
}

.mg-cb-link {
  color: #C8860A;
  text-decoration: underline;
  font-weight: 600;
}
.mg-cb-link:hover { color: #E8A020; }

.mg-cb-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-items: center;
}

.mg-cb-btn {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  white-space: nowrap;
  line-height: 1;
}

.mg-cb-btn-accept {
  background: #1C3B2A;
  color: #ffffff;
}
.mg-cb-btn-accept:hover {
  background: #2A5240;
  transform: translateY(-1px);
}

.mg-cb-btn-deny {
  background: transparent;
  color: #5A4A3A;
  border: 1.5px solid rgba(28,59,42,0.25);
}
.mg-cb-btn-deny:hover {
  border-color: #1C3B2A;
  color: #1C3B2A;
  background: transparent;
}

@media (max-width: 768px) {
  .mg-cb-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 16px;
  }
  .mg-cb-icon { display: none; }
  .mg-cb-actions {
    width: 100%;
    flex-direction: row-reverse;
  }
  .mg-cb-btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    justify-content: center;
  }
}
