/* Search Overlay Styles */

@font-face {
    font-family: 'UntitledSans';
    src: url('/fonts/UntitledSans-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'UntitledSans';
    src: url('/fonts/UntitledSans-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}


body, 
h1, h2, h3, h4, h5, h6, 
p, span, a, li, div, section, article, footer, header, nav, button, input, textarea {
    font-family: 'UntitledSans' !important;
}


.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: none;
    align-items: flex-start;
    padding-top: 20px;
}

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

.search-overlay-content {
    width: 100%;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search-bar-wrapper .fship-logo {
    flex-shrink: 0;
}

.search-bar-wrapper .fship-logo img {
    height: 40px;
}

.search-form {
    flex: 1;
    display: flex;
    align-items: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 12px 16px;
    gap: 12px;
}

.search-form input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 18px;
    outline: none;
    color: #333;
}

.search-form input::placeholder {
    color: #666;
}

.search-submit {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-submit:hover {
    color: #333;
}

.search-close {
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.search-close:hover {
    color: #333;
}

@media (max-width: 768px) {
    .search-bar-wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .search-bar-wrapper .fship-logo {
        align-self: flex-start;
    }
}