.search-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: searchFadeIn 0.3s ease;
    display: none;
}

.search-popup-overlay.active {
    display: flex;
}

/* Pop-up Container */
.search-popup-container {
    width: 90%;
    max-width: 900px;
    animation: searchSlideDown 0.3s ease;
}

/* Pop-up Content */
.search-popup-content {
    padding: 60px;
    position: relative;
    text-align: center;
}

/* Close Button */
.search-popup-close {
    position: absolute;
    top: 0px;
    right: 10px;
    font-size: 48px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    transition: color 0.3s ease;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-popup-close:hover {
    color: #000;
}


/* Search Form */
.search-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.search-popup-field {
    flex: 1;
    padding: 10px 20px;
	font-size: 20px;
	border: none;
    border-bottom: 1px solid #e0e0e0;
    outline: none;
    transition: border-color 0.3s ease;
    font-family: inherit;
	margin: auto;
	background: transparent;
}

.search-popup-field:focus {
    border-color: #2271b1;
}

.search-popup-submit {
  border: 1px solid #135e96;
  padding: 6px 15px;
  transition: all 0.3s ease;
    color: #135e96;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
    white-space: nowrap;
    font-family: inherit;
	transition: all 0.3s ease;
}

.search-popup-submit .icon-search::before {
  color: #135e96;
	transition: all 0.3s ease;
}

.search-popup-submit:hover {
    background: #135e96;
	color: #fff;
    transform: translateY(-1px);
}
.search-popup-submit:hover .icon-search::before {
  color: #fff;
}

/* Animations */
@keyframes searchFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Search Button Styles */
.search-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    opacity: 0.8;
}

/* Error State */
.search-popup-field.error {
    border-color: #ff4444;
    animation: searchShake 0.5s ease;
}

@keyframes searchShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
    }
    
    .search-popup-content {
        padding: 30px 20px 20px;
        margin: 20px;
    }
    
    .search-popup-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .search-popup-submit {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .search-popup-content {
        padding: 25px 15px 15px;
    }
    
    .search-popup-content h3 {
        font-size: 18px;
    }
    
    .search-popup-field {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .search-popup-submit {
        padding: 12px 20px;
        font-size: 14px;
    }
}