/* Base Styles for Search Overlay */
.angie-search-trigger-wrapper {
    display: inline-block;
}

.angie-search-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
}

.angie-search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.angie-search-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.angie-search-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 40px;
    line-height: 1;
    padding: 10px;
    transition: transform 0.3s ease;
    z-index: 100000;
}

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

.angie-search-content {
    width: 100%;
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 100000;
}

.angie-search-form {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    padding-bottom: 10px;
}

.angie-search-input {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 32px;
    font-weight: 300;
    padding: 10px 60px 10px 10px;
    outline: none;
}

/* Hide default search input focus outline */
.angie-search-input:focus {
    outline: none;
    box-shadow: none;
}

.angie-search-submit {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 24px;
    padding: 10px;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.angie-search-submit:hover {
    opacity: 1;
}

.angie-search-description {
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.7;
}

/* Animations */
.angie-search-overlay .angie-search-content {
    transform: translateY(20px);
    transition: transform 0.4s ease-out;
}

.angie-search-overlay.is-active .angie-search-content {
    transform: translateY(0);
}
