/* ===============================
   Search UI Variables
=============================== */
:root {
    --search-height: 40px;
    --search-font-size: 15px;
    --search-border: 2px solid #3b4a9f;
    --search-color: #3b4a9f;
}

/* ===============================
   Search Form Wrapper
=============================== */
.search-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 20px 0 12px;
    font-size: var(--search-font-size);
}

/* 모든 내부 요소 기본 세팅 */
.search-form * {
    box-sizing: border-box;
    font-size: inherit;
}

/* ===============================
   Dropdown
=============================== */
.dropdown {
    position: relative;
}

.dropdown-btn {
    width: 120px;
    height: var(--search-height);
    padding: 0 10px;
    border: var(--search-border);
    border-radius: 0;
    background: #fff;
    color: var(--search-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

/* 드롭다운 메뉴 */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 120px;
    border: var(--search-border);
    border-top: none;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    z-index: 100;
}

.dropdown-menu li {
    height: 35px;
    padding: 0 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.dropdown-menu li:hover {
    background: #eef1ff;
}

/* ===============================
   Search Input + Button
=============================== */
.search-group {
    display: flex;
}

.search-input {
    width: 400px;
    padding: 0 10px;
    height: var(--search-height);
    border: var(--search-border);
    outline: none;
}

.search-btn {
    width: var(--search-height);
    height: var(--search-height);
    border: var(--search-border);
    border-radius: 0;
    background: var(--search-color);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
