.gsbs-form-section,
.gsbs-panel{
  width:100%;
  box-sizing:border-box;
  font-family:inherit;
}

.gsbs-form-section{
  padding:70px 18px;
  background:linear-gradient(135deg,#071411 0%,#0d251d 50%,#122f25 100%);
}

.gsbs-form-card{
  width:100%;
  max-width:920px;
  margin:70px auto 0 !important;
  padding:38px;
  border-radius:28px;
  background:rgba(255,255,255,.96);
  border:1px solid rgba(255,255,255,.22);
  box-shadow:0 26px 80px rgba(0,0,0,.28);
  box-sizing:border-box;
}

.gsbs-form-header{
  margin-bottom:26px;
}

.gsbs-form-kicker{
  display:inline-block;
  margin-bottom:10px;
  font-size:13px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#1d6b4f;
}

.gsbs-form-header h2,
.gsbs-panel h2{
  margin:0 0 12px;
  font-size:clamp(28px,4vw,44px);
  line-height:1.05;
  color:#071411;
}

.gsbs-form-header p,
.gsbs-panel-head p{
  margin:0;
  font-size:17px;
  line-height:1.65;
  color:#40524b;
}

.gsbs-alert{
  margin:0 0 22px;
  padding:14px 16px;
  border-radius:14px;
  font-size:15px;
  font-weight:700;
}

.gsbs-alert-success{
  background:#e8f8f0;
  color:#12643f;
  border:1px solid rgba(18,100,63,.18);
}

.gsbs-alert-error{
  background:#fff0f0;
  color:#9c1f1f;
  border:1px solid rgba(156,31,31,.18);
}

.gsbs-form{
  display:block;
}

.gsbs-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.gsbs-field{
  margin-bottom:18px;
}

.gsbs-field label,
.gsbs-legal-title{
  display:block;
  margin:0 0 8px;
  font-size:14px;
  font-weight:800;
  color:#13231d;
}

.gsbs-field label span,
.gsbs-legal-title span{
  color:#1d6b4f;
}

.gsbs-field input{
  width:100%;
  min-height:50px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(7,20,17,.18);
  background:#fff;
  color:#111;
  font-size:16px;
  line-height:1.3;
  box-sizing:border-box;
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.gsbs-field input:focus{
  border-color:#1d6b4f;
  box-shadow:0 0 0 4px rgba(29,107,79,.12);
}

.gsbs-legal-box{
  margin:8px 0 24px;
  padding:18px;
  border-radius:18px;
  background:#f5faf7;
  border:1px solid rgba(29,107,79,.16);
}

.gsbs-check{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin:12px 0 0;
  font-size:15px;
  line-height:1.5;
  color:#24362f;
  cursor:pointer;
}

.gsbs-check input{
  margin-top:4px;
  width:18px;
  height:18px;
  flex:0 0 18px;
  accent-color:#1d6b4f;
}

.gsbs-check a{
  color:#1d6b4f;
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

.gsbs-submit{
  width:100%;
  min-height:56px;
  border:0;
  border-radius:18px;
  background:#1d6b4f;
  color:#fff;
  font-size:17px;
  font-weight:900;
  cursor:pointer;
  box-shadow:0 18px 36px rgba(29,107,79,.24);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.gsbs-submit:hover{
  background:#15583f;
  transform:translateY(-1px);
  box-shadow:0 22px 42px rgba(29,107,79,.32);
}

.gsbs-panel{
  padding:42px 18px;
  background:#f6f8f7;
}

.gsbs-panel-head{
  max-width:1500px;
  margin:0 auto 22px;
  padding:26px;
  border-radius:24px;
  background:#fff;
  border:1px solid rgba(7,20,17,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}

.gsbs-export-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.gsbs-export-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 18px;
  border-radius:14px;
  background:#1d6b4f;
  color:#fff !important;
  font-size:15px;
  font-weight:900;
  text-decoration:none !important;
  box-shadow:0 12px 26px rgba(29,107,79,.18);
}

.gsbs-export-btn-dark{
  background:#071411;
}

.gsbs-table-wrap{
  max-width:1500px;
  margin:0 auto;
  overflow:auto;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(7,20,17,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.06);
}

.gsbs-table{
  width:100%;
  border-collapse:collapse;
  min-width:820px;
  font-size:14px;
}

.gsbs-table th{
  position:sticky;
  top:0;
  z-index:1;
  background:#071411;
  color:#fff;
  padding:14px 12px;
  text-align:left;
  white-space:nowrap;
}

.gsbs-table td{
  padding:13px 12px;
  border-bottom:1px solid rgba(7,20,17,.08);
  color:#1d2723;
  vertical-align:top;
}

.gsbs-table tr:hover td{
  background:#f7fbf9;
}

.gsbs-table a{
  color:#1d6b4f;
  font-weight:800;
}

.gsbs-panel-denied{
  padding:18px;
  border-radius:14px;
  background:#fff0f0;
  color:#9c1f1f;
  border:1px solid rgba(156,31,31,.18);
  font-weight:800;
}

@media (max-width:768px){
  .gsbs-form-section{
    padding:40px 12px;
  }

  .gsbs-form-card{
    padding:24px 18px;
    border-radius:22px;
  }

  .gsbs-grid{
    grid-template-columns:1fr;
    gap:0;
  }

  .gsbs-form-header p{
    font-size:15px;
  }

  .gsbs-panel-head{
    align-items:flex-start;
    flex-direction:column;
    padding:22px 18px;
  }

  .gsbs-export-actions,
  .gsbs-export-btn{
    width:100%;
  }
}


/* Oculta el menú/header del tema solo en la página del panel privado */
.gsbs-inscripciones-panel-page header,
.gsbs-inscripciones-panel-page .site-header,
.gsbs-inscripciones-panel-page .main-header,
.gsbs-inscripciones-panel-page .elementor-location-header,
.gsbs-inscripciones-panel-page .elementor-nav-menu,
.gsbs-inscripciones-panel-page .main-navigation,
.gsbs-inscripciones-panel-page .primary-navigation,
.gsbs-inscripciones-panel-page .navigation,
.gsbs-inscripciones-panel-page nav[role="navigation"]{
  display:none !important;
}

.gsbs-inscripciones-panel-page .site-content,
.gsbs-inscripciones-panel-page #content,
.gsbs-inscripciones-panel-page .content-area{
  margin-top:0 !important;
  padding-top:0 !important;
}


/* Separación superior real de la tarjeta del formulario público */
.gsbs-form-section .gsbs-form-card{
  margin-top:70px !important;
}


/* Checkboxes legales reforzados para evitar conflictos con el tema */
.gsbs-check-row{
  display:grid !important;
  grid-template-columns:22px 1fr !important;
  gap:12px !important;
  align-items:start !important;
  margin:14px 0 0 !important;
  position:relative !important;
  z-index:2 !important;
}

.gsbs-check-row input[type="checkbox"]{
  appearance:auto !important;
  -webkit-appearance:checkbox !important;
  position:static !important;
  display:block !important;
  opacity:1 !important;
  visibility:visible !important;
  pointer-events:auto !important;
  width:20px !important;
  height:20px !important;
  min-width:20px !important;
  min-height:20px !important;
  max-width:20px !important;
  max-height:20px !important;
  margin:3px 0 0 0 !important;
  padding:0 !important;
  border:1px solid rgba(7,20,17,.45) !important;
  border-radius:4px !important;
  background:#fff !important;
  cursor:pointer !important;
  accent-color:#1d6b4f !important;
}

.gsbs-check-row label{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  color:#24362f !important;
  font-size:15px !important;
  font-weight:500 !important;
  line-height:1.5 !important;
  cursor:pointer !important;
  pointer-events:auto !important;
}

.gsbs-check-row label a{
  color:#1d6b4f !important;
  font-weight:800 !important;
  text-decoration:underline !important;
  text-underline-offset:3px !important;
}

.gsbs-check-row label strong{
  color:#1d6b4f !important;
}


.gsbs-panel-alert{
  max-width:1500px;
  margin:0 auto 18px;
  padding:14px 18px;
  border-radius:14px;
  font-size:15px;
  font-weight:800;
}

.gsbs-panel-alert-success{
  background:#e8f8f0;
  color:#12643f;
  border:1px solid rgba(18,100,63,.18);
}

.gsbs-delete-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:0 12px;
  border-radius:10px;
  background:#9c1f1f;
  color:#fff !important;
  font-size:13px;
  font-weight:900;
  text-decoration:none !important;
  white-space:nowrap;
}

.gsbs-delete-btn:hover{
  background:#7e1717;
  color:#fff !important;
}


.gsbs-panel-search{
  max-width:1500px;
  margin:0 auto 18px;
  padding:20px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(7,20,17,.08);
  box-shadow:0 12px 34px rgba(0,0,0,.045);
}

.gsbs-panel-search label{
  display:block;
  margin:0 0 10px;
  font-size:14px;
  font-weight:900;
  color:#071411;
}

.gsbs-panel-search-row{
  display:flex;
  gap:10px;
  align-items:center;
}

.gsbs-panel-search-row input{
  flex:1;
  min-height:46px;
  padding:10px 14px;
  border-radius:13px;
  border:1px solid rgba(7,20,17,.18);
  font-size:15px;
  color:#111;
  background:#fff;
  box-sizing:border-box;
}

.gsbs-panel-search-row button,
.gsbs-panel-search-row a{
  min-height:46px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  border-radius:13px;
  border:0;
  background:#1d6b4f;
  color:#fff !important;
  font-size:14px;
  font-weight:900;
  text-decoration:none !important;
  cursor:pointer;
  white-space:nowrap;
}

.gsbs-panel-search-row a{
  background:#071411;
}

.gsbs-pagination-summary{
  max-width:1500px;
  margin:0 auto 14px;
  color:#40524b;
  font-size:14px;
  line-height:1.5;
}

.gsbs-pagination-summary span{
  margin-left:10px;
}

.gsbs-pagination{
  max-width:1500px;
  margin:18px auto 0;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.gsbs-page-btn,
.gsbs-page-current{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 15px;
  border-radius:12px;
  font-size:14px;
  font-weight:900;
  text-decoration:none !important;
}

.gsbs-page-btn{
  background:#1d6b4f;
  color:#fff !important;
}

.gsbs-page-btn-disabled{
  background:#d8e1dc;
  color:#728179 !important;
}

.gsbs-page-current{
  background:#fff;
  color:#071411;
  border:1px solid rgba(7,20,17,.10);
}

@media (max-width:768px){
  .gsbs-panel-search-row{
    flex-direction:column;
    align-items:stretch;
  }

  .gsbs-panel-search-row input,
  .gsbs-panel-search-row button,
  .gsbs-panel-search-row a{
    width:100%;
  }

  .gsbs-pagination-summary span{
    display:block;
    margin:6px 0 0;
  }
}


.gsbs-tracking-cell{
  max-width:280px;
  white-space:normal;
  word-break:break-word;
  font-size:13px;
  color:#40524b;
}
