* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f0f5ff;
}

.page-wrapper {
  display: flex;
  justify-content: center;
  min-height: 100vh;
}

/* LEFT */
.left-section {
  width: 40%;
  padding: 30px 40px;
  background: #fff;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 48px;
  height: auto;
  border-radius: 6px;

}

.left-section h1 {
  margin-top: 25px;
  color: #1d67cd;
  font-size: 28px;
}

.only-india {
  color: #d32f2f;
  font-weight: bold;
  margin-top: 15px;
  padding: 8px 12px;
  background: #ffebee;
  border-radius: 6px;
  display: inline-block;
}

.overseas {
  color: #2e7d32;
  margin-top: 16px;
  line-height: 1.5;
  font-size: 15px;
}

.overseas a {
  color: #1a73e8;
  font-weight: bold;
  text-decoration: none;
}

.overseas a:hover {
  text-decoration: underline;
}

.poster img {
  width: 100%;
  max-width: 420px;
  margin: 22px 0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.next-btn {
  padding: 14px 28px;
  background: rgb(35,113,236);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.next-btn:hover {
  background: linear-gradient(135deg, #0d47a1 0%, #08367c 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(13, 71, 161, 0.3);
}

/* RIGHT */
.right-section {
  /* width: 40%; */
  padding: 30px 40px;
  /* background: #f8fafd; */
}

.right-section.show {
  display: block;
}

.form-card {
  background: #fff;
  /* border-radius: 16px; */
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  max-width: 520px;
  /* border: 1px solid #e3e8f0; */
}

.right-section h2 {
  margin: 0 0 20px;
  color: #0d2366;
  font-size: 15px;
  font-weight: 700;
}

.title-name {
  color: #0d2366;
  font-size: 15px;
  font-weight: bold;
  /* line-height: 28px; */
  /* max-width: 80%; */
  display: inline-block;
  vertical-align: middle;
  padding-left: 16px;
  padding-top: 5px;
}

.divider {
  width: 30px;
  height: 5px;
  background: linear-gradient(to right, #1d67cd, #4a9eff);
  border-radius: 2px;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 14px;
  color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d9e6;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1d67cd;
  box-shadow: 0 0 0 3px rgba(29, 103, 205, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 70px;
}

/* PRICE SECTION */
.price-section {
  margin: 30px 0 25px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e3e8f0;
}

.price-header {
  background: linear-gradient(135deg, #f8fafd 0%, #e8efff 100%);
  padding: 16px 20px;
  border-bottom: 1px solid #e3e8f0;
}

.price-header h3 {
  color: #0d2366;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 0px;
}


.total-section {
  background: #f8fafd;
  padding: 20px;
  border-top: 1px solid #e3e8f0;
}

.total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pay-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, #1d67cd 0%, #0d47a1 100%);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 25px;
  transition: all 0.3s;
}

.pay-btn:hover {
  background: linear-gradient(135deg, #0d47a1 0%, #08367c 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 71, 161, 0.3);
}

.pay-btn:disabled {
  background: linear-gradient(135deg, #9e9e9e 0%, #757575 100%);
  cursor: not-allowed;
}


/* ============================= */
/* DYNAMIC PAGE DESCRIPTION SAFE ZONE */
/* ============================= */

.page-description {
  margin-top: 16px;
  line-height: 1.6;
  color: #344054;
  font-size: 15px;
}

/* Reset weird margins coming from CMS */
.page-description h1,
.page-description h2,
.page-description h3,
.page-description h4,
.page-description p {
  margin: 12px 0 !important;
  line-height: 1.5;
}

/* Headings style control */
.page-description h1 {
  font-size: 26px !important;
  color: #1d67cd !important;
}

.page-description h2 {
  font-size: 20px !important;
  color: #1d67cd !important;
}

.page-description h3 {
  font-size: 18px !important;
  color: #2e7d32 !important;
}

/* Text */
.page-description strong {
  font-weight: 600 !important;
}

.page-description span {
  font-size: inherit !important;
  color: inherit !important;
}

/* Links */
.page-description a {
  color: #1a73e8 !important;
  font-weight: 600;
  text-decoration: none;
}

.page-description a:hover {
  text-decoration: underline;
}

/* Images from CMS */
.page-description img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px;
  margin: 16px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: block;
}

/* Lists safety */
.page-description ul,
.page-description ol {
  padding-left: 20px;
  margin: 10px 0;
}

/* Tables safety (if ever added later) */
.page-description table {
  width: 100% !important;
  border-collapse: collapse;
  margin: 12px 0;
}

.page-description table td,
.page-description table th {
  border: 1px solid #e3e8f0;
  padding: 8px 10px;
  font-size: 14px;
}


/* .course-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e2e6f0;
  border-radius: 6px;
  padding: 15px 20px;
  max-width: 900px;
  margin: auto;
} */

.course-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  /* border: 1px solid #e2e6f0; */
  border-radius: 6px;
  /* padding: 15px 20px; */
  padding: 5px 5px;
  width: 100%;      /* change */
  max-width: 100%;  /* change */
  margin: 10px 0;   /* change */
}

.course-left {
  width: 40%;
}

.course-title {
  color: #1f3bb3;
  font-weight: 600;
  font-size: 16px;
}

.course-subtitle {
  color: #1f3bb3;
  font-size: 14px;
  margin-top: 2px;
}

.course-optional {
  color: #999;
  font-size: 12px;
  margin-top: 4px;
}

.course-middle {
  flex: 1;
  margin: 0 20px;
}

.price-box {
  width: 100%;
  max-width: 130%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #d0d6ff;
  border-radius: 4px;
  padding: 6px 10px;
  font-weight: 600;
  color: #0d2366;
  background-color: #f7f7f7;
}

.subject-checkbox {
  width: 22px;
  cursor: pointer;
  color: #515978;
  accent-color: #4f7cff;
  /* modern blue tick */
  transform: scale(1.4);
  /* extra boost */
}


.rupee {
  margin-right: 4px;
  font-size: 14px;
}

.price {
  font-size: 14px;
}

.course-desc {
  color: #3a7a2a;
  font-size: 13px;
  margin-top: 6px;
}

.course-right input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.loader-wrapper {
  position: fixed;
  /* pure screen ke center me */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  /* vertical center */
  justify-content: center;
  /* horizontal center */

  background: rgba(255, 255, 255, 0.6);
  /* optional overlay */
  z-index: 9999;
}


.input-error {
  border: 1px solid #e53935 !important;
  border-radius: 8px;
}

.error-text {
  /* text-align: center; */
  color: #e53935;
  font-size: 12px;
  margin-top: 4px;
  display: block;
  margin-top: 2px;
  margin-bottom: 10px;
}

.info-text {
  text-align: center;
  font-size: 13px;
  color: #777;
  margin-top: 10px;
  margin-bottom: 10px;

}


.input-name {
  font-size: 14px;
  line-height: 20px;
  color: #515978;
  word-break: break-word;
}

.input-bottom-text {
  color: #515978;
  font-size: 12px;
  margin: 4px 0;
  line-height: 16px;
}

/* MOBILE */
@media (max-width: 768px) {
  .page-wrapper {
    flex-direction: column;
  }

  .left-section,
  .right-section {
    width: 100%;
    padding: 20px;
  }

  .right-section {
    display: none;
  }

  .right-section.show {
    display: block;
  }

  .form-card {
    max-width: 100%;
    padding: 20px;
  }

  .left-section h1 {
    font-size: 24px;
  }

  .plan-header {
    flex-direction: column;
    gap: 10px;
  }

  .page-description h1 {
    font-size: 22px !important;
  }

  .page-description h2 {
    font-size: 18px !important;
  }

  .page-description img {
    margin: 12px 0;
  }
}


/* Container full width */
.custom-multi .multiSelectContainer {
    width: 100%;
}

/* Main input wrapper */
.custom-multi .searchWrapper {
    border: 1px solid #ced4da !important;
    border-radius: 6px !important;
    min-height: 38px !important;
    /* padding: 4px 10px !important;  */
      /* eft space fix */
    display: flex;
    align-items: center;
    box-shadow: none !important;
}

/* Focus same as other inputs */
.custom-multi .searchWrapper:focus-within {
    border-color: #86b7fe !important;
    box-shadow: 0 0 0 0.2rem rgba(13,110,253,.25) !important;
}

/* Remove default input styling */
.custom-multi input {
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 14px;
}

/* Remove extra left gap before chip */
/* .custom-multi .chip {
    margin: 0 6px 0 0 !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    font-size: 13px;
} */

.custom-multi .chip {
    background: #808080 !important;
    color: #fff !important;
}

/* Dropdown */
.custom-multi .optionListContainer {
    border-radius: 6px !important;
    border: 1px solid #ced4da !important;
    margin-top: 4px;
}

/* Dropdown option */
.custom-multi .option {
    padding: 8px 12px !important;
    font-size: 14px;
}

/* Remove extra internal spacing */
.custom-multi .searchBox {
    margin: 0 !important;
    padding: 0 !important;
}