/* Search Overlay Styles */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    /* Only cover header area */
    background: rgba(255, 255, 255, 0.98);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    opacity: 1;
}

.search-overlay-content {
    width: 100%;
    max-width: 600px;
    padding: 0 20px;
}

.search-overlay-header {
    text-align: center;
    margin-bottom: 40px;
}

.search-overlay-title {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.search-overlay-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    font-size: 30px;
    color: #000;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.search-overlay-close:hover {
    transform: rotate(90deg);
}

.search-overlay-form {
    position: relative;
}

.search-overlay-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: none;
    border-bottom: 2px solid #000;
    background: transparent;
    font-size: 16px;
    outline: none;
    font-family: 'Noto Sans KR', sans-serif;
}

.search-overlay-input::placeholder {
    color: #999;
}

.search-overlay-submit {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-overlay-submit svg {
    width: 20px;
    height: 20px;
    stroke: #000;
    stroke-width: 2;
    fill: none;
}

.search-overlay-submit:hover svg {
    stroke: #666;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-overlay {
        padding-top: 20vh;
    }

    .search-overlay-title {
        font-size: 20px;
    }

    .search-overlay-close {
        top: 20px;
        right: 20px;
    }
}