header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;

    display: grid;
    grid-template-columns: 1fr auto;

    padding: 0 30px;
    align-items: center;

    box-sizing: border-box;
    background: transparent;
    z-index: 9999;
}

header img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    cursor: pointer;
}

.left {
    justify-self: start;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.right {
    justify-self: end;
}

#settingsMenu {
    position: fixed;
    top: 90px;
    right: 20px;
    background: var(--bg);
    color: var(--text);
    border-radius: 10px;
    padding: 10px 0;
    width: 200px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 10000;
}

#settingsMenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#settingsMenu li {
    padding: 12px 20px;
    cursor: pointer;
    font-size: 16px;
}

#settingsMenu li:hover {
    background: rgba(0, 0, 0, 0.1);
}

.typing-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#typingText,
#searchInput {
    font-size: 20px;
    line-height: 1;
    height: 24px;
}

#searchInput {
    position: absolute;
    left: 0;
    top: 0;

    width: 200px;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);

    padding: 0;
    margin: 0;

    opacity: 0;
    pointer-events: none;
}

#typingText {
    color: var(--text);
    border-right: 2px solid var(--text);
    padding-right: 5px;
    white-space: nowrap;
    overflow: hidden;

    display: flex;
    align-items: center;
}
