:root {
    --primary-color: #fec000;
    --text-color: #000000;
    --background-light: #f8f9fa;
    --border-radius: 5px;
    --accent-color: #ff6b00;
    --secondary-color: #e9ecef;
    --shadow-color: rgba(0,0,0,0.1);
}

/* Main search container styling */
.startnummer-search-container {
    position: relative;
    text-align: center;
    padding-top: 20px;
}

.image-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.background-image {
    max-width: 55%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.startnummer-search-form {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 65%;  
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.startnummer-search-form input[type="text"] {
    width: 100%;
    font-family: 'Anton', sans-serif;
    font-size: clamp(40px, 10vw, 150px);  
    padding: 5px;
    text-align: center;
    border: none;
    outline: none;
    background-color: transparent;
    color: #000;
}

.startnummer-search-form input::placeholder {
    color: #999;
    font-size: clamp(16px, 3vw, 30px);  
    opacity: 0.7;
}

.no-images-found {
    text-align: center;
    font-family: 'Anton', sans-serif;
    margin-top: 20px;
    color: #AA4A44;
    font-weight: lighter;
}

.no-images-found a {
    font-weight: lighter;
}

.zoekHier {
    text-align: center;
    font-size: 1em;
}

.link {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.startnummervergeten {
    max-width: 80%;
    margin: 20px auto;
    text-align: center;
    font-size: 1.1em;
    font-family: 'Anton', sans-serif;
    font-weight: lighter;
    color: black;
}

.startnummervergeten a {
    color: var(--accent-color);
    font-weight: lighter;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.startnummervergeten a:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.startnummervergeten a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.startnummervergeten a:hover {
    color: var(--primary-color);
}


.popup-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(3px);
}

.popup-content {
    position: relative;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px 25px;
    background-color: white;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: popupFadeIn 0.3s ease-in-out;
    overflow: hidden;
}

@keyframes popupFadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.popup-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: normal;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f2f2f2;
    z-index: 10;
}

.close-popup:hover {
    color: var(--accent-color);
    background: #ebebeb;
    transform: rotate(90deg);
}

.popup-content h3 {
    font-family: 'Anton', sans-serif;
    font-weight: lighter;
    color: var(--text-color);
    margin-top: 15px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 26px;
    position: relative;
    padding-bottom: 15px;
}

.popup-content h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

.search-container {
    display: flex;
    margin-bottom: 25px;
    gap: 10px;
    position: relative;
}

#searchBar {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) inset;
}

#searchBar:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 192, 0, 0.15);
}

#searchButton {
    padding: 0 22px;
    background: linear-gradient(to right, var(--accent-color), #ff8f3c);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(255, 107, 0, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#searchButton:hover {
    background: linear-gradient(to right, #ff8500, var(--accent-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 107, 0, 0.15);
}

#searchButton:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(255, 107, 0, 0.1);
}

.search-results {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px 0;
    width: 100%;
    border-radius: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-color) #f0f0f0;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 10px;
}

.search-results::-webkit-scrollbar-thumb {
    background-color: var(--accent-color);
    border-radius: 10px;
}

.result-item {
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.25s ease;
    border-radius: 8px;
    margin-bottom: 6px;
    background-color: #f8f9fa;
    border-left: 4px solid transparent;
    font-size: 16px;
}

.result-item a {
    color: #333;
    text-decoration: none;
    display: block;
    font-weight: 500;
}

.result-item:hover {
    background-color: #fff;
    transform: translateX(5px);
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.result-name {
    font-weight: bold;
    color: var(--text-color);
}

.result-number {
    color: var(--accent-color);
    margin-left: 10px;
    font-weight: bold;
}

.no-results {
    text-align: center;
    padding: 25px 15px;
    color: #888;
    font-style: italic;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.more-results {
    text-align: center;
    padding: 10px;
    color: #888;
    font-size: 14px;
    font-style: italic;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .background-image {
        max-width: 80%;
    }

    .startnummer-search-form {
        width: 60%;
    }
    
    .popup-content {
        width: 90%;
        padding: 25px 20px;
    }
    
    .search-container {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .background-image {
        max-width: 95%;
    }
    
    .startnummer-search-form {
        width: 70%;
    }
    
    .popup-content {
        width: 95%;
        padding: 20px 15px;
    }
    
    .close-popup {
        top: 10px;
        right: 10px;
        font-size: 20px;
        width: 28px;
        height: 28px;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    #searchButton {
        width: 100%;
        padding: 12px 15px;
    }
    
    .popup-content h3 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .startnummervergeten {
    font-size: 0.9em;
	}

	.startnummer-search-form input[type="text"] {
    font-size: clamp(50px, 18vw, 70px);  
	}

    .result-item {
        font-size: 0.8em;
    }
    
}