/* Professional Theme - Light Background Fixes */

/* Ensure all text is visible */
* {
    color: inherit;
}

/* Page content text */
.page-content,
.page-content p,
.page-content div,
.page-content span {
    color: #2c3e50 !important;
}

/* Ensure headings are visible */
h1, h2, h3, h4, h5, h6 {
    color: #2c3e50 !important;
    font-weight: 600 !important;
}

/* Card text visibility */
.card-body p,
.card-body div,
.card-body span,
.card-body label {
    color: #2c3e50 !important;
}

/* Table text */
table tbody tr td {
    color: #5a6c7d !important;
}

/* Form labels and text */
.form-group label,
.form-group span,
.form-control,
small {
    color: #2c3e50 !important;
}

/* Button text visibility */
.btn {
    color: inherit !important;
}

.btn-primary,
.btn-success,
.btn-danger,
.btn-secondary {
    color: #ffffff !important;
}

/* Navigation text */
.content-wrapper .nav-link,
.content-wrapper .menu-item {
    color: #5a6c7d !important;
}

.content-wrapper .nav-link:hover,
.content-wrapper .menu-item:hover {
    color: #E31937 !important;
}

.content-wrapper .nav-link.active,
.content-wrapper .menu-item.active {
    color: #E31937 !important;
}

/* Sidebar header */
.sidebar .sidebar-header h3 {
    color: #ffffff !important;
}

/* User info in sidebar */
.sidebar .sidebar-footer,
.sidebar .sidebar-footer * {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Search results */
.search-result-item a {
    color: #2c3e50 !important;
}

.search-result-item a:hover {
    color: #E31937 !important;
}

.search-result-snippet {
    color: #6c757d !important;
}

/* Ensure dropdown and select text is visible */
select option {
    color: #2c3e50 !important;
    background: #ffffff !important;
}

/* Placeholder text */
::placeholder {
    color: #6c757d !important;
    opacity: 0.7 !important;
}

/* Links */
a {
    color: #E31937 !important;
}

a:hover {
    color: #a01225 !important;
}

/* Ensure list items are visible */
ul li,
ol li {
    color: #2c3e50 !important;
}

/* Status badges and tags */
.badge {
    color: #ffffff !important;
}

/* Ensure all input text is visible */
input,
textarea,
select {
    color: #2c3e50 !important;
}

/* Quill editor content */
.ql-editor p,
.ql-editor div,
.ql-editor span,
.ql-editor li {
    color: #2c3e50 !important;
}

/* Toolbar buttons */
.ql-toolbar button {
    color: #5a6c7d !important;
}

.ql-toolbar .ql-stroke {
    stroke: #5a6c7d !important;
}

.ql-toolbar .ql-fill {
    fill: #5a6c7d !important;
}

.ql-toolbar button:hover .ql-stroke {
    stroke: #E31937 !important;
}

.ql-toolbar button:hover .ql-fill {
    fill: #E31937 !important;
}

/* Message text */
.message,
.alert p,
.alert span {
    color: inherit !important;
}
