.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;
}

.boxesAssunto {
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Espaço entre os boxes */
}

.box {
    flex: 1;
    background-color: #f4f4f4;
    /* Apenas um exemplo de fundo para visualização */
    padding: 20px;
    flex: 1;
    min-width: 200px;
    /* Define uma largura mínima para os boxes */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    width: 100%;
    background: linear-gradient(white, white) padding-box,
        linear-gradient(to right, #1B3255, #FFCC00, #6C6D70) border-box;
    border: 4px solid transparent;
    text-align: center;
    overflow: hidden;
    /* Garante que o conteúdo não ultrapasse a borda */
    box-sizing: border-box;
    color: #1B3255;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: left;
    line-height: 1.9rem;
}

.box ul li {
    text-align: left;
}


/* ========== Início: optionreport.html + chat (relato conversacional) ========== */

/* --- pages/optionreport.html (#sectionChat) --- */
#sectionChat h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

#sectionChat .cards-container {
    min-height: 300px;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 12px 0;
}

#sectionChat .card {
    border-radius: 8px;
    width: 100%;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#sectionChat .card-green {
    background-color: var(--white);
    border: 1px solid var(--green-200);
    box-shadow: 0 2px 8px rgba(27, 50, 85, 0.06);
}

#sectionChat .card p {
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

#sectionChat .icon {
    font-size: 2.5rem;
    width: max-content;
    height: 2.25rem;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

#sectionChat .badge {
    background: var(--cor-primary);
    color: #fff;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 8px;
    margin-left: 6px;
}

@media (max-width: 1024px) {
    #sectionChat .cards-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    #sectionChat .card {
        width: 80%;
    }
}

@media (max-width: 768px) {
    #sectionChat .cards-container {
        flex-direction: column;
        align-items: center;
    }

    #sectionChat .card {
        width: 90%;
    }
}

@media (max-width: 480px) {
    #sectionChat .card {
        width: 95%;
        padding: 15px;
    }

    #sectionChat .card p {
        font-size: 14px;
    }
}

/* --- 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-bottom: 4rem;
    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: 1.5rem;
    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: 80%;
    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;
}

/* ========== Fim: optionreport.html + chat (relato conversacional) ========== */