/*
Theme Name: iMajin.guru Plugins
Theme URI: https://imajin.guru
Template: Divi
Author: Just iMajin Web Sites
Author URI: http://imajin.guru/
Version: 1.0.0
Text Domain: Custom divi theme for iMajin plugin site.
Updated: 04-22-2024
Description: Testing environment for iMajin.guru plugins 
*/

/* General form styling */
#custom-plan-form {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Form labels */
#custom-plan-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #333333;
}

/* Select fields */
#custom-plan-form select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  background-color: #f9f9f9;
  transition: border-color 0.3s ease;
}

#custom-plan-form select:focus {
  outline: none;
  border-color: #4a90e2;
  background-color: #fff;
}

/* Total Pricing text */
#total {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Submit button */
#custom-plan-form .primary-button-lgt-plans {
  background-color: #4a90e2;
  color: #fff;
  padding: 0.85rem 2rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
}

#custom-plan-form .primary-button-lgt-plans:hover {
  background-color: #357ab8;
}

/* Form success and fail messages */
.w-form-done, .w-form-fail {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
}

.w-form-done {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.w-form-fail {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Plan Description Text */
#plan-description,
#program-description,
#coach-description {
  margin-top: 2rem;
  font-size: 1rem;
  color: #fff;
  text-align: left;
}

/* Make it responsive */
@media (max-width: 600px) {
  #custom-plan-form {
    padding: 1.5rem;
  }

  #total {
    font-size: 1rem;
  }

  #custom-plan-form .primary-button-lgt-plans {
    font-size: 1rem;
  }
}

/* =========================
   A LA CARTE – FORM STYLES
   ========================= */

/* Container card */
.form-block-19.w-form {
  display: grid;
  place-items: center;
  padding: 2rem 1rem;
}

.form-29 {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 2rem;
}

/* Headings / labels / body text */
.field-label-32,
.form-29 label,
.checkbox-grid legend {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  color: #1f2937; /* slate-800-ish */
  margin: 0 0 .5rem;
}

.paragraph-147 {
  margin: 0 0 1rem;
  color: #374151; /* slate-700-ish */
  font-size: 1rem;
  line-height: 1.55;
}

/* Inputs & selects (match staging tone) */
.w-select,
.form-29 select,
.form-29 input[type="text"],
.form-29 input[type="email"] {
  width: 100%;
  appearance: none;
  background: #fff;
  border: 1px solid #e5e7eb; /* slate-200-ish */
  border-radius: 10px;
  padding: .8rem .95rem;
  font-size: 1rem;
  line-height: 1.2;
  color: #111827; /* slate-900-ish */
  transition: border-color .15s, box-shadow .15s;
}

.w-select:focus,
.form-29 select:focus,
.form-29 input[type="text"]:focus,
.form-29 input[type="email"]:focus {
  outline: none;
  border-color: #6b7280;   /* slate-500 */
  box-shadow: 0 0 0 4px rgba(107,114,128,.15);
}

/* Action row */
.div-block-255 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

/* Primary button (mirror staging button vibe) */
.primary-button-lgt-plans.w-button {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: .9rem 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  background: #111827;       /* dark neutral */
  color: #fff;
  transition: transform .05s ease, opacity .2s ease, background .2s ease;
}
.primary-button-lgt-plans.w-button:hover { opacity: .92; }
.primary-button-lgt-plans.w-button:active { transform: translateY(1px); }
.primary-button-lgt-plans.w-button:disabled {
  opacity: .55; cursor: not-allowed;
}

/* =========================
   CHECKBOX GRID – the fix
   ========================= */
p#alacarte-desc {
  display: none;
  white-space: pre-line;
}

/* Wrapper */
#wrapper-custom-plan { padding: 2rem; }

/* Heading: "A La Carte" */
#wrapper-custom-plan .heading-98 {
  margin-bottom: 0.5rem;
}

/* Legend-style label: "Which services do you want?" */
#wrapper-custom-plan .paragraph-155 {
  position: relative;
  display: inline-block;
  background: #f8f9fa;   /* match the box, not pure white */
  padding: 0 0.6rem;
  margin: 0;
  font-weight: 600;
  z-index: 2;
  top: 11px;             /* how far it overlaps the border */
}

.div-block-253 {
 background: #f8f9fa;
}

/* Fieldset-style container around checkboxes */
#wrapper-custom-plan .div-block-302 {
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: #f8f9fa;   /* same as legend background */
  padding: 2rem 1.25rem 1.25rem;
  /* margin-top: -0.75rem;   lets the legend overlap the border */
}

/* Each checkbox row */
#wrapper-custom-plan .w-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

/* Checkbox look */
#wrapper-custom-plan .w-checkbox-input.svc {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 4px;
  border: 2px solid #0f172a;
  background: #ffffff;
}

/* Webflow checked replacement */
#wrapper-custom-plan .w-checkbox-input.svc.w--redirected-checked {
  background-color: #0f172a;
  border-color: #0f172a;
}

/* Checkbox label text */
#wrapper-custom-plan .w-form-label {
  font-size: 0.97rem;
  color: #0f172a;
  line-height: 1.35;
}

#wrapper-custom-plan .w-form-label strong {
  font-weight: 600;
}

/* Total + button row
#wrapper-custom-plan .div-block-255 {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
*/

#wrapper-custom-plan #alacarte-total {
  font-weight: 600;
}