label{
  display:block;
  margin:14px 0 6px;
  font-weight:700;
  color:#fff;
}

input,
select,
textarea{
  width:100%;
  padding:14px;
  margin-bottom:14px;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;
  color:var(--ink);
}

input:focus,
select:focus,
textarea:focus{
  outline:none;
  border-color:var(--brand);
}

/* STANDARD CHECKBOX GROUPS */
.checkbox-group{
  display:flex;
  flex-direction:column;
  gap:14px;
  margin:10px 0 20px;
}

.checkbox-group label{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
  font-weight:400;
  color:#fff;
}

.checkbox-group input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  accent-color:#2cd38d;
}

/* REGISTER PAGE CHECKBOX GRID */
.checkbox-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin:10px 0 20px;
}

.checkbox-grid label{
  display:flex;
  flex-direction:row-reverse;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  margin:0;
  padding:14px;

  background:var(--card);
  border:1px solid var(--line);
  border-radius:14px;

  color:#fff;
  font-weight:600;
  cursor:pointer;
  transition:0.2s ease;
}

.checkbox-grid label:hover{
  border-color:var(--brand);
}

.checkbox-grid input[type="checkbox"]{
  width:18px !important;
  height:18px !important;
  margin:0 !important;
  accent-color:#2cd38d;
  flex-shrink:0;
}

.checkbox-grid label:has(input:checked){
  border-color:var(--brand);
  box-shadow:0 0 0 1px rgba(44,211,141,0.25);
}

/* FORM HEADINGS */
.form-section-title{
  display:block;
  margin:14px 0 10px;
  font-weight:700;
  color:#fff;
}

/* DIVIDERS */
.form-divider{
  position:relative;
  margin:20px 0 16px;
  text-align:center;
}

.form-divider::before{
  content:"";
  position:absolute;
  top:50%;
  left:0;
  width:100%;
  height:1px;
  background:var(--line);
}

.form-divider span{
  position:relative;
  background:var(--bg);
  padding:0 14px;
  color:#fff;
  font-weight:700;
  font-size:14px;
}

/* AUTH FOOTER */
.auth-footer-link{
  margin-top:20px;
  text-align:center;
  color:var(--muted);
}

.auth-footer-link a{
  color:var(--brand);
  text-decoration:none;
  font-weight:700;
}

/* MOBILE */
@media(max-width:480px){

  .checkbox-grid{
    grid-template-columns:1fr;
  }

}