@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
    --text-color: #00193F;
    --primary-color: #004DC0;
    --primary-hover: #448FFF;
    --border-color: #DDDDDD;
    --success-color: #0f5132;
    --success-bg-color: #d1e7dd;
    --success-accent-color: #198754;
    --info-color: #055160;
    --info-bg-color: #cff4fc;
    --info-accent-color: #0dcaf0;
    --error-color: #842029;
    --error-bg-color: #f8d7da;
    --error-accent-color: #DC3545;
}

* {
    color: var(--text-color);
}

h2 {
    font-weight: bold;
}

.logo {
    margin: 30px;
}

.primary-color, a {
    color: var(--primary-color);
}

.animate-grow-down {
    animation: 0.5s ease-out 0s 1 GrowDown;
}

.animate-shrink-up {
    animation: 0.5s ease-out 0s 1 ShrinkUp;
}

.logo-small {
    width: 60px;
    height: 60px;
}

.logo-medium {
    width: 90px;
    height: 90px;
}

.logo-large {
    width: 150px;
    height: 150px;
}

.container {
    position: relative;
    justify-content: center;
    align-items: center;
    gap: 50px 50px;
    padding: 50px 50px 0px 50px;
}

.card {
    position: relative;
    width: 330px;
    height: 170px;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

    .card:hover {
        transform: translateY(-5px);
        transition: 0.5s;
        cursor: pointer;
    }

.card-body {
    align-content: center;
    text-align: center;
}

.card-title {
    margin-top: 25px;
}

.card-text {
    font-size: 12px;
}

.g-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 20px; /* Space between elements */
    justify-items: center;
}

.chat-question .chat-bubble {
    background-color: #dae9ff;
    border: none;
    align-self: end;
}

.chatResponses {
    display: flex;
    height: 55vh;
    overflow:auto;
    flex-wrap: nowrap;
}
.chat-unit > .col {
    margin: 10px 0;
    max-width: 75%;
    width: auto;

}

.chat-unit {
    display: flex;
    flex-direction: column;
}

    .chat-question {
        align-self: end;
    }

        .chat-question .feedback-row {
            display: none;
        }

.chat-bubble {
    border: solid 1px var(--border-color);
    border-radius: 0.5rem;
    padding: 15px;
}

.chat-bubble p {
    margin: 0px;
}

.chat-bubble pre {
    background-color: #e8e8e8;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    border: 1px solid #000000;

}

.feedback-inputs label:hover {
    cursor: pointer;
}

.feedback-inputs label:hover > i {
    transition: 0.5s;
    color: var(--primary-color);
    font-weight: bold;
}

        .feedback-inputs label:hover > i.fa-thumbs-up {
            transform: translateY(-7px);
        }

        .feedback-inputs label:hover > i.fa-thumbs-down {
            transform: translateY(7px);
        }

.feedback-inputs input[type=checkbox] {
    -webkit-appearance: none;
    color: black;
}

    .feedback-inputs input[type=checkbox]:checked + i {
        color: var(--primary-color);
        font-weight: bold;
    }

.feedback-inputs label:hover input[type=checkbox]:checked + i {
    transition: 0.5s;
    font-weight: unset;
    color: unset;
}

.reaction-text {
    transition: 1s;
}

.innov-btn {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    font-style: normal;
    border: none;
    min-height: 55px;
    padding: 17px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: 0.4s;
    left: 13px;
}

    .innov-btn:before {
        bottom: 0;
        content: '';
        display: inline-block;
        left: -13px;
        position: absolute;
        top: 0;
        transition: 0.4s;
        -webkit-transition: 0.4s;
        width: 10px;
        background-color: var(--primary-color);
    }

.innov-btn:hover, .innov-btn:hover:before {
    background-color: var(--primary-hover);
}

.innov-input {
    background-color: rgba(68, 143, 255, 0.2);
    padding: 10px 12px;
    border: none;
    width: 100%
}

.button-clear-chat {
    height: 36px;
    width: 38px;
    padding: 14px;
    margin-left: 20px;
    border: none;
    background: url(../../Images/ClearHistory.png);
    background-size: auto;
}

.fadein-on-load {
    animation: 1s ease-out 0s 1 FadeInAnimation;
    opacity: 1;
}

.fadeout-on-click {
    opacity: 0;
    display: none;
}

.button-reference {
    background-color: transparent;
    color: var(--primary-color);
    opacity: .8;
    border: none;
    width: 70px;
    text-align: center;
    white-space: nowrap;
    margin-top: 10px;
}

.citation-card {
    position: relative;
    /*TODO: Can be adjusted once columns are fixed*/
    width: 500px;
    border-radius: 0px;
    border: 1px solid var(--border-color);
    margin-top: 20px;
    margin-bottom: 20px;
}

.citation-card-body {
    align-content: center;
}

.citation-card-title {
    margin-top: 30px;
    float: left;
    margin-left: 30px;
}

.citation-card-text {
    font-size: 12px;
}

.citation-card img {
    max-width: 100% !important;
    height: auto !important;
}

.button-close-citations {
    background-color: transparent;
    border: none;
    width: 20px;
    text-align: center;
    margin-right: 30px;
    float: right;
    margin-top: 30px;
    font-size: 20px;
}

.citation-link-text {
    text-decoration-line: none;
    text-decoration: none;
    font-weight: bold;
    align-items: center;
}

.citation-arrow {
    text-decoration-line: none;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    align-items: center;
}

.citation-arrow:hover * {
    color: var(--primary-color);
}

    .citation-arrow > div {
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

.clickable:hover, .clickable:hover * {
    cursor: pointer;
    color: var(--primary-color);
}

.my-accordian-body {
    padding: 0.25rem 1.25rem;
}

@keyframes GrowDown {
    0% {
        transform: scale(0.5) translate(0, -100%);
    }

    100% {
        transition: 0.1s;
        transform: none;
    }
}

@keyframes ShrinkUp {
    0% {
        transform: scale(2) translate(0, 50%);
    }

    100% {
        transition: 0.1s;
        transform: none;
    }
}

@keyframes FadeInAnimation {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes FadeOutAnimation {
    0% {
        opacity: 1;
    }
  
    100% {
        opacity: 0;
        display: none;
    }
}

.scrollarea {
    overflow-y: scroll;
    height: 65vh;
}