@import '_content/Microsoft.FluentUI.AspNetCore.Components/Microsoft.FluentUI.AspNetCore.Components.ewdlgswx1m.bundle.scp.css';

/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-q0c6au28fn] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-q0c6au28fn] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Pages/Emails.razor.rz.scp.css */
/* === CSS COMPLETO E CORRIGIDO - VERSÃO FINAL === */

/* Reset global */
*[b-rtlf2cb5xw] {
    box-sizing: border-box;
}

.outlook-layout[b-rtlf2cb5xw] {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: white;
}

.outlook-main[b-rtlf2cb5xw] {
    display: flex;
    flex: 1;
    overflow: hidden;
    height: 100%;
}

/* Navegação - Pastas */
.navigation-pane[b-rtlf2cb5xw] {
    width: 200px;
    background-color: #faf9f8;
    border-right: 1px solid #e1dfdd;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.navigation-header[b-rtlf2cb5xw] {
    padding: 6px 10px;
    border-bottom: 1px solid #e1dfdd;
    background-color: #f3f2f1;
    font-weight: 600;
    font-size: 0.8rem;
    height: 32px;
    display: flex;
    align-items: center;
}

.folder-list[b-rtlf2cb5xw] {
    flex: 1;
    overflow-y: auto;
    padding: 2px 0;
}

.folder-item[b-rtlf2cb5xw] {
    padding: 3px 8px 3px 6px;
    margin: 1px 3px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #323130;
    text-decoration: none;
    font-size: 0.78rem;
    line-height: 1.2;
    height: 24px;
    transition: background-color 0.1s;
}

    .folder-item:hover[b-rtlf2cb5xw] {
        background-color: #edebe9;
    }

    .folder-item.active[b-rtlf2cb5xw] {
        background-color: #e1dfdd;
        font-weight: 600;
    }

.folder-icon[b-rtlf2cb5xw] {
    margin-right: 5px;
    width: 12px;
    text-align: center;
    flex-shrink: 0;
    font-size: 0.8rem;
}

.folder-list[b-rtlf2cb5xw]::-webkit-scrollbar {
    width: 4px;
}

.folder-list[b-rtlf2cb5xw]::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.folder-list[b-rtlf2cb5xw]::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

    .folder-list[b-rtlf2cb5xw]::-webkit-scrollbar-thumb:hover {
        background: #555;
    }

/* Painel principal de conteúdo */
.content-pane[b-rtlf2cb5xw] {
    display: flex;
    flex: 1;
    overflow: hidden;
}

/* Lista de e-mails */
.mail-list-pane[b-rtlf2cb5xw] {
    width: 350px;
    background-color: white;
    border-right: 1px solid #e1dfdd;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.mail-list-header[b-rtlf2cb5xw] {
    padding: 8px 12px;
    border-bottom: 1px solid #e1dfdd;
    background-color: #faf9f8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 40px;
}

.mail-list-content[b-rtlf2cb5xw] {
    flex: 1;
    overflow-y: auto;
}

.compose-button[b-rtlf2cb5xw] {
    background-color: #0078d7;
    color: white;
    border: none;
    border-radius: 2px;
    padding: 5px 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    transition: background-color 0.1s;
    height: 28px;
}

    .compose-button:hover[b-rtlf2cb5xw] {
        background-color: #106ebe;
    }

    .compose-button i[b-rtlf2cb5xw] {
        margin-right: 4px;
        font-size: 0.8rem;
    }

/* Itens da lista de e-mails */
.mail-item[b-rtlf2cb5xw] {
    padding: 8px 12px;
    border-bottom: 1px solid #f3f2f1;
    cursor: pointer;
    transition: background-color 0.1s;
}

    .mail-item:hover[b-rtlf2cb5xw] {
        background-color: #f3f2f1;
    }

    .mail-item.selected[b-rtlf2cb5xw] {
        background-color: #edebe9;
        border-left: 3px solid #0078d7;
    }

.mail-item-header[b-rtlf2cb5xw] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

.mail-sender[b-rtlf2cb5xw] {
    font-weight: 600;
    color: #323130;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 8px;
    font-size: 0.8rem;
}

.mail-date[b-rtlf2cb5xw] {
    color: #605e5c;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.mail-subject[b-rtlf2cb5xw] {
    font-weight: 500;
    color: #323130;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.78rem;
}

.mail-preview[b-rtlf2cb5xw] {
    color: #605e5c;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mail-attachment[b-rtlf2cb5xw] {
    color: #605e5c;
    font-size: 0.7rem;
    margin-right: 3px;
}

/* Painel de leitura */
.reading-pane[b-rtlf2cb5xw] {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: white;
    overflow: hidden;
}

.reading-pane-empty[b-rtlf2cb5xw] {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    background-color: white;
    color: #605e5c;
}

.mail-header[b-rtlf2cb5xw] {
    padding: 12px 15px;
    border-bottom: 1px solid #e1dfdd;
    background-color: #faf9f8;
    flex-shrink: 0;
}

.mail-subject-header[b-rtlf2cb5xw] {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #323130;
}

.mail-info[b-rtlf2cb5xw] {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.mail-sender-info[b-rtlf2cb5xw] {
    flex: 1;
}

.mail-actions[b-rtlf2cb5xw] {
    flex-shrink: 0;
}

.mail-from[b-rtlf2cb5xw], .mail-to[b-rtlf2cb5xw], .mail-date-full[b-rtlf2cb5xw] {
    margin-bottom: 2px;
    font-size: 0.8rem;
}

.mail-label[b-rtlf2cb5xw] {
    font-weight: 600;
    margin-right: 4px;
    font-size: 0.8rem;
}

/* === CONTEÚDO DO EMAIL - CSS MÍNIMO === */
.mail-content[b-rtlf2cb5xw] {
    flex: 1;
    overflow-y: auto;
    background-color: white;
    display: block;
    width: 100%;
}

.email-content-wrapper[b-rtlf2cb5xw] {
    padding: 15px;
    width: 100%;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    display: block;
}

    .email-content-wrapper p[b-rtlf2cb5xw] {
        margin: 0 0 1em 0 !important;
    }

    .email-content-wrapper img[b-rtlf2cb5xw] {
        max-width: 100% !important;
        height: auto !important;
    }

.mail-actions[b-rtlf2cb5xw] {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.btn-sm[b-rtlf2cb5xw] {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
}
