.fileUploadProgress {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.fileUploadProgress span {
    background-color: #FAFAFA;
    padding: 20px;
    -webkit-box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 1px 2px 5px 0px rgba(0, 0, 0, 0.75);
    border-radius: 2px;
    display: inline-block;
    vertical-align: middle;
    position: fixed;
    top: 50%;
    height: 20px;
    width: 350px;
    margin-top: -10px;
    margin-left: -175px;
    z-index: 10000;
    display: none;
}

.channel_feedbackLabel {
    color: #333 !important;
    font-weight: bold;
}

@font-face {
    font-family: 'BancoDoBrasilTitulos';
    src: url('../fonts/BancoDoBrasilTitulos-Regular.ttf');
}

@font-face {
    font-family: 'BancoDoBrasilTextos';
    src: url('../fonts/BancoDoBrasilTextos-Regular.ttf');
}

.assuntos {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    flex-direction: column;
    margin-top: 1rem;
}

.cardAssunto {
    /* border: 1px #ddd solid; */
    padding: 1rem;
    box-shadow: 0px 0px 2px #ddd;
    transition: 0.5s linear;
    background: #fcfa315e;
}

.cardAssunto:hover {
    transition: 0.5s linear;
    box-shadow: 0px 3px 2px #eee;
    transform: translateX(-5px);
}

.cardAssunto:nth-child(4) {
    cursor: pointer;
}

#btCreate::after {
    display: none;
}

#labeattach::after {
    display: none;
}

/* --- Chat (pages/chat-main.html, modo chat em reportIncident) --- */
#typing-indicator {
    width: auto;
    display: none;
    font-size: 12px;
    margin: 8px 10px;
    padding: 0 10px;
    color: var(--light-transparent);
}

#typing-indicator.active {
    display: flex;
}

.bouncing-dots svg {
    animation: bounce 1.4s infinite ease-in-out;
}

.bouncing-dots svg:nth-child(2) {
    animation-delay: 0.2s;
}

.bouncing-dots svg:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.file-indicator,
.file-indicator-uploaded {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--gray-700);
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    margin: 10px 15px 0;
}

.file-indicator {
    background-color: var(--gray-100);
}

.file-indicator-uploaded {
    background-color: var(--green-200);
}

.file-indicator span,
.file-indicator-uploaded span {
    margin-right: 10px;
    display: inline-block;
}

.chat-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background-color: var(--gray-100);
}

.chat-container {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    overflow: hidden;
    background-color: var(--chat-bg);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--chat-border);
}

.chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    background-color: var(--chat-body-bg);
    position: relative;
}

.chat-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-top: 1px solid var(--gray-200);
    padding: 1.3rem;
}

@media (min-width: 640px) {
    .chat-footer {
        flex-direction: row;
        align-items: center;
    }
}

.chat-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.375rem;
    outline: none;
    width: 100%;
}

.chat-input:focus {
    border-color: var(--aliant-600);
    box-shadow: 0 0 0 2px var(--aliant-600-rgba);
}

.chat-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    margin: auto;
}

@media (min-width: 640px) {
    .chat-actions {
        width: auto;
    }
}

.chat-button {
    background-color: var(--aliant-600);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.chat-button svg {
    margin-bottom: 0;
    padding: 4px;
}

.chat-button:hover {
    background-color: var(--aliant-700);
}

.chat-button:disabled {
    background-color: var(--gray-400);
    cursor: not-allowed;
    opacity: 1;
}

.chat-button:disabled:hover {
    background-color: var(--gray-400);
}

.message-wrapper {
    display: flex;
}

.align-user {
    justify-content: flex-end;
}

.align-assistant {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 98%;
    padding: 0 0.75rem 0.75rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.message-user {
    background-color: var(--aliant-600);
    color: white;
    align-self: flex-end;
}

.message-assistant {
    background-color: var(--white);
    color: var(--gray-900);
    align-self: flex-start;
}

.message-time {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: block;
    text-align: right;
}

.message-time-user {
    color: var(--aliant-200);
}

.message-time-assistant {
    color: var(--gray-400);
}

.message-bubble p {
    line-height: 1.75rem;
    margin-bottom: 0.75rem;
    margin-top: 8px;
}

.message-bubble p:last-child {
    margin-bottom: 0;
}

.badge {
    color: #000;
    font-size: 1.125rem;
    margin: 0;
    padding: 0;
}

.card-green {
    border: none;
    background: #f1f1f1;
    padding: 1rem;
    margin-bottom: .5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    text-align: center;
}

.card-green h4 {
    margin: 0;
    line-height: 1.5;
}

/* ========== Fim: optionreport.html + chat (relato conversacional) ========== */