body {
    background-image: url("./static/bg.svg");
    font-size: 0.9rem;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    position: absolute;
    top: 2rem;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    overflow: auto;
    max-width: 47rem;
    padding: 20px;
    padding-bottom: 10px;
    background-color: #fff;
    border-radius: 16px;
    border-right: 1px solid rgb(228, 228, 231);
    border-left: 1px solid rgb(228, 228, 231);
    box-shadow: rgba(212, 212, 216, 0.2) 0px 0px 0px 8px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.logo {
    margin-top: 20px;
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: rgb(9, 9, 11);
    font-weight: 500;
}

.form-control {
    font-size: 0.9rem;
}

.form-submit-group {
    display: flex;
    gap: 0.5rem;
}

.btn {
    background: rgb(47, 128, 237);
    border: none;
    font-size: 14px;
}

.agent-question {
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.margin-div {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 10px;
}

.agent_response {
    background-color: #fff;
    margin: 10px;
    padding: 10px 15px;
    border-radius: 12px;
}

.report {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 2rem;
}

.report-div {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.report h2 {
    font-size: 0.9rem;
    margin-bottom: 0rem;
}

#outputzh,#outputen,#outputja, #reportContainerzh, #reportContaineren, #reportContainerja {
    flex-grow: 1;
    padding: 10px;
    overflow: auto;
    background-color: rgba(246, 246, 247, 0.6);
    border: 1px solid rgb(228, 228, 231);
    margin-top: 0.5rem;
    max-height: 400px;
}

#reportContainer, #reportContaineren, #reportContainerja {
    padding: 20px 30px;
}

.powered-by {
    text-align: center;
    position: absolute;
    bottom: 0.1rem;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    width: 100%;
}

.powered-by a {
    color: rgb(161, 161, 170);
    font-weight: 500;
    font-size: 12px;
    text-decoration: none;
    display: flex;
    justify-content: center;
    gap: 3.5px;
}

.powered-by span {
    color: rgb(161, 161, 170);
    font-weight: 500;
    font-size: 12px;
    text-decoration: none;
}

.powered-by img {
    object-fit: contain;
    margin-top: 2px;
}

#copyToClipboard, #downloadLink {
    color: rgb(82, 144, 255);
    cursor: pointer;
}
#copyToClipboard:hover, #downloadLink:hover {
    color: rgb(82, 144, 255);
    text-decoration: none;
}

.disabled {
    color: #b3b3b3 !important;
    cursor: default !important;
}

.report-out {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.report-out_title-status, .logs-out_title-status {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

#status {
    font-size: 0.9rem;
    margin-bottom: 0;
    padding: 0;
}

/* HTML: <div class="loader"></div> */
.loader {
    width: 17.5px;
    padding: 2px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #2f80ed;
    --_m: conic-gradient(#0000 10%,#000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    animation: l3 1s infinite linear;
}
@keyframes l3 {to{transform: rotate(1turn)}}

.share-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 2.15rem;
    bottom: 2.5rem;
    left: 11%;
    right: 11%;
    padding: 1.25rem 2.25rem;
    box-shadow: 50px 50px 100px 10px rgba(0, 0, 0, .1);
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #dedede;
}

.share {
    flex-grow: 1;
    align-content: center;
    align-self: center;
    text-align: center;
}

.share {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.share-container-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.share-container-header > a {
    display: flex;
    justify-content: center;
    align-items: center;
}

.share-container-header > a > svg {
    padding: 0.55rem;
    border-radius: 50%;
    background-color: rgb(244 244 245);
}

.share-btn {
    border: none;
    background-color: #000;
    border-radius: 10px;
    color: #fff;
    padding: 10px;
    width: 98px;
    margin-bottom: 10px;
    font-size: 12px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .container, .share-container {
        top: 0;
        bottom: 0;
        border-radius: 0;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 42px;
    }
    .share-container {
        left: 0;
        right: 0;
        padding-left: 20px;
        padding-right: 20px;
    }
    .powered-by {
        bottom: 0.175rem;
    }
    .powered-by img {
        margin-top: 1px;
    }
}

.tooltip-copy {
    background-color: #303133;
    padding: 5px 10px;
    color: #fff;
    position: absolute;
    width: 90px;
    gap: 2.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 2.5px;
    font-size: 12px;
    bottom: -32.5px;
    opacity: 0;
    transition: all 0.15s ease-in;
}
.visible {
    opacity: 1;
}
.tooltip-copy::after {
    content: "";
    background-color: #303133;
    width: 10px;
    height: 10px;
    position: absolute;
    left: 10px;
    top: -2.5px;
    transform: rotate(45deg);
}
.research-message-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 7.5px;
    position: fixed;
    top: -36px;
    height: 36px;
    left: 50%;
    transform: translateX(-50%);
    border: none;
    border-radius: 8px;
    background-color: #fff;
    padding: 7.5px 15px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transition: all 0.25s ease-in-out;
}

.message-visible {
    opacity: 1;
    top: 1.5%;
}

.translate {
    float: right;
    position: inherit;
    right: 36px;

    .dropdown-content {
        display: none;
        position:absolute;
        right: 10px;
        background-color: #f9f9f9;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        border-radius: 5px;
        z-index: 1;
        a {
            color: black;
            padding: 12px 16px;
            text-decoration: none;
            display: block;
        }
    }
    
    .dropdown-content a:hover {background-color: #f1f1f1}
    .dropdown-content a:active {background-color: #b1b1b1}
}

.hand-cursor {
    cursor: pointer;
}

#question-modal {
    cursor: pointer;
}

#modal {
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: opacity(0.5);
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}
.modal-body {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    padding: 24px 24px 30px;
    background-color: #fff;
    box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.02) 0px 0px 5px 0px, rgba(0, 0, 0, 0.06) 0px 2px 10px 0px, rgba(0, 0, 0, 0.3) 0px 0px 1px 0px;
    border-radius: 14px;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.modal-visible {
    opacity: 1;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-list {
    color: #000;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 20px !important;
}

@media (max-width: 768px) {
    .modal-body {
        top: 50%;
        left: 2.5px;
        right: 2.5px;
        transform: translate(0, -50%);
        padding: 24px;
        padding-bottom: 0;
    }
    #agent-question {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .research-message-container {
        left: 5%;
        transform: translateX(5%);
    }
}

table, th, td {
    border: 1px solid rgb(235, 238, 245);
    border-collapse: collapse;
}

th {
    background-color: #f5f7fa;
    padding: 15px 0px 15px 10px;
    width: 175px;
}

td {
    padding: 15px 0px 15px 10px;
}

.app-desc-content {
    padding-left: 20px;
}

#task {
    box-shadow: none !important;
}
.form-control {
    box-shadow: none !important;
}
input[type='submit'] {
    box-shadow: none !important;
}

.input-disabled {
    cursor: not-allowed !important;
    border: 1px solid #ced4da;
    background-color: #e9ecef !important;
    color: #000;
}
.input-disabled:focus, .input-disabled:hover, .input-disabled:active, .input-disabled:visited {
    color: #000;
    box-shadow: none !important;
    border: 1px solid #ced4da;
}

#reportContainer > h2 {
    margin-bottom: 0.5rem;
}