@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

.bcp-programs,
.bcp-programs * {
  box-sizing: border-box;
}

.bcp-programs {
  font-family: "Poppins", sans-serif;
  color: #2c4667;
}

.bcp-programs__layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.bcp-filter {
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 16px 38px rgba(44, 70, 103, 0.06);
  padding: 26px 24px 22px;
  position: sticky;
  top: 24px;
}

.bcp-filter__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.bcp-filter__header svg {
  width: 20px;
  height: 20px;
  color: rgba(232, 114, 12, 1);
}

.bcp-filter__header h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  color: #243f67;
}

.bcp-filter__group {
  margin-bottom: 22px;
}

.bcp-filter__group label {
  display: block;
  margin-bottom: 10px;
  font-size: 16px;
  color: #2c4667;
  font-weight: 600;
}

.bcp-input-field {
  display: flex;
  align-items: center;
  background: #ece8de;
  border-radius: 12px;
  padding: 0 12px;
  min-height: 48px;
}

.bcp-input-field svg,
.bcp-info svg,
.bcp-green svg,
.bcp-btn svg {
  flex: 0 0 auto;
}

.bcp-input-field svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  color: #8f8f8f;
}

.bcp-input-field input,
.bcp-select-field select {
  width: 100% !important;
  border: none !important;
  background: transparent;
  outline: none;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  color: #2c4667;
}

.bcp-input-field input::placeholder {
  color: #8f8f8f;
}

.bcp-select-field select {
  padding: 0 16px;
  min-height: 48px;
  border-radius: 12px;
  background: #ece8de;
  appearance: auto;
}

.bcp-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
  margin-bottom: 26px;
}

.bcp-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: #2c4667;
  cursor: pointer;
  font-weight: 500;
}

.bcp-checkbox input {
  display: none;
}

.bcp-checkbox span {
  width: 18px;
  height: 18px;
  border: 2px solid #2c4667;
  border-radius: 5px;
  display: inline-block;
  position: relative;
  background: #fff;
}

.bcp-checkbox input:checked + span {
  background: rgba(232, 114, 12, 1);
  border-color: rgba(232, 114, 12, 1);
}

.bcp-checkbox input:checked + span::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.bcp-clear-btn {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 11px 14px;
  border: none;
  background: #ece8de;
  border-radius: 12px;
  font-size: 13px;
  color: #9a978f;
  cursor: pointer;
  font-family: "Poppins", sans-serif;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.bcp-clear-btn:hover {
  background: #ddd7cd;
  color: #6f6b65;
}

.bcp-hidden-submit {
  display: none !important;
}

.bcp-program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bcp-program-card {
  background: #fff;
  border-radius: 24px;
  padding: 16px 16px 18px;
  border-left: 3px solid #f6a560;
  box-shadow: 0px 0px 18px 0px
    rgba(81, 41.99999999999997, 8, 0.050980392156862744);
  display: flex;
  flex-direction: column;
  min-height: 410px;
}

.bcp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
}

.bcp-badge {
  background: #fde8d7;
  color: rgba(232, 114, 12, 1);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.bcp-type {
  font-size: 12px;
  color: #9797a0;
  font-weight: 500;
  line-height: 1.3;
  text-align: right;
}

.bcp-program-title {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  color: #243f67;
  margin: 0 0 12px;
}

.bcp-info {
  margin-bottom: 6px;
}

.bcp-info span,
.bcp-green {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #7f7f8d;
  margin-bottom: 8px;
  font-weight: 500;
}

.bcp-info svg,
.bcp-green svg {
  width: 15px;
  height: 15px;
}

.bcp-info svg {
  color: rgba(232, 114, 12, 1);
}

.bcp-green {
  color: #30c264;
  margin: 8px 0 12px;
}

.bcp-green svg {
  color: #30c264;
}

.bcp-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #8f8f98;
  margin: 0 0 18px;
  flex: 1 1 auto;
}

.bcp-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.bcp-exam {
  font-size: 12px;
  color: #c5c4cb;
  font-weight: 500;
}

.bcp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 114, 12, 1);
  color: #fff;
  border: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bcp-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(244, 124, 32, 0.24);
}

.bcp-btn svg {
  width: 16px;
  height: 16px;
  background: white;
  color: #e8720c;
  border-radius: 3px;
}

.bcp-pagination {
  text-align: center;
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bcp-page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 10px 14px;
  border: none;
  background: #ece8de;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s;
  text-decoration: none;
  color: #2c4667;
  font-size: 14px;
}

.bcp-page-link:hover:not(.is-disabled),
.bcp-page-link.is-active {
  background: rgba(232, 114, 12, 1);
  color: #fff;
}

.bcp-page-prev,
.bcp-page-next {
  background: rgba(232, 114, 12, 1);
  color: #fff;
}

.bcp-page-link.is-disabled {
  background: #ccc;
  color: #fff;
  pointer-events: none;
}

.bcp-no-results {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    color: #2c4667;
    box-shadow: 0 10px 24px rgba(44, 70, 103, 0.06);
    min-width: 100%;
    max-width: 100%;
    text-align: center;
    min-width: 900px;
}
.bcp-is-loading {
  opacity: 0.6;
  pointer-events: none;
}
.bcp-trade-search-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  padding: 12px;
  border-radius: 24px;
  max-width: 980px;
  margin: auto;
  font-family: "Poppins", sans-serif;
}

.bcp-field {
  display: flex;
  align-items: center;
  flex: 1;
  border: 1px solid #f5f1e8;
  border-radius: 12px;
  padding: 8px;
}

.bcp-field input {
    border: none !important;
    background: transparent;
    outline: none;
    width: 100% !important;
    font-size: 18px;
    color: #82858d;
}

.bcp-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  color: #9aa0a6;
}

.bcp-search-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f47c20;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.bcp-search-btn:hover {
  background: #e36e14;
}

@media (max-width: 768px) {
  .bcp-trade-search-bar {
    flex-direction: column;
  }

  .bcp-search-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 1199px) {
  .bcp-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .bcp-programs__layout {
    grid-template-columns: 1fr;
  }

  .bcp-filter {
    position: static;
  }
}

@media (max-width: 767px) {
  .bcp-program-grid {
    grid-template-columns: 1fr;
  }
  .bcp-no-results {
    min-width: 100%;
  }

  .bcp-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .bcp-btn {
    width: 100%;
    justify-content: center;
  }
}
