:root {
    --dhc-bg-primary: #c4213e;
    --dhc-bg-accent: #162742;
}
body {
    background-image: url("../images/bg.png");
    height: 100vh;
    background-size: cover;
}
.logo {
    height: 200px;
}
.gpt-input-box {
    display: flex;
    align-items: center;
    padding: 12px;
    padding-left: 10px;
    width: 40vw;
    margin: auto;
    position: relative;
    box-sizing: border-box;
    border-radius: 50px;
    background: #e0ded8;
    /*box-shadow: 0px 21px 38px #c3c1bc;*/

    color: #fff;
    background: white;
    box-shadow: 0 11px 22px 0 rgb(0 0 0 / 0.1);
    border: solid 1px transparent;
    border-radius: 25px;
}
.gpt-input-box::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -1px;
    border-radius: inherit;
    background: linear-gradient(20deg, #b2b0ac, #b2b0ac);
}

.send-button {
    background: linear-gradient(145deg, #d22342, #b01e38);
    border-radius: 9999px;
    color: white;
    border: none;
    aspect-ratio: 1;
    width: 36px;
    height: 36px;
    box-shadow: 2px 2px 4px 0 rgb(167 28 53 / 0.3);
}

.send-button:hover {
    box-shadow: inset 2px 2px 4px 0 rgb(110 18 34 / 0.7);
}

.send-button-icon {
    height: 18px;
    width: 18px;
}
.input-box {
    width: 100%;
    border: none;
    border: none;
    overflow: auto;
    outline: none;
    margin-left: 6px;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #686868;

    resize: none;
    background: transparent;
    scrollbar-width: thin;
    scrollbar-color: #afada9;
}

.message-system {
    display: flex;
    align-items: center;
    max-width: 40vw;
    margin-bottom: 1rem;
    position: relative;
    padding: 8px;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    color: #373737;
    background: #ebe9e6;
    background-clip: padding-box;
    /* !importanté */
    border: solid 2px transparent;
    /* !importanté */
    border-radius: 1em;
}
.message-system::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    /* !importanté */
    border-radius: inherit;
    /* !importanté */
    background: linear-gradient(-45deg, #595959, transparent);
}
.message-error {
    display: flex;
    align-items: center;
    max-width: 40vw;
    margin-bottom: 1rem;
    position: relative;
    padding: 8px;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    color: #373737;
    background: #f7c2c2;
    background-clip: padding-box;
    /* !importanté */
    border: solid 2px transparent;
    /* !importanté */
    border-radius: 1em;
}
.message-error::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    /* !importanté */
    border-radius: inherit;
    /* !importanté */
    background: linear-gradient(-45deg, #860000, #c20909);
}

.message-box {
    width: 40vw;
    scrollbar-width: thin;
}

.message-user {
    display: flex;
    margin-bottom: 1rem;
    align-items: center;
    max-width: 40vw;
    position: relative;
    padding: 8px;
    padding-right: 15px;
    padding-left: 15px;
    box-sizing: border-box;
    color: #ffffff;
    background: #676664;
    background-clip: padding-box;
    /* !importanté */
    border: solid 2px transparent;
    /* !importanté */
    border-radius: 1em;
}
.message-user::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -1;
    margin: -2px;
    /* !importanté */
    border-radius: inherit;
    /* !importanté */
    background: linear-gradient(45deg, #000000, transparent);
}

.loading-dots {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    height: 40px;
}

.message-box-container {
    width: 40vw;
}

.loading-dots span {
    animation: blink 1.4s infinite both;
    font-weight: bold;
    color: #888;
}

.loading-dots span:nth-child(2) {
    animation-delay: 0.2s;
}
.loading-dots span:nth-child(3) {
    animation-delay: 0.4s;
}
.icebreaker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    max-width: 40vw;
    margin: 2rem auto;
    padding: 0 1rem;
}

.icebreaker-grid button {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 18px;
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.4;
}

.icebreaker-grid button:hover {
    background-color: #f7fafc;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}



@keyframes blink {
    0% {
        opacity: 0.2;
        transform: scale(1);
    }
    20% {
        opacity: 1;
        transform: scale(1.4);
    }
    100% {
        opacity: 0.2;
        transform: scale(1);
    }
}

.active-logo {
    position: absolute;
    left: 10px;
    top: 10px;
    height: 60px;
    
}

@media (max-width: 768px) {
    .message-user {
        max-width: 100%;
    }
    .message-box {
        width: 100%;
    }
    .message-error {
        max-width: 100%;
    }
    .message-system {
        max-width: 100%;
    }
    .gpt-input-box {
        width: 100%;
    }
    .message-box-container { 
        width: 100%;
    }
    .icebreaker-grid {
        max-width: 100%;
    }
}

/*
body {
    overflow-x: hidden;
}

.h1 {
    font-size: 2.2em;
}

.h2 {
    font-size: 1.45em;
}

.h3 {
    font-size: 16px;
}

.hr {
    width: 100%;
    height: 3px;
    background: var(--dhc-bg-primary);
    margin: 0;
}

.vr {
    width: 3px;
    height: 100%;
    background: var(--dhc-bg-primary);
    margin: 0;
    opacity: 100%;
}

.bg-dhc-accent {
    background-color: var(--dhc-bg-accent);
}
.bg-dhc-primary {
    background-color: var(--dhc-bg-primary);
}

.h-10 {
    height: 10% !important;
}

.h-90 {
    height: 90% !important;
}

.w-70 {
    width: 60% !important;
}

.w-60 {
    width: 60% !important;
}

.w-40 {
    width: 60% !important;
}

.w-30 {
    width: 40% !important;
}

.montserrat-bold {
    font-family: "Montserrat", serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}



li.dt-paging-button.page-item.active > a.page-link{
    background: var(--dhc-bg-primary) !important;
    border-color: var(--dhc-bg-primary) !important;
    color:white !important;
}
li.dt-paging-button.page-item > a.page-link {
    color: var(--dhc-bg-primary) !important;
}
li.dt-paging-button.page-item.active > a.page-link[aria-controls="empTable"]:focus {
    box-shadow: 0 0 0 5px rgba(196,33,62,0.3);
}

.truncate {
    max-width:50px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-outline-dhc {
    --bs-btn-color: #C81837;
    --bs-btn-border-color: #C81837;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #C81837;
    --bs-btn-hover-border-color: #C81837;
    --bs-btn-focus-shadow-rgb: 220, 53, 69;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #C81837;
    --bs-btn-active-border-color: #C81837;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #C81837;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #C81837;
    --bs-gradient: none;
}

.text-dhc {
    --bs-text-opacity: 1;
    color: rgba(161, 77, 77, var(--bs-text-opacity)) !important;
}

.text-dhc-light {
    color: var(--dhc-bg-primary);
}
.btn-dhc{
    color: var(--dhc-bg-primary);
}
.btn-dhc:hover{
    background: var(--dhc-bg-primary);
    color:white;
}
.btn-action{
    color: var(--dhc-bg-accent);
}
.btn-action:hover{
    background: var(--dhc-bg-accent);
    color:white;
}


.piscar {
    animation: pulsar 1s ease-in-out 3;
    color: white !important;
}

@keyframes pulsar {
    0%, 100% {
        background-color: transparent;
        color: white
    }
    50% {

        background: var(--dhc-bg-primary);
        color: white;
    }
}

.text-dhc-light:hover, .text-dhc-light:active, .text-dhc-light:focus {
    --bs-text-opacity: 1;
    color: rgba(161, 77, 77, var(--bs-text-opacity)) !important;
}

.bg-grey {
    background: #EAEAEA;
}

.bg-grey.hover:hover {
    background: #cccccc;
}

.shadow-sm-inset {
    box-shadow: inset 0 .125rem .25rem rgba(0, 0, 0, .075) !important;
}

.list-style-none {
    list-style: none;
    padding: 0;
}

.bg-light {
    background: #F5F5F5;
}


#topButton {
    display: none; 
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: solid 3px var(--dhc-bg-primary);
    outline: none;
    background-color: white;
    color: var(--dhc-bg-primary);
    cursor: pointer; 
    border-radius: 100%;
    font-size: 18px;
}

#topButton:hover {
    background-color: var(--dhc-bg-primary);
    color: white;
}

.dhc-flex-row{
    flex-direction: row;
}
.dhc-w-70-100{
    width: 70%;
}
.dhc-w-30-100{
    width: 30%;
}
.dhc-separator{
    display: block;
    margin-right: 40px;
    margin-top: 16px;
}
.dhc-overflow-x-true{
    overflow-x: hidden;
}
@media (max-width: 768px) {
    .dhc-flex-row {
        flex-direction: column;
    }
    .dhc-w-70-100{
        width: 100%;
    }
    .dhc-w-30-100{
        width: 100%;
    }
    .dhc-separator{
        display: none;
    }
    .dhc-overflow-x-true{
        overflow-x: scroll;
    }
}

.item-card{
    background: #f4f4f4;
    padding: 20px;
    border-radius: 10px;
    border: solid 1px #e8e8e8;
    margin-bottom: 20px;
}


*/
