/* Olé Sticker Alert - styles */
.olesa-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.25s ease;
  font-family: Arial, Helvetica, sans-serif;
}
.olesa-overlay.olesa-open,
.olesa-overlay.olesa-force {
  display: flex;
  opacity: 1;
}

.olesa-modal {
  background: #ffffff;
  border-radius: 10px;
  max-width: 460px;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.olesa-overlay.olesa-open .olesa-modal,
.olesa-overlay.olesa-force .olesa-modal {
  transform: translateY(0);
}

.olesa-header {
  background: #1a1a1a;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--olesa-accent, #e30613);
}
.olesa-brand {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.olesa-logo {
  max-height: 28px;
  width: auto;
  display: block;
}
.olesa-close {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  margin-left: 12px;
  transition: color 0.2s;
}
.olesa-close:hover { color: #fff; }

.olesa-body {
  padding: 26px 28px 24px;
}
.olesa-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.olesa-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--olesa-accent, #e30613);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.olesa-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
}

.olesa-message {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  background: #fff5f5;
  border-left: 3px solid var(--olesa-accent, #e30613);
  padding: 14px 16px;
  margin: 0 0 22px;
}
.olesa-message strong { color: #1a1a1a; }

.olesa-cta {
  width: 100%;
  background: var(--olesa-accent, #e30613);
  color: #fff;
  border: none;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  transition: filter 0.15s, transform 0.05s;
}
.olesa-cta:hover { filter: brightness(0.92); }
.olesa-cta:active { transform: scale(0.98); }

@media (max-width: 520px) {
  .olesa-body { padding: 22px 20px 20px; }
  .olesa-title { font-size: 16px; }
  .olesa-message { font-size: 13.5px; }
}

/* Cuando se usa para preview en BO, el overlay no cubre toda la pantalla */
.olesa-overlay.olesa-force {
  position: relative;
  inset: auto;
  min-height: 540px;
}
