.card-header {
    min-height: 5em;
    display: flex;
    align-items: center;
}

.card-body {
    display: flex;
    flex-direction: column;
}

.card-body .btn {
    margin-top: auto;
}


.tennis {
    color: #8C4ABD;
}

.padel {
    color: #0072cf;
}

.jeugd {
    color: #FF4600;
}

.standard {
    color: #03203a;
}

.white-color {
    color: white;
}

.tennis-bg {
    background-color: #8C4ABD;
}

.padel-bg {
    background-color: #0072cf;
}

.jeugd-bg {
    background-color: #FF4600;
}

.standard-bg {
    background-color: #03203a;
    color: white;
}

.white-bg {
    background-color: white;
    --divider-bottom: inherit;
}

.mr-2 {
    margin-right: 0.5rem;
}

.ml-2 {
    margin-left: 0.5rem;
}

.svg-icon {
    margin-bottom: 0.75rem;
    width: 2.1rem;
    overflow: visible;
    display: inline-block;
}

@font-face {
    font-family: 'TCO';
    src: url('/fonts/TCO_Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

.border-rounded {
    border-radius: 30px;
}

.lesson-img {
    height: 25em;
    width: 100%;
    object-fit: cover;
}

.tco-timeline-bg {
    position: relative;
    width: 100%;
    height: 600px;
    background: #03203a;
    overflow: hidden;
}

.tco-timeline-bg svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


.navbar {
    background-color: #03203a;
}

body {
    font-family: 'TCO', 'Arial', 'tahoma', 'helvetica', 'helvetica neue', sans-serif !important;
    color: #03203a;
}

.btn-primary {
    background-color: #03203a;
    border-color: #03203a;
}

.table th {
    font-weight: bold;
    padding: 0.3rem 0.5rem;
}

.table td {
    padding: 0.3rem 0.5rem;
}

/* .btn {
    font-family: 'Arial', 'tahoma', 'helvetica', 'helvetica neue', sans-serif !important;
}

*/
.tennis-divider {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;

    height: 40px;
}

.tennis-divider::before {
    content: "";
    position: absolute;
    inset: 0;
}

/* Achtergrond combinaties */
.tennis-divider::before {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to bottom,
        var(--divider-top) 0%,
        var(--divider-top) 50%,
        var(--divider-bottom) 50%,
        var(--divider-bottom) 100%
    );
}

.tennis-divider span {
    position: relative;
    z-index: 2;

    width: 34px;
    height: 34px;

    border-radius: 50%;
    background: var(--iris-orange);
}

.timeline-history {
    /* background-image: url('https://mdbootstrap.com/img/Photos/Others/images/76.jpg'); */
    background-image: url('http://127.0.0.1:8000/img/backgrounds/PB-TCOTCIRIS-6-min.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

/* The actual timeline (the vertical ruler) */
.main-timeline {
  position: relative;
}

/* The actual timeline (the vertical ruler) */
.main-timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: #939597;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* Container around content */
.timeline {
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline::after {
    content: '\f433';
   font-family: FontAwesome;
   font-weight: normal;
   font-style: normal;
   text-decoration:none;
    color: #f5df4d;
  position: absolute;
  width: 60px;
  height: 60px;
  right: -13px;
  top: 15px;
  border-radius: 100%;
  z-index: 1;
}

/* Place the container to the left */
.left {
  padding: 0px 40px 20px 0px;
  left: 0;
}

/* Place the container to the right */
.right {
  padding: 0px 0px 20px 40px;
  left: 50%;
}

/* Add arrows to the left container (pointing right) */
.left::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent white;
}

/* Add arrows to the right container (pointing left) */
.right::before {
  content: " ";
  position: absolute;
  top: 18px;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent white transparent transparent;
}

/* Fix the circle for containers on the right side */
.right::after {
  left: -12px;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 600px) {
  /* Place the timelime to the left */
  .main-timeline::after {
    left: 31px;
  }

  /* Full-width containers */
  .timeline {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .left::after,
  .right::after {
    left: 18px;
  }

  .left::before {
    right: auto;
  }

  /* Make all right containers behave like the left ones */
  .right {
    left: 0%;
  }
}

    /* Cards altijd dezelfde hoogte */
    .equal-card {
      height: 100%;
    }


    /* Combinatie tennis gravel + padel blauw */
    .timeline {
      border-left: 4px solid #1e73be; /* padelblauw */
      margin-left: 20px;
      padding-left: 25px;
    }

    .timeline-item {
      position: relative;
      margin-bottom: 40px;
      padding: 20px 25px;
      background: #ffffff;
      border-left: 6px solid #175c3e; /* tennisgroen */
      border-radius: 12px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

    /* Tennisbal en padelracket gecombineerd */
    .timeline-item::before {
      content: "";
      position: absolute;
      left: -36px;
      top: 10px;
      width: 22px;
      height: 22px;
      background: radial-gradient(circle at 30% 30%, #d7ff43, #c6f53a); /* tennisbal */
      border-radius: 50%;
      border: 2px solid #175c3e; /* tennisgroen */
      box-shadow: 0 0 8px rgba(0,0,0,0.2);
    }

    /* Padelracket icoon rechtsboven in elke card */
    .padel-icon {
      position: absolute;
      top: 12px;
      right: 15px;
      font-size: 20px;
      color: #1e73be; /* padelblauw */
      opacity: 0.8;
    }

    .timeline-item h5 {
      font-weight: 700;
      color: #1e73be;
    }

    .timeline-item p {
      margin: 0;
      color: #444;
    }

    /* Desktop: items rechts behouden */
.navbar-nav {
    margin-left: auto;
}


    /* Mobile navbar links over volledige breedte */
@media (max-width: 991.98px) {
    .navbar-collapse .navbar-nav {
        width: 100%;
    }

    .navbar-collapse .nav-item {
        width: 100%;
    }

    .navbar-collapse .nav-link {
        display: block;
        width: 100%;
        padding: 1rem 1.25rem;
        text-align: center; /* gebruik left als je links wilt uitlijnen */
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Eerste item zonder bovenste border */
    .navbar-collapse .nav-item:first-child .nav-link {
        border-top: none;
    }

    /* Social icons eventueel verbergen op mobile */
    .navbar-collapse .nav-item i {
        font-size: 1.2rem;
    }
}
