:root {
    --accent: #2970e4;
    --accentLighter: #3b82f6;
    --accentDarker: #175ed2;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0d1117;
    color: #c9d1d9;
    font-family: 'Fira Code', monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100dvh;
    overflow: hidden;
}

.browser-container {
    width: 100dvw;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #161b22;
}

.browser-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #0d1117;
}

#search-bar {
    flex: 1;
    margin-right: 10px;
    padding: 8px;
    border-radius: 5px;
    border: none;
    background-color: #0d1117;
    color: #c9d1d9;
    outline: 2px solid var(--accent);
}

button {
    padding: 8px 16px;
    border-radius: 5px;
    background-color: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-right: 5px;
}

button:hover {
    background-color: #2563eb;
}

.tab > button {
    background-color: #a21;
}

.tab > button:hover {
    background-color: #c43;
}

#tabs-container {
    display: flex;
    background-color: #161b22;
    padding: 5px;
    overflow-x: auto;
}

.tab {
    background-color: #1f2937;
    color: white;
    padding: 8px 12px;
    margin: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
    width: fit-content;
    min-width: fit-content;
    max-width: fit-content;
}

.tab:hover {
    filter: brightness(1.2);
}

.tab.active:hover {
    background-color: var(--accentLighter);
    filter: brightness(1);
}

.tab.active {
    background-color: var(--accent);
}

#browser-window {
    flex: 1;
    background-color: #0d1117;
    overflow: hidden;
}

.web-page {
    width: 100%;
    height: 100%;
    border: none;
}
