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

body {
    font-family: Arial, Helvetica, sans-serif;
}

/* Login Form */
.login-form {
    padding: 20px 26px;
    margin-top: 100px;
    outline: 1px solid #d2d2d2;
    border-radius: 4px;
}

#passcode-field {
    height: 2rem;
    width: 100%;
    padding: .5rem;
    border: 1px solid #cacaca;
    line-height: 1.5;
    font-size: 0.8rem;
    font-weight: 400;
}

.login-form button {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    background-color: rgb(206, 220, 241);
    border: none;
    border-radius: 2px;
    font-size: 0.8rem;
    font-weight: 400;
}

/* General Content */
header {
    display: flex;
    justify-content: end;
    align-items: center;
    height: 40px;
    padding-inline: 40px;
}

header ul {
    display: flex;
    list-style-type: none;
    gap: 20px;
    font-size: 0.9em;
}

h2 {
    padding-bottom: .3em;
    margin-bottom: 1rem;
    border-bottom: 1px solid #3d444db3;
    font-size: 1.5em;
}

a {
    text-decoration: none;
    color: #333;
}

a:hover {
    text-decoration: underline;
    color: #007BFF;
}

.content {
    margin-inline: 40px;
}

#mermaid-output {
    display: flex;
    justify-content: center;
    align-items: start;
}

#mermaid-output svg {
    width: 100%;
    height: auto;
}

.editors {
    display: flex;
    padding-block: 40px;
    gap: 40px;
}

.editor-container:first-child {
    width: 65%;
}

.editor-container:nth-child(2) {
    width: 35%;
}

footer {
    display: flex;
    justify-content: end;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px 20px;
}

.status-bar {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.20);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    font-size: 0.8em;
    color: #666;
}

#download-btn {
    all: unset;
    height: 18px;
    width: 18px;
    padding: 2px 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 13L1 14C1 15.6569 2.34315 17 4 17L14 17C15.6569 17 17 15.6569 17 14L17 13M13 9L9 13M9 13L5 9M9 13L9 1' stroke='%23666666' style='stroke:%23666666;stroke:color(display-p3 0.4000 0.4000 0.4000);stroke-opacity:1;' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    border: none;
    cursor: pointer;
}

#connection-dot {
    height: 8px;
    width: 8px;
    background-color: gray;
    border-radius: 50%;
    margin-right: 6px;
}

.status-divider {
    height: 22px;
    width: 1.5px;
    margin-inline: 7px;
    background-color: lightgray;
}