﻿@font-face {
    font-family: GDS Transport;
    font-style: normal;
    font-weight: 400;
    src: url(~/fonts/govuk/light-94a07e06a1-v2.woff2) format("woff2"),url(~/fonts/govuk/light-94a07e06a1-v2.woff2) format("woff");
    font-display: fallback
}

@font-face {
    font-family: GDS Transport;
    font-style: normal;
    font-weight: 700;
    src: url(~/fonts/govuk/bold-b542beb274-v2.woff2) format("woff2"),url(~/fonts/govuk/bold-b542beb274-v2.woff2) format("woff");
    font-display: fallback
}

.highlighted-block {
    background-color: #f3f2f1;
    border-top: 2px solid #0b0c0c;
    padding: 1em;
}

input.uppercase {
    text-transform: uppercase;
}

.govuk-visually-hidden {
    display: none;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

.app-table-col-title {
    width: 11em;
}

.app-table-col-change {
    width: 3em;
}

.app-modal {
}

.app-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background-color: #000;
    opacity: 0.5;
}

.app-modal-wrap {
    width: 25em;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -6em;
    margin-left: -12.5em;
    background-color: #fff;
    z-index: 11;
    border-color: #000;
}


.ac-pushButton {
    color: #0b0c0c !important;
    font-weight: normal !important;
    font-family: Calibri, "Helvetica Neue", Arial, "sans-serif";
    font-size: 16px !important;
}

    .ac-pushButton:hover {
        background-color: #cccccc !important;
    }

    .ac-pushButton[aria-pressed="true"] {
        background-color: #0b0c0c !important;
        border-color: #0b0c0c !important;
        color: white !important;
    }

.ac-textBlock,
.ac-actionSet,
p {
    font-size: 16px !important;
}

.ac-adaptiveCard p{
    padding-bottom:4px !important;
}

body {
    margin: 0px;
    overflow: hidden;
}

.off-canvas-content, .off-canvas-content {
    min-height: unset;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /*5% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: black;
    position: absolute;
    font-size: 35px;
    font-weight: bold;
    top: 6px;
    right: 23px;
}

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

/*#webchat {*/
/*font-family: 'Calibri, "Helvetica Neue", Arial, "sans-serif";';*/
/*font-size: 16px;
}*/

/*.chat-container {
    width: 600px;
    height: 600px;
    border: 1px solid #ccc;
    border-radius: 0px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-color: white;
}*/


#webchat {
    height: 100vh; /* Ensure the chat container takes up the full height */
    max-height: 542px; /* Set maximum height */
    display: flex;
    flex-direction: column;
}

.chat-container {
    flex: 1; /* Allow the chat container to grow and take up available space */
    display: flex;
    flex-direction: column;
    max-height: 620px; /* Set maximum height */
    overflow: hidden;
}

.chat-header-box {
    background: #0b0c0c;
    text-align: left;
    padding-left: 10px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: none !important;
    color: #fff;
    font-family: Calibri, "Helvetica Neue", Arial, "sans-serif";
    font-size: 18px;
}

.chat-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: normal;
}

.chat-body {
    flex: 1;
    overflow-y: auto; /* Enable scrolling within the chat body */
    scroll-behavior: smooth;
    padding-bottom: 10px; /* Add some padding to ensure input box visibility */
    background-color: #f0f0f0; /* Light background */
}

.webchat__content {
    flex-grow: 1; /* Ensure message area takes remaining space */
    overflow-y: auto; /* Allow scrolling for messages if overflow */
}

.webchat__send-box {
    position: sticky;
    bottom: 0;
    z-index: 1; /* Ensure it stays on top */
    flex-shrink: 0;
    background-color: white; /* Optional: Set background color for send box */
}
