#svhof-container {
    font-family: Inter, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 10px;
}

.svhof-search-container {
    max-width: 600px;
    background-color: white;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    position: relative;
    border: 1px solid #dadce0;
    border-radius: 26px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    padding: 8px 16px;
    }

.svhof-search-input {
    flex-grow: 1;
    padding: 0 10px;
    font-size: 16px;
    border: none;
    outline: none;
    transition: all 0.2s ease;
    color: #202124;
    padding-left: 35px;
}

.svhof-search-input::placeholder {
    color: #9ca3af;
}

.svhof-search-container::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%239aa0a6' d='M10 18h4v-2h-4v2zM3 6v2h18V6H3zm3 7h12v-2H6v2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.svhof-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 15px;
}

.svhof-tab {
    background: white;
    border: 2px solid #003d7c;
    color: #003D7C;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.svhof-tab:hover {
    background: #003D7C;
    color: white;
}

.svhof-tab-active {
    background: #003D7C;
    color: white;
}

.svhof-view-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.svhof-toggle-label {
    color: #333333;
    font-weight: 500;
    font-size: 14px;
}

.svhof-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 25px;
}

.svhof-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.svhof-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 25px;
}

.svhof-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 3.5px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .svhof-slider {
    background-color: #6CBE57;
}

input:checked + .svhof-slider:before {
    transform: translateX(25px);
}

.svhof-view {
    display: none;
}

.svhof-view-active {
    display: block;
}

.svhof-year-row {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.svhof-year-row[data-columns="1"] {
    grid-template-columns: 1fr;
}

.svhof-year-row[data-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
}

.svhof-year-row[data-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
}

/* Container size detection */
.svhof-narrow-container .svhof-year-row[data-columns="3"] {
    grid-template-columns: repeat(2, 1fr);
}

.svhof-year-block {
    background: #ffffff;
    border-radius: 6px;
	border: 1px solid #ddd;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.svhof-year-title {
    color: #003D7C;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    text-align: center;
    border-bottom: 2px solid #6CBE57;
    padding-bottom: 8px;
}

.svhof-winner-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.svhof-winner-item:last-child {
    border-bottom: none;
}

.svhof-category {
    color: #003D7C;
    font-weight: 400;
    font-size: 14spx;
    flex: 1;
}

.svhof-category .age-part {
    font-weight: 300 !important;
    padding: 2px !important;
}

.svhof-winner {
    color: #333333;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
    font-size: 14px;
    font-weight: 400;
}

.svhof-school-logo-wrapper {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 3px;
    vertical-align: middle;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.svhof-default-logo {
    opacity: 0.8;
    background-size: cover;
}

/* Category view specific styles */
.svhof-category-section {
    margin-bottom: 25px;
}

.svhof-category-title {
    color: #003D7C;
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.svhof-category-title:after {
    content: '';
    flex: 1;
    height: 2px;
    background: #6CBE57;
}

.svhof-category-table {
    width: 100%;
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.svhof-category-table table {
    width: 100%;
    border-collapse: collapse;
}

.svhof-category-table th,
.svhof-category-table td {
    padding: 10px 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.svhof-category-table th {
    background: #f8f9fa;
    color: #003D7C;
    font-weight: 600;
}

.svhof-category-table tr:last-child td {
    border-bottom: none;
}

.svhof-category-table tr:hover {
    background: #87CEEB;
}

/* Hide elements based on filter */
.svhof-hidden {
    display: none !important;
}

/* Responsive design */
@media (max-width: 768px) {
    #svhof-container {
        padding: 15px 0px;
    }
    
    .svhof-year-row {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }
    
    .svhof-tabs {
        gap: 5px;
    }
    
    .svhof-tab {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .svhof-year-block {
        margin: 5px 0;
        padding: 15px; 
    }
    
    .svhof-winner-item {
        padding: 6px 0;
    }
    
    .svhof-category {
        min-width: 0; 
        flex: 0 0 45%;
    }
    
    .svhof-winner {
        flex: 1;
    }
    
    .svhof-school-logo-wrapper {
        width: 23px;
        height: 23px;
    }
    /* Verberg leeftijdsindicaties op kleine schermen */
    .age-part {
        display: none !important;
    }
}
}