/*!
 * Copyright © [Alinkeo, LLC] [2024].
 * All rights reserved. Unauthorized copying, distribution, or modification of this code is strictly prohibited.
 */

/* This file is intended to make style changes to acr.html */

html,
body {
    min-height: 100vh;
    width: 100vw;
    background-color: #f2f5f7 !important;
}

.ProseMirror {
    border: 0px solid #ccc;
    font-Family: "Courier New, Courier, monospace";
    font-Size: "12pt";
}

.ProseMirror:focus {
    outline: none;
}

#draggable-elements li {
    background-color: #FFF;
    padding: 3px;
    margin-bottom: 3px;
    border-radius: 3px;
    font-size: 16px;
}

#toc>li {
    text-decoration: none;
    list-style-type: none;
}

#toc>li>ul>li {
    margin-left: 10px;
}

.divider {
    padding-left: 10px;
    padding-right: 10px;
    margin-left: 10px;
    margin-right: 10px;
}

body {
    display: flex;
    flex-direction: column;
    font-family: Arial, sans-serif;
    padding-top: 40px;
    padding-bottom: 40px;
}

#media-and-editor {
    flex: 1 0 auto;
}

#media {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    align-items: center;
}

div.divider {
    margin-left: 10px;
    margin-right: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

#media audio {
    width: 100%;
}

#media video {
    flex: 0 1 auto;
    width: 100%;
    height: auto;
}

#drop-area {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    flex: 0 1 auto;
}

.file-list {
    margin-top: 20px;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    width: 100%;
    justify-content: space-evenly;
}

#transcript-list {
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: space-evenly;
}

.file-item-title,
.transcript-item-title {
    max-width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.file-item-title p,
.transcript-item-title p {
    flex: 1 1 auto;
    overflow: hidden;
}

.file-item-title sl-dropdown,
.transcript-item-title sl-dropdown {
    flex: 0 0 auto;
}

.file-item {
    align-items: stretch;
}

/* .file-item, .transcript-item {
    width: 25%;
} */

#transcriptSearch,
#fileSearch {
    margin: 0 !important;
}

.file-item button {
    margin-left: 10px;
}

.file-preview {
    width: 100%;
    height: 450px;
}

.file-item .card--has-footer .card__footer {
    padding: 0 !important;
}

.file-item-footer {
    display: flex;
    margin: 0 auto;
    align-items: center;
}

.file-item-footer sl-button-group {
    margin: 0 auto;
    align-items: center;
}

input#file-upload {
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #aaa;
    border-radius: 20px;
}

.error-message {
    color: red;
    margin-top: 5px;
}

.input-group {
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    padding: 5px;
}

#drop-area.highlight {
    transition: opacity .5s ease-in-out;
    border: 4px dashed #ccc !important;
    background-color: #4a90e2;
    ;
}

#drop-area.highlight>#upload-icon {
    transition: opacity .5s ease-in-out;
    color: #ccc !important;
}

#job-alerts {
    display: flex;
    flex-direction: column;
}

#upload-icon {
    color: #4a90e2;
}

.utterance-list {
    height: 150px;
}

.utterance-list sl-skeleton {
    margin-bottom: 1rem;
}

.manager-controls {
    display: flex;
    flex-direction: row;
}

.manager-controls sl-input {
    flex: 1 0 auto;
}

.manager-controls sl-select {
    flex: 0 1 auto;
}

.job-name {
    display: block;
    font-size: 2em;
    /* margin-top: 0; */
    padding-top: 0.67em;
    padding-bottom: 0.67em;
    padding-left: 49px;
    /* margin-left: 0;  */
    /* margin-right: 0;  */
    margin: 0;
    font-weight: bold;
    color: white;
    background-color: #042B3E !important;
}

.split-panel-container {
    margin-left: 10px;
    margin-right: 10px;
}

#mediaSideContainer sl-split-panel div {
    margin-top: 10px;
    margin-bottom: 10px;
}

#mainContainer {
    min-height: 100%;
    margin-left: 40px;
    margin-right: 40px;
}

/* hover code for proceedings */
.acrProceedings,
.acrpro {
    background-color: transparent;
    transition: background-color 0.3s ease-in-out, border-radius 0.3s ease-in-out;
    /* Smooth transitions */
}

.acrProceedings:hover,
.acrpro:hover {
    background-color: var(--editor-bg-color);;
    border-radius: 5px;
}

#editor {
    min-height: calc(100% - 20px);
}

.navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

#instructions {
    font-size: x-large;
    color: #042B3E;
}

.hidden {
    display: none;
    visibility: collapse;
}

sl-split-panel::part(divider) {
    background-color: #AE9B63;
}

.editor-column {
    max-height: 953.25px;
    border: 1px solid #AE9B63;
    background-color: var(--editor-bg-color);;
}

div.number-column {
    max-height: 953.25px !important;
    overflow: hidden;
}

#editor-toolbar {
    margin: 0 auto !important;
    width: var(--editor-width);
    padding-top: 5px;
    padding-right: 5px;
    padding-bottom: 5px;
    padding-left: 5px;
    /* border-radius: 25px; */
    background-color: var(--editor-bg-color);;
}

#lines-and-editor {
    margin: 0 auto;
}

#menu {
    width: var(--editor-width);
    /* top | right | bottom* | left* */
    margin: 5px auto;
    background-color: white;
    border-radius: var(--sl-input-border-radius-medium);
}
