/* Panier formations */

.tc-page {
  background: #fff;
  padding: 1.75rem 0 5.5rem;
}

.tc-crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cbc-navy, #002855);
  margin-bottom: 1.35rem;
}
.tc-crumbs a {
  color: var(--cbc-navy, #002855) !important;
  text-decoration: none !important;
}
.tc-crumbs a:hover {
  color: var(--cbc-cyan, #0072ce) !important;
}
.tc-crumbs span:last-child {
  font-weight: 700;
}

.tc-header {
  margin-bottom: 2.25rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d5e3ea;
}
.tc-header h1 {
  font-family: var(--cbc-sans, "Plus Jakarta Sans", sans-serif) !important;
  font-size: clamp(1.85rem, 3.6vw, 2.55rem) !important;
  font-weight: 600 !important;
  color: var(--cbc-navy, #002855) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
  margin: 0 0 0.65rem !important;
}
.tc-lead {
  margin: 0;
  max-width: 40rem;
  color: #3d5a73;
  font-size: 1.02rem;
  line-height: 1.65;
}

.tc-flash {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: #e1f6f7;
  border: 1px solid #b4cdd7;
  color: #002855;
  padding: 0.95rem 1.1rem;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}
.tc-flash i {
  color: #0072ce;
  margin-top: 0.15rem;
}
.tc-page .alert {
  border-radius: 0;
  border: 1px solid #d7c3c3;
  background: #fff6f6;
  color: #002855;
  margin-bottom: 1.25rem;
}

.tc-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

.tc-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.tc-item {
  position: relative;
  padding: 1.75rem 0;
  border-bottom: 1px solid #d5e3ea;
}
.tc-item:first-child {
  padding-top: 0.15rem;
}
.tc-item-top {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr) auto;
  gap: 1.15rem 1.35rem;
  align-items: start;
}
.tc-item-media {
  width: 5.5rem;
  height: 5.5rem;
  background: #e1f6f7;
  overflow: hidden;
}
.tc-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc-item-media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0072ce;
  font-size: 1.25rem;
}
.tc-item-info h2 {
  margin: 0 0 0.45rem;
  font-family: var(--cbc-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #002855;
}
.tc-item-info h2 a {
  color: #002855 !important;
  text-decoration: none !important;
}
.tc-item-info h2 a:hover {
  color: #0072ce !important;
}
.tc-item-meta {
  margin: 0;
  color: #3d5a73;
  font-size: 0.86rem;
  font-weight: 600;
}
.tc-item-meta i {
  margin-right: 0.35rem;
  color: #0072ce;
}
.tc-remove {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: #e1f6f7;
  color: #002855 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  flex-shrink: 0;
  margin-top: 0.15rem;
  transition: background 0.2s, color 0.2s;
}
.tc-remove:hover {
  background: #002855;
  color: #fff !important;
}
.tc-item-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem 1.15rem;
  margin-top: 1.25rem;
}
.tc-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #002855;
  margin-bottom: 0.4rem;
}
.tc-page .training-form-input,
.tc-page .training-form-select,
.tc-page .training-copy-contact-btn {
  border-radius: 0;
  border-color: #c9d6e0;
  min-height: 46px;
  font-family: inherit;
}
.tc-page .training-form-input:focus,
.tc-page .training-form-select:focus {
  border-color: #0072ce;
  box-shadow: none;
  outline: 2px solid #0072ce;
}
.tc-line-total {
  margin: 0;
  font-weight: 700;
  font-size: 1.15rem;
  color: #002855;
  padding-top: 1.55rem;
}
.tc-update {
  margin-top: 1.35rem;
}
.tc-btn-text {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: #0072ce;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}
.tc-btn-text:hover {
  color: #002855;
}

.tc-section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #d5e3ea;
}
.tc-section h3,
.tc-page .training-form-section-head h4,
.tc-page .training-cart-training-participants-head h4 {
  font-family: var(--cbc-sans, "Plus Jakarta Sans", sans-serif);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #002855;
  margin: 0 0 1.15rem;
}
.tc-page .training-form-section {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.tc-page .training-form-section-head {
  margin-bottom: 1.15rem;
}
.tc-page .training-form-step {
  display: none;
}
.tc-page .training-form-label {
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: #002855;
  font-weight: 700;
}
.tc-page .training-form-grid {
  gap: 0.95rem 1rem;
}

.tc-details {
  margin-top: 1.5rem;
  border-top: 1px solid #d5e3ea;
}
.tc-details > summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 0;
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #002855;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tc-details > summary::-webkit-details-marker {
  display: none;
}
.tc-details > summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}
.tc-details[open] > summary::after {
  transform: rotate(-135deg);
  margin-top: 2px;
}
.tc-details-inner {
  padding-bottom: 0.35rem;
}
.tc-page .training-cart-training-participants {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #d5e3ea;
}
.tc-page .training-cart-training-participants:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.tc-page .training-participant-card {
  background: #f7fbfc;
  border: 1px solid #d5e3ea;
  border-radius: 0;
  padding: 1.1rem;
  box-shadow: none;
  margin-bottom: 0.85rem;
}
.tc-page .training-participant-num {
  background: #002855;
  color: #fff;
  border-radius: 0;
}
.tc-page .training-copy-contact-btn {
  border-style: solid;
  color: #002855;
  background: #fff;
}
.tc-page .training-copy-contact-btn:hover {
  background: #e1f6f7;
  border-color: #002855;
}

.tc-aside {
  background: #e1f6f7;
  padding: 1.6rem 1.4rem 1.45rem;
}
.tc-aside-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #002855;
  margin: 0 0 1.15rem;
}
.tc-sum-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: #002855;
  margin-bottom: 0.7rem;
  line-height: 1.4;
}
.tc-sum-row span:first-child {
  font-weight: 600;
}
.tc-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  border-top: 3px solid #002855;
  margin-top: 1.15rem;
  padding-top: 1.05rem;
  font-weight: 700;
  color: #002855;
}
.tc-sum-total span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
}
.tc-sum-total span:last-child {
  font-size: 1.2rem;
}
.tc-sum-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  color: #3d5a73;
}

.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  border-radius: 0;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.1rem;
  text-decoration: none !important;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.tc-btn--primary {
  background: #0072ce;
  border: 1px solid #0072ce;
  color: #fff !important;
  margin-top: 1.25rem;
}
.tc-main > .training-booking-form > .tc-btn--primary {
  display: none;
}
.tc-btn--primary:hover {
  background: #002855;
  border-color: #002855;
  color: #fff !important;
}
.tc-btn--ghost {
  background: transparent;
  border: 1px solid #002855;
  color: #002855 !important;
  margin-top: 0.65rem;
}
.tc-btn--ghost:hover {
  background: #002855;
  color: #fff !important;
}
.tc-aside-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 1.15rem;
}
.tc-aside-links a,
.tc-aside-links button {
  appearance: none;
  background: none;
  border: 0;
  padding: 0;
  color: #002855;
  font-weight: 700;
  font-size: 0.86rem;
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}
.tc-aside-links a:hover,
.tc-aside-links button:hover {
  color: #0072ce;
}

.tc-empty,
.tc-success {
  max-width: 36rem;
  padding: 1.25rem 0 3rem;
}
.tc-empty h2,
.tc-success h2 {
  font-family: var(--cbc-sans, "Plus Jakarta Sans", sans-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  color: #002855;
  margin: 0 0 0.75rem;
}
.tc-empty p,
.tc-success p {
  margin: 0 0 1.5rem;
  color: #3d5a73;
  font-size: 1.02rem;
  line-height: 1.65;
}
.tc-success-icon {
  display: inline-flex;
  width: 3.1rem;
  height: 3.1rem;
  align-items: center;
  justify-content: center;
  background: #e1f6f7;
  color: #0072ce;
  font-size: 1.45rem;
  margin-bottom: 1.15rem;
}
.tc-empty-actions,
.tc-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.tc-btn--inline {
  width: auto;
  min-width: 12rem;
  margin-top: 0;
}

@media (max-width: 639px) {
  .tc-page {
    padding: 1.15rem 0 3.5rem;
  }
  .tc-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.15rem;
  }
  .tc-header h1 {
    font-size: 1.7rem !important;
  }
  .tc-lead {
    font-size: 0.95rem;
  }
  .tc-item-top {
    grid-template-columns: 4.25rem minmax(0, 1fr) auto;
    gap: 0.85rem;
  }
  .tc-item-media {
    width: 4.25rem;
    height: 4.25rem;
  }
  .tc-item-info h2 {
    font-size: 0.98rem;
  }
  .tc-item {
    padding: 1.25rem 0;
  }
  .tc-page .training-form-grid {
    grid-template-columns: 1fr;
  }
  .tc-aside {
    padding: 1.25rem 1.1rem 1.2rem;
  }
  .tc-btn--inline {
    width: 100%;
    min-width: 0;
  }
  .tc-empty-actions,
  .tc-success-actions {
    flex-direction: column;
    width: 100%;
  }
}

@media (min-width: 640px) {
  .tc-item-tools {
    grid-template-columns: 8.5rem minmax(0, 1fr) auto;
    align-items: end;
  }
  .tc-line-total {
    text-align: right;
    min-width: 8.5rem;
  }
}
@media (max-width: 991px) {
  .tc-main > .training-booking-form > .tc-btn--primary {
    display: inline-flex;
  }
  .tc-aside .tc-btn--primary {
    display: none;
  }
}
@media (min-width: 992px) {
  .tc-layout {
    grid-template-columns: minmax(0, 1fr) 21.5rem;
    column-gap: 4.5rem;
  }
  .tc-aside {
    position: sticky;
    top: 1.25rem;
  }
}
@media (min-width: 1200px) {
  .tc-layout {
    column-gap: 6.5rem;
    grid-template-columns: minmax(0, 1fr) 22.5rem;
  }
}
