/* General reset */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #333;
    color: #f2f2f2;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000;
    color: #f2f2f2;
}

header h1 {
    margin: 0;
}

@font-face {
    font-family: "uicons-bold-rounded";
    src: url("https://cdn-uicons.flaticon.com/2.6.0/uicons-bold-rounded/webfonts/uicons-bold-rounded.woff2") format("woff2"),
    url("https://cdn-uicons.flaticon.com/2.6.0/uicons-bold-rounded/webfonts/uicons-bold-rounded.woff") format("woff"),
    url("https://cdn-uicons.flaticon.com/2.6.0/uicons-bold-rounded/webfonts/uicons-bold-rounded.eot#iefix") format("embedded-opentype");
    font-display: swap;
}

nav button,
nav input[type=file]::before {
    margin-right: 10px;
    padding: 8px 11px 5px 11px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    background-color: #0a84ff;
    color: #f2f2f2;
    border-radius: 5px;
    transition: 0.3s;
    border: none;
}
nav input[type=file] {
    content: '';
    color: transparent;
}
nav input[type=file]::-webkit-file-upload-button {
    visibility: hidden;
}
nav input[type=file]::before {
    font-family: "uicons-bold-rounded";
    content: '\f09c';
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    padding: 7px 11px 9px 11px;
}

nav button:hover,
nav input[type=file]::before:hover {
    background-color: #085eb4;
    color: white;
    transition: 0.2s;
}

main#workspace {
    position: relative;
    height: calc(100vh - 60px);
    background-color: #333;
    overflow: hidden;
}

.window {
    position: absolute;
    top: 10px;
    left: 10px;
    /* border: 1px solid white; */
    min-width: 450px;
    min-height: 300px;
    border-radius: 15px;
    background-color: #444;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    resize: both;
    /* overflow: auto; */
    overflow: hidden;
}

.window-header {
    background-color: #3d3d3d;
    height: 30px;
    min-height: 30px;
    cursor: move;
}

.window-title {
    width: 100%;
    height: 30px;
}

.window-header .url-input {
    position: absolute;
    right: 33px;
    top: 15px;
    transform: translateY(-50%);
    background-color: #333;
    border: none;
    border-radius: 5px;
    height: 20px;
    color: #757575;
    width: 30%;
    min-width: 150px;
}
.window-header .url-input:focus {
    outline: none;
}


.window-header .close-btn {
    position: absolute;
    right: 0;
    top: 15px;
    transform: translateY(-50%);
    border: none;
    background-color: transparent;
    color: #757575;
    font-size: 20px;
    height: 25px;
    width: 32px;
    cursor: pointer;
    transition: 0.2s;
}
.window-header .close-btn:hover {
    color: #f2f2f2;
    transition: 0.2s;
}

.window-content {
    width: 100%;
    height: calc(100% - 34px);
}

.window-content::-webkit-scrollbar {
    display: none;
}