/* IMPORTANT: scope everything under .cs-page so we don't affect header/footer */
.cs-page { padding: 10px 0 28px; }
.cs-page * { box-sizing: border-box; }

.cs-container { max-width: 1180px; margin: 0 auto; padding: 0 18px; }

.cs-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0,0,0,.08);
  min-height: 560px;
}

.cs-left{
  background: #fbfbfd;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  border-right: 1px solid rgba(0,0,0,.06);
}

.cs-illustration{
  width: 100%;
  display: flex;
  justify-content: center;
}

.cs-right{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
}

.cs-form{
  width: 100%;
  max-width: 470px;
  font-family: inherit;
}

.cs-form-title{
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.cs-field{ margin: 12px 0; }
.cs-field label{
  display:block;
  font-weight: 600;
  font-size: 13px;
  margin: 0 0 6px;
  opacity: .85;
}

.cs-field input,
.cs-field select{
  width: 100%;
  height: 44px;
  border: 1px solid rgba(0,0,0,.16);
  border-radius: 6px;
  padding: 0 12px;
  font-size: 14px;
  background: #fff;
}

.cs-field input:focus,
.cs-field select:focus{
  outline: none;
  box-shadow: 0 0 0 3px rgba(73, 105, 255, .16);
  border-color: rgba(73,105,255,.55);
}

/* FORCE select to be clickable even if theme overlays it */
.cs-country-select{
  position: relative !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
  -webkit-appearance: menulist !important;
  appearance: menulist !important;
}

.cs-btn{
  width: 100%;
  height: 46px;
  border: none;
  border-radius: 6px;
  background: #4a67ff;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  margin-top: 10px;
}

.cs-btn:hover{ filter: brightness(.97); }
.cs-btn:disabled{ opacity: .7; cursor: not-allowed; }

.cs-msg{ margin: 12px 0 0; font-size: 14px; }
.cs-msg.ok{ color:#0a7a2f; }
.cs-msg.err{ color:#b00020; }

@media (max-width: 900px){
  .cs-card{ grid-template-columns: 1fr; }
  .cs-left{ border-right: none; border-bottom: 1px solid rgba(0,0,0,.06); }
}

/* Phone layout: prefix box + number box */
.cs-phone-row{
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  align-items: center;
}

.cs-dial{
  text-align: center;
  font-weight: 700;
  background: #f7f7fb;
  cursor: default;
}

.cs-dial:focus{
  outline: none;
  box-shadow: none;
  border-color: rgba(0,0,0,.16);
}

