/* Manob Mail - Complete Light Theme */

/* === GLOBAL TEXT FIX === */
label, .form-group label, .propform label, .propform td.title, .propform th,
fieldset legend, .formcontent label, .formcontainer label, #layout-content label,
.col-form-label, .form-control-label, td.title, .title {
    color: #374151 !important;
}

/* === SIDEBAR === */
#taskmenu { background-color: #FFFFFF !important; border-right: 1px solid #E5E7EB !important; }
#taskmenu a, #taskmenu a.button { background-color: transparent !important; color: #6B7280 !important; border-left: 3px solid transparent !important; }
#taskmenu a .inner { color: #6B7280 !important; }
#taskmenu a:hover { background-color: #F9FAFB !important; }
#taskmenu a.selected { background-color: #F0FDF9 !important; border-left: 3px solid #0D9488 !important; }
#taskmenu a.selected .inner { color: #0D9488 !important; }

/* === INPUTS === */
input, textarea, select, .form-control {
    color: #1F2937 !important;
    background-color: #FFFFFF !important;
}

/* === SETTINGS LIST === */
#sections-table td, #sections-table a, .listing td, .listing td a,
#settings-sections td, #settings-sections a, .listbox .listing td a {
    color: #374151 !important;
}
#sections-table tr.selected td, #sections-table tr.selected a,
.listing tr.selected td, .listing tr.selected td a {
    color: #FFFFFF !important;
    background-color: #0D9488 !important;
}

/* === SETTINGS FORM === */
.propform td, .propform label, #prefs-details td, #prefs-details label,
table.propform td, .boxtitle, fieldset legend {
    color: #374151 !important;
}

/* === COMPOSE FORM === */
.compose-headers td.title, .compose-headers label, #compose-content td.title,
#composebody td.title, .edit-headers td.title, .formcontent td.title {
    color: #374151 !important;
}
#compose-attachments label, #compose-options label, .compose-options label,
.attachmentsbox label, #compose-attachments, #compose-options, .compose-options {
    color: #374151 !important;
}

/* === FOLDER/MESSAGE LIST === */
#mailboxlist li a, #folderlist li a, ul.treelist li a { color: #374151 !important; }
#mailboxlist li.selected > a, #folderlist li.selected > a, ul.treelist li.selected > a {
    color: #FFFFFF !important;
    background-color: #0D9488 !important;
}
.messagelist td, #messagelist td { color: #1F2937 !important; }
.messagelist tr.selected td { color: #FFFFFF !important; background-color: #0D9488 !important; }

/* === MESSAGE CONTENT === */
#message-content, .message-part, .rcmBody { color: #1F2937 !important; }

/* === HEADERS === */
.header, .header *, .header-title, .messageheaderbox, .messageheaderbox * { color: #374151 !important; }

/* === DIALOGS === */
.ui-dialog, .ui-dialog *, .popover, .popover * { color: #374151 !important; }

/* === BUTTONS === */
.btn-primary, button.primary { background-color: #0D9488 !important; border-color: #0D9488 !important; color: #FFFFFF !important; }

/* === TABLES === */
table td, table th { color: #374151 !important; }

/* === LINKS === */
a { color: #0D9488 !important; }
.selected a, tr.selected a { color: #FFFFFF !important; }

/* === TOOLBAR === */
.toolbar a, #messagetoolbar a { color: #374151 !important; }

/* === CONTACTS/IDENTITIES === */
.contactlist td, #contacts-table td, #identities-table td, #identities-table a { color: #374151 !important; }
