@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color:rgba(255,255,255,0) !important
}

html, body {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

    .title.title-secondary {
        padding-top: 0.313rem;
        padding-bottom: 0;
        color: var(--bs-secondary-color);
    }

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
    padding: 0.3125rem 0;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.chat-demo-container {
    width: 100%
}

.demo-chat {
    width: 100%;
    height: 700px;
}


.dxbl-btn.dxbl-disabled, .dxbl-btn:disabled {
    border-color: #008743;
    background: #008743;
    background-color: #008743;
    color: var(--dxbl-btn-disabled-color);
    opacity: var(--dxbl-btn-disabled-opacity);
}
.dxbl-btn-primary:where(:not(.dxbl-btn-standalone)) {
    --dxbl-btn-bg: #008743;
    --dxbl-btn-border-color: #008743;
    --dxbl-btn-color: #fff;
    --dxbl-btn-active-bg: #008743;
    --dxbl-btn-active-color: #fff;
    --dxbl-btn-active-border-color: #008743;
    --dxbl-btn-hover-bg: #008743;
    --dxbl-btn-hover-color: #fff;
    --dxbl-btn-hover-border-color: rgb(85.5, 48.6, 126.9);
    --dxbl-btn-disabled-bg: rgb(159, 134.4, 186.6);
    --dxbl-btn-disabled-color: #fff;
    --dxbl-btn-disabled-border-color: rgb(159, 134.4, 186.6);
    --dxbl-btn-disabled-opacity: 1;
    --dxbl-btn-focus-shadow-color: rgba(95, 54, 141, 0.5);
    --dxbl-btn-focus-shadow-spread: 0.125rem;
    --dxbl-btn-focus-shadow-blur: 0rem;
}
.dxbl-chatui-root .dxbl-chatui .dxbl-chatui-messages .dxbl-chatui-message.dxbl-chatui-message-user {
    background-color: #a0d7bb;
    color: var(--dx-chatui-message-user-color);
}

/*.fixed-chat-btn {
    position: fixed;
    right: 32px;
    bottom: 32px;
    z-index: 1000;
    padding: 16px 24px;
    border-radius: 50px;
    background: #0078d4;
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 1.2em;
    cursor: pointer;
}
*/


.close-chat-btn {
    position: absolute;
    top: 50px;
    right: 32px;
    z-index: 2100;
    padding: 10px 18px;
    border-radius: 50px;
    background: #d32f2f;
    color: white;
    border: none;
    font-size: 1em;
    cursor: pointer;
}
.fixed-chat-btn {
    position: fixed;
    right: 5px;
    bottom: 5px;
    z-index: 1000;
    padding: 18px;
    border-radius: 50%;
    background: #fff;
    color: #008743;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    font-size: 2em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .fixed-chat-btn .oi-chat {
        font-size: 2em;
        color: #008743;
    }
    .fixed-chat-btn img{
        width:50px
    }
    .pulse {
        animation: pulse 1.2s infinite;
    }

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,135,67, 0.7);
        transform: scale(1);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(0,135,67, 0);
        transform: scale(1.08);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0,135,67, 0);
        transform: scale(1);
    }
}

.fullscreen-chat-overlay {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 400px;
    max-width: 95vw;
    height: 600px;
    max-height: 100vh;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    padding: 0;
}

.ia-annotation {
    background: #e6f4ea;
    color: #008743;
    font-weight: bold;
    border-radius: 4px;
    padding: 2px;
    margin: 2px;
    font-size: 0.8em;
    display: inline-block;
}
.demo-chat textarea::placeholder {
    color: #888;
    content: "Pregunta a hestia" !important; /* Browser may or may not respect `content` here */
}