@media (max-width: 1024px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-container {
        grid-template-columns: 1fr;
    }
}

.two-column-layout {
    gap: 20px; /* Space between columns */
    background-color: #f9f9f9;
}

.left-column {
    flex: 1; /* Left column takes up less space */
    min-width: 20%;
    max-width: 30%; /* Set a reasonable width for the dropdown */
}

.right-column {
    flex: 3; /* Right column takes up more space */
}

.btn-primary {
  background-color: #ff6633;
  color: white;
  cursor: pointer;
}

.btn-primary:hover {
    background-color: #ff4000;
}

.btn-override {
    color: white;
}

#link-course-card-offerte {
    color: white;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    justify-content: space-between;
}

.card-incompany {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-incompany-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.card-incompany-text {
    font-size: 1rem;
    margin-bottom: 16px;
}

.card-incompany-body {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-incompany-button-container {
    margin-top: auto;
    text-align: center;
}

.detail-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: #555;
}

.detail-description {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #666;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination-list {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 8px;
}

.pagination-list li {
    display: inline;
}

.pagination-list li a {
    text-decoration: none;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #ff6633;
}

.pagination-list li a:hover {
    background-color: #f0f0f0;
}

.pagination-list li.active a {
    background-color: #ff6633;
    color: white;
    border-color: #ff6633;
}

#spinner {
    display: none;
    text-align: center;
    margin-top: 10px;
}

#spinner::after {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid #ccc;
    border-top-color: #ff6633;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.search-container-v2 {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between the search bar and the selector */
}

.search-container-flex {
    display: flex;
    flex-direction: row;
    align-items: flex-end; /* Align items at the top */
    gap: 24px;
    justify-content: center;
    padding-bottom: 1rem;

}
.search-input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    flex: 2; /* Make the search input broader */
    min-width: 30%;
    align-items: flex-end; /* Align input at the bottom of the wrapper */
    margin-top: 24px;
    gap: 12px;
}

.search-icon-incompany {
    position: absolute;
    left: 25px;
    color: #ccc;
    line-height: 36px !important;
}

.searchinput-v2 {
    padding-left: 35px; /* Space for the search icon */
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 36px;
}

a.invisible-link,a.invisible-link * {
    text-decoration: none !important;
    color: inherit !important;
}

#vakgebied-incompany {
    height: 36px;
    line-height: inherit;
}

#all-categories-container {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.vakgebied-select {
    height: 36px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px;
    min-width: 200px; /* Ensure the dropdown has a reasonable width */
    flex: 1; /* Make the dropdown take up available space */
    min-width: 150px;
}

.vakgebied-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vakgebied-container h3 {
    margin: 0; /* Remove default margin */
}

.vakgebied-container select {
    width: 100%; /* Ensure the dropdown spans the container width */
    max-width: 300px; /* Set a reasonable maximum width */
}

.info-cards-container {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin: 36px 0;
  flex-wrap: wrap;
}

.info-card {
  position: relative;
  cursor: pointer;
  outline: none;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(40,51,84,0.08);
  padding: 32px 24px;
  max-width: 400px;
  min-width: 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
}

.info-card-popup {
  display: none;
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  background: #fff;
  box-shadow: 0 4px 24px rgba(40,51,84,0.12);
  border-radius: 12px;
  padding: 18px 24px;
  min-width: 420px;
  z-index: 10;
  margin-top: 12px;
  transition: opacity 0.2s;
  opacity: 0;
  pointer-events: none;
}

.info-card:hover .info-card-popup,
.info-card:focus .info-card-popup,
.info-card.active .info-card-popup {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.info-card:hover {
  box-shadow: 0 8px 32px rgba(40,51,84,0.16);
}

.info-card-icon {
  font-size: 2.5rem;
  color: #ff6633;
  margin-bottom: 18px;
}

.info-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #283354;
  margin-bottom: 12px;
}

.info-card-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  text-align: justify;
}


@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}