/* ==========================================================================
   Brevo Content Lock – frontend styly
   ========================================================================== */

.bcl-locked-wrapper {
  position: relative;
  margin: 2em 0;
  border-radius: 8px;
  overflow: hidden;
}

/* Overlay – viditelná část (formulář) */
.bcl-lock-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #f8f9ff 0%, #eef1fb 100%);
  border: 1px solid #d4daf5;
  border-radius: 8px;
  text-align: center;
}

/* Zámek ikona */
.bcl-lock-icon svg {
  width: 40px;
  height: 40px;
  color: #5a68d8;
  display: block;
  margin: 0 auto;
}

/* Zpráva */
.bcl-lock-message {
  margin: 0;
  font-size: 1rem;
  color: #3d3d5c;
  max-width: 400px;
}

/* Formulář */
.bcl-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  width: 100%;
  max-width: 460px;
}

.bcl-email-input {
  flex: 1 1 220px;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  border: 1.5px solid #b0b9e8;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.15s;
  background: #fff;
  color: #111;
}

.bcl-email-input:focus {
  border-color: #5a68d8;
  box-shadow: 0 0 0 3px rgba(90, 104, 216, 0.18);
}

.bcl-submit-btn {
  flex: 0 0 auto;
  padding: 0.6rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  background: #5a68d8;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
  white-space: nowrap;
}

.bcl-submit-btn:hover:not(:disabled) {
  background: #4452c0;
}

.bcl-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Stavové zprávy */
.bcl-status {
  font-size: 0.875rem;
  min-height: 1.2em;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}

.bcl-status--error {
  color: #b91c1c;
  background: #fee2e2;
}

.bcl-status--success {
  color: #15803d;
  background: #dcfce7;
}

.bcl-status--info {
  color: #1d4ed8;
  background: #dbeafe;
}

/* Odemčený obsah */
.bcl-content-target,
.bcl-unlocked-content {
  animation: bcl-fadein 0.35s ease;
}

@keyframes bcl-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responzivita */
@media (max-width: 480px) {
  .bcl-lock-overlay {
    padding: 1.75rem 1rem;
  }

  .bcl-form {
    flex-direction: column;
  }

  .bcl-email-input,
  .bcl-submit-btn {
    width: 100%;
  }
}
