/* =========================================
   [sel_form] Light style (matches site)
========================================= */

.sel-wrap{ display:block; }
.sel-card{ max-width: 720px; margin: 0 auto; }
.sel-row{ display:flex; gap:12px; align-items:center; }

/* Inputs: light glass card look */
.sel-input{
  width:100%;
  padding:14px 16px;
  border-radius: 14px;

  border:1px solid rgba(28,25,23,0.10);
  background: rgba(255,255,255,0.92);
  color: #1c1917;

  outline:none;
  transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

.sel-input::placeholder{
  color: rgba(87,83,78,0.65);
}

.sel-btn{
  padding:14px 16px;
  border-radius: 999px;
  border: 1px solid rgba(37,99,235,0.22);
  cursor:pointer;

  color:#fff;
  font-weight:700;
  background: linear-gradient(180deg, rgba(56,189,248,1), rgba(37,99,235,1));
  box-shadow: 0 12px 22px rgba(37,99,235,0.22);

  transition: transform 200ms ease, box-shadow 200ms ease, filter 200ms ease;
}

@media (hover:hover){
  .sel-btn:hover{
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(37,99,235,0.28);
  }
}
.sel-btn:active{ transform: translateY(1px); }

.sel-consent{
  margin-top:12px;
  font-size:12px;
  line-height:20px;
  color: rgba(87,83,78,0.75);
}

/* Notes: light */
.sel-note{
  padding:12px 14px;
  border-radius: 14px;
  margin-bottom:14px;
  font-size:13px;
  line-height:20px;
}

.sel-note-success{
  background: rgba(0,138,32,0.10);
  border:1px solid rgba(0,138,32,0.22);
  color: rgba(28,25,23,0.92);
}

.sel-note-error{
  background: rgba(179,45,46,0.10);
  border:1px solid rgba(179,45,46,0.22);
  color: rgba(28,25,23,0.92);
}

@media(max-width:768px){
  .sel-row{ flex-direction:column; align-items:stretch; }
  .sel-btn{ width:100%; }
}

/* Focus states */
.sel-input:focus{
  border-color: rgba(37,99,235,0.35) !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.12) !important;
}


/* =========================================
   Injected Newsletter Modal (Light style)
========================================= */

.cpel-modal{
  position: fixed;
  inset: 0;
  z-index: 999999;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 320ms ease, visibility 0s linear 320ms;
  will-change: opacity;
}

.cpel-modal.is-open{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 240ms ease;
}

/* Backdrop: lighter than before, matches site */
.cpel-modal-backdrop{
  position:absolute;
  inset:0;
  z-index: 1;

  background: rgba(28,25,23,0.46);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  opacity: 0;
  transition: opacity 320ms ease;
}

.cpel-modal.is-open .cpel-modal-backdrop{
  opacity: 1;
}

/* Panel: warm off-white + subtle border */
.cpel-modal-panel{
  position: relative;
  z-index: 2;

  max-width: 720px;
  width: calc(100% - 36px);
  margin: 8vh auto 0;

  background: rgba(250,249,247,0.96);
  border: 1px solid rgba(28,25,23,0.10);
  border-radius: 28px;

  box-shadow: 0 30px 90px rgba(28,25,23,0.20);
  overflow: hidden;

  transform: translateY(18px) scale(0.98);
  opacity: 0;

  transition: transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 320ms ease;
  will-change: transform, opacity;
}

.cpel-modal.is-open .cpel-modal-panel{
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Soft halo inside the panel */
.cpel-modal-panel:before{
  content:"";
  position:absolute;
  inset:-40%;
  background:
    radial-gradient(circle at 50% 20%, rgba(88,80,150,0.10), transparent 60%),
    radial-gradient(circle at 50% 65%, rgba(167,139,250,0.08), transparent 60%);
  filter: blur(70px);
  opacity: 0.9;
  pointer-events:none;
}

/* Close button: light */
.cpel-modal-close{
  position:absolute;
  top: 16px;
  right: 16px;

  width: 42px;
  height: 42px;

  display:flex;
  align-items:center;
  justify-content:center;

  border-radius: 999px;
  border: 1px solid rgba(28,25,23,0.12);
  background: rgba(255,255,255,0.70);

  color: rgba(28,25,23,0.82);
  font-size: 22px;
  line-height: 1;

  cursor:pointer;
  z-index:3;

  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.cpel-modal-close:hover{
  transform: scale(1.05);
  background: rgba(255,255,255,0.92);
  border-color: rgba(28,25,23,0.22);
}

/* Typography like page */
.cpel-modal-header{
  position:relative;
  z-index:2;
  padding: 34px 34px 10px;
  color: rgba(28,25,23,0.92);
}

.cpel-modal-title{
  margin: 0;

  font-family: "Playfair Display", serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: -0.02em;

  color: #1c1917;
}

.cpel-modal-sub{
  margin-top: 10px;

  font-size: 14px;
  line-height: 24px;
  color: rgba(87,83,78,0.85);
}

.cpel-modal-body{
  position:relative;
  z-index:2;
  padding: 0 34px 34px;
}

@media (max-width:768px){
  .cpel-modal-panel{ margin-top: 6vh; border-radius: 22px; }
  .cpel-modal-header{ padding: 26px 22px 8px; }
  .cpel-modal-body{ padding: 0 22px 22px; }
}

/* Fix focus in themes (now light) */
.sel-input,
.sel-input:focus,
.sel-input:active{
  color: #1c1917 !important;
  background: rgba(255,255,255,0.92) !important;
  caret-color: #1c1917 !important;
}

h3.cpel-modal-title{
  text-transform: uppercase;
  letter-spacing: 1px;
}