* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #121212;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

#app {
    width: 100%;
    max-width: 900px;
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    margin: 0 auto;
    padding: 20px;
}

section {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 8px;
}

/* Input fieldset */
fieldset {
    border: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 300px;
    margin: 0 auto;
}

.input-options {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}

/* Textarea */
textarea {
    width: 100%;
    height: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #444;
    background: #2b2b2b;
    color: white;
    resize: none;
    font-size: 14px;
}

textarea::placeholder {
    color: #bbb;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
}

button:disabled {
    background: #444;
    color: #777;
    cursor: not-allowed;
}

button:not(:disabled) {
    background: #007bff;
    color: white;
}

button:not(:disabled):hover {
    background: #0056b3;
}

select {
    width: 100%;
    padding: 10px 18px 10px 10px;
    border-radius: 8px;
    background: #2b2b2b;
    color: white;
    border: 1px solid #444;
    cursor: pointer;
    font-size: 14px;
}

label {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 8px;
    color: #bbb;
    transition: color 0.2s ease-in-out;
}

label:hover {
    color: #fff;
}

input[type='checkbox'] {
    transform: scale(1.2);
    accent-color: #007bff;
    border: 1px solid #444;
    border-radius: 4px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

input[type='checkbox']:hover {
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}

input[type='checkbox']:checked {
    background-color: #007bff;
    border-color: #0056b3;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
}

input[type='text'],
input[type='number'] {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    background: #2b2b2b;
    color: white;
    border: 1px solid #444;
    font-size: 14px;
    transition: border-color 0.2s ease-in-out;
}

input[type='text']:focus,
input[type='number']:focus,
input[type='text'][placeholder='Chat Mode (Functional | Conversational)']:focus {
    border-color: #007bff;
    outline: none;
}

#main-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    box-shadow: 0px 2px 8px rgba(255, 255, 255, 0.15);
    background-color: black;
}

.animated {
    border: 2px solid #ffcc00;
}

pre {
    background: #2b2b2b;
    padding: 12px;
    border-radius: 8px;
    font-size: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

#left {
    flex: 1;
}

#right {
    flex: 1;
}

footer {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#options {
    display: flex;
    flex-direction: row;
    gap: 10px;
}
