/* 全局样式 */
body {
    background-color: #f8f9fa;
}

/* 邮件列表容器 */
.emails-table-container {
    max-height: 500px;
    overflow-y: auto;
}

/* 邮件内容容器 */
.email-body-container {
    height: 600px;
    overflow-y: auto;
    background-color: white !important;
    border: 1px solid #dee2e6;
    padding: 15px;
}

/* 确保邮件内容不影响全局样式 */
#email_body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 邮件内容样式隔离 */
.email-content-wrapper {
    background-color: white !important;
    color: black !important;
    font-family: Arial, sans-serif !important;
}

/* 表格样式 */
#emails_table {
    width: 100%;
    table-layout: fixed;
}

#emails_table th, #emails_table td {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#emails_table tbody tr {
    cursor: pointer;
}

#emails_table tbody tr:hover {
    background-color: #f5f5f5;
}

.table-active {
    background-color: #e9ecef !important;
}