/* Basic styling for the layout */
html,
body {
    font-family: Arial, sans-serif;
    height: 100%;
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

table,
th,
td {
    border: 1px solid black;
    padding: 8px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.btn {
    background-color: #4caf50;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.btn:hover {
    background-color: #45a049;
}

input#openAiApiKey {
    width: 100%;
    box-sizing: border-box;
}

textarea {
    flex: 1;
    width: 100%;
    line-height: 1.6;
    box-sizing: border-box;
    resize: none;
}

div#container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

div#content {
    display: flex;
    flex: 1;
    height: 100%;
}

div#sidebar {
    display: flex;
    flex-direction: column;
    background-color: #f4f4f4;
    width: 500px;
    height: 100%;
    box-sizing: border-box;
}

div#sidebar-content {
    flex: 1;
    display: flex;
    gap: 0.5em;
    flex-direction: column;
    box-sizing: border-box;
}

div#main {
    flex: 1;
    padding: 1rem;
    height: 100%;
    box-sizing: border-box;
}

div#footer {
    vertical-align: middle;
    display: none;
}

span#source {
    font-size: 10px;
}

.hiddenThrobber {
    display: none;
}

#throbbingCircle {
    width: 2em;
    height: 2em;
    background-color: grey;
    border-radius: 50%;
    animation: throb 1.5s infinite ease-in-out;
}

@keyframes throb {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
}
