/* CONAGRIM BLUE — approved pricing visual refinements only.
   No React code, pricing values, navigation, or payment behavior touched. */

/* The annual billing control is neutral grey in both states. */
.cg21-pricing .cg21-switch,
.cg21-pricing .cg21-switch[data-state="checked"] {
  background-color:#F0F1F5!important;
  border-color:#D1D5DB!important;
}
.cg21-pricing .cg21-switch .cg21-thumb {
  background-color:#FFFFFF!important;
  box-shadow:0 1px 3px rgba(0,0,0,.15);
}

/* Existing disabled current-plan button; preserve disabled semantics. */
.cg21-pricing .cg21-current-plan,
.cg21-pricing .cg21-current-plan:disabled {
  background-color:#F0F1F5!important;
  border-color:#D1D5DB!important;
  color:#555B66!important;
  opacity:1!important;
}

/* Lift all three card contents by removing accumulated default margins. */
.cg21-pricing .cg21-card > .flex-1.flex.flex-col > p:first-child {
  color:#111111!important;
  margin-top:0!important;
  margin-bottom:10px!important;
}
.cg21-pricing .cg21-card > .flex-1.flex.flex-col > .mt-6.flex.items-center.justify-center.gap-x-2 {
  margin-top:0!important;
}
.cg21-pricing .cg21-card > .flex-1.flex.flex-col > p.text-xs.leading-5.text-muted-foreground {
  margin-top:8px!important;
  margin-bottom:8px!important;
}
.cg21-pricing .cg21-card > .flex-1.flex.flex-col > ul.cg21-features,
.cg21-pricing .cg21-card > .flex-1.flex.flex-col > ul.mt-5 {
  margin-top:14px!important;
  margin-bottom:12px!important;
}

/* Keep Popular and the centered Profesional title from overlapping on narrow cards. */
.cg21-pricing .cg21-card[data-popular="true"] > .flex-1.flex.flex-col > p:first-child {
  margin-top:14px!important;
}

/* Larger, more prominent Popular ribbon; preserve its approved brand green. */
.cg21-pricing .cg21-card[data-popular="true"] > .absolute.top-0.right-0 {
  min-height:38px;
  min-width:128px;
  padding:8px 17px!important;
  justify-content:center;
}
.cg21-pricing .cg21-card[data-popular="true"] > .absolute.top-0.right-0 > span {
  font-size:15px!important;
  line-height:1.2!important;
}


/* Match the already-approved first-paint spinner reservation to the shorter
   cards. Only the existing pricing CSS variable is updated; no loader JS. */
@media(max-width:389px){
  .memberships-public-page{--cg-pricing-reserved-height:calc(4193px - 439vw)}
}
@media(min-width:390px) and (max-width:430px){
  .memberships-public-page{--cg-pricing-reserved-height:calc(3838px - 347.5vw)}
}
@media(min-width:431px) and (max-width:767px){
  .memberships-public-page{--cg-pricing-reserved-height:calc(2526px - 42vw)}
}
@media(min-width:768px) and (max-width:900px){
  .memberships-public-page{--cg-pricing-reserved-height:calc(2900px - 179vw)}
}
@media(min-width:901px) and (max-width:1024px){
  .memberships-public-page{--cg-pricing-reserved-height:calc(1903px - 68vw)}
}
@media(min-width:1025px) and (max-width:1280px){
  .memberships-public-page{--cg-pricing-reserved-height:calc(1647px - 43vw)}
}
@media(min-width:1281px){
  .memberships-public-page{--cg-pricing-reserved-height:1097px}
}


/* Very narrow desktop breakpoints: text wrapping creates discrete card heights.
   Keep loading space within a few pixels of the mounted cards. */
@media(min-width:1050px) and (max-width:1099px){
 .memberships-public-page{--cg-pricing-reserved-height:1198px}
}
@media(min-width:1100px) and (max-width:1149px){
 .memberships-public-page{--cg-pricing-reserved-height:1174px}
}
@media(min-width:1150px) and (max-width:1200px){
 .memberships-public-page{--cg-pricing-reserved-height:1170px}
}
@media(min-width:1201px) and (max-width:1209px){
 .memberships-public-page{--cg-pricing-reserved-height:1160px}
}
@media(min-width:1210px) and (max-width:1249px){
 .memberships-public-page{--cg-pricing-reserved-height:1138px}
}
@media(min-width:1250px) and (max-width:1280px){
 .memberships-public-page{--cg-pricing-reserved-height:1114px}
}
