
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(#080808, #1c0918);
    color: #eee;
}

header {
    background-color: #080808;
    padding: 8px 8px 2px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

#tabs {
    display: flex;
    overflow-x: scroll;
    border-radius: 8px;
    padding: 0 0 2px;
    height: 36px;
}

#tabs .tab {
    padding: 0;
    margin-right: 8px;
    background-color: #80808010;
    opacity: 0.75;
    border-radius: 7px;
    cursor: pointer;
    display: flex;
    max-width: 150px;
    min-width: 72px;
    overflow: hidden;
    height: 32px;
    align-items: center;
}

#tabs .tab.active {
    background-color: #80808030;
    opacity: 1 !important;
}

#tabs .tab .title {
    color: #eee;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin: 0 8px;
    font-family: 'Inter', system-ui;
    font-size: 14px;
    line-height: 1;
    height: 20px;
    align-self: center;
    align-content: center;
    user-select: none;
}

.close-btn.material-icons {
    font-size: 16px;
    font-weight: 600;
    color: #eee;
    background: transparent;
    height: 16px;
    width: 16px;
    padding: 4px;
    border-radius: 14px;
    user-select: none;
    text-align: center;
    align-content: center;
}

#tabs .tab .close-btn {
    margin: 0 8px;
    cursor: pointer;
    font-size: 20px !important;
    user-select: none;
}

#navBar {
    background-color: #080808;
    border-bottom: 1px solid #161616;
    padding: 0px 8px 8px;
    display: flex;
    align-items: center;
}

#navButtons {
    display: flex;
    align-items: center;
    width: 100%;
    background: #80808030;
    border-radius: 8px;
    height: 42px;
    padding: 0 8px;
}

#navBar button {
    cursor: default;
    background: none;
    border: none;
    font-size: 20px;
    width: 32px;
    height: 32px;
    color: #fff;
    font-display: optional;
}

button:disabled {
    opacity: 0.25;
}
button {
    user-select: none;
}

#addressBarContainer {
    display: flex;
    align-items: center;
    width: 100%;
    height: 32px;
    background: #10101080;
    border-radius: 8px;
    margin: 0 8px;
}

#addressBarContainer:focus-within {
    background: #101010;
    color: #eee;
}

#addressBarContainer button#lockButton, #addressBarContainer button#favoriteButton {
    /* margin-right: 0 !important; */
    font-size: 20px;
    width: 20px !important;
    height: 20px !important;
    color: #ccc;
    cursor: default;
    padding: 0 !important;
    margin: 0 8px 0 8px;
}

#addressBar {
    flex: 1;
    padding: 8px 0px;
    font-size: 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #ffffff90;
    font-family: 'Inter', system-ui;
    line-height: 1.25;
}

#addressBar:focus {
    outline: none;
}

#addressBar::placeholder {
    color: #80808080;
}

button#addTabButton {
    height: 32px;
    width: 32px;
    padding: 4px;
    color: #fff;
    background: #80808030;
    border: none;
    border-radius: 8px;
    margin-left: 8px;
}

main {
    height: calc(100vh - 99px);
    border-radius: 0;
    background: #161616;
    overflow: hidden;
    position: relative;
    margin: 0 0 0;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}

html {
    background-color: #080808;
    color: #eee;
    font-family: monospace;
}

#tabs::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: transparent;
}
#tabs::-webkit-scrollbar-track {
    border-radius: 0;
    margin: 8px;
}
#tabs::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
    border: 0px solid #080808;
}
#tabs::-webkit-scrollbar-thumb:hover {
    background: #333; 
}
#tabs::-webkit-scrollbar-corner {
    background: #111;
}
.context-menu {
    display: none;
    position: absolute;
    top: 84px;
    right: 8px;
    background-color: #242424;
    border: 0px solid #323232;
    border-radius: 8px;
    z-index: 1000;
    padding: 4px 0;
    box-shadow: 0 2px 8px 2px rgba(0, 0, 0, 0.4);
    width: 256px;
}
.context-menu>hr {
    padding: 0;
    margin: 4px 0;
    border: 1px solid #323232;
}
.context-item-container {
    padding: 0 4px;
}
.context-item {
    display: flex;
    background: none;
    border: none;
    color: #eee;
    padding: 2px 2px 2px 2px;
    text-align: left;
    width: 100%;
    cursor: default;
    border-radius: 4px;
    font-family: 'Inter', system-ui;
    align-items: center;
    justify-content: space-between;
}
.context-item:hover {
    background-color: #323232;
}
.context-item>span, .zoom-controls>span {
    padding: 0 4px;
    font-size: 12px !important;
    width: 100%;
}
.zoom-controls>span {
    padding: 0 !important;
    width: 48px;
    text-align: center;
}
.context-item.context-zoom {
    padding: 0;
}
.context-item.context-zoom:hover {
    background: none;
}
.context-item:disabled:hover {
    background: none;
}
i.material-symbols-rounded.context-item-icon {
    font-size: 20px;
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 20, 'opsz' 20 !important;
}
.vertrule {
    width: 0px;
    height: 20px;
    border-right: 2px solid #323232;
    margin: 0 4px;
}
.zoom-controls {
    display: flex;
    align-items: center;
    width: 130px;
    justify-content: space-between;
}
button.zoom-item {
    border: none;
    border-radius: 32px;
    background: #323232;
    color: #fff;
    width: 24px;
    height: 24px;
    padding: 2px;
}
button.zoom-item.zoom-fullscreen {
    border-radius: 4px;
}
button.zoom-item:hover {
    background: #484848;
    color: #fff;
}
.context-item.context-zoom>i.material-symbols-rounded.context-item-icon {
    padding-left: 2px;
}
/* SCROLLBAR */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background: transparent;
}
::-webkit-scrollbar-track {
    border-radius: 8px;
    margin: 8px;
}
::-webkit-scrollbar-thumb {
    background: #222;
    border-radius: 10px;
    border: 0px solid #080808;
}
::-webkit-scrollbar-thumb:hover {
    background: #333; 
}
::-webkit-scrollbar-corner {
    background: transparent;
}