/**
 * PCR Theme — Pakistan Children Relief
 * Color palette derived from the PCR logo:
 *   Green  #1E7B3A  (house/roof)
 *   Navy   #0F2347  (children silhouettes)
 *   Gold   #F0A500  (stars)
 */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ─────────────────────────────────────────
   1. CSS VARIABLE OVERRIDES
───────────────────────────────────────── */
:root {
    --pcr-green: #1E7B3A;
    --pcr-green-dark: #155C2B;
    --pcr-green-light: #e4f5eb;
    --pcr-green-mid: #2D9249;
    --pcr-navy: #0F2347;
    --pcr-navy-mid: #1B3A6B;
    --pcr-gold: #F0A500;
    --pcr-gold-light: #fff8e1;

    /* Override theme variables */
    --primary: #1E7B3A;
    --secondary: #0F2347;
    --info: #1565C0;
    --warning: #F0A500;
    --dark: #0F2347;
}

/* ─────────────────────────────────────────
   2. GLOBAL TYPOGRAPHY & BODY
───────────────────────────────────────── */
body {
    font-family: 'Inter', 'Karla', system-ui, sans-serif !important;
    background-color: #f0f4f8 !important;
    color: #374151 !important;
}

/* ─────────────────────────────────────────
   3. SIDEBAR — PCR NAVY THEME
───────────────────────────────────────── */
.left-sidebar {
    background-color: var(--pcr-navy) !important;
    box-shadow: 4px 0 20px rgba(15, 35, 71, 0.25) !important;
}

.left-sidebar::before {
    background-color: rgba(15, 35, 71, 0.92) !important;
}

/* Brand area */
.app-brand {
    background: linear-gradient(135deg, #0a1b38 0%, #0F2347 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px 0 !important;
}

.app-brand a {
    justify-content: center !important;
    padding-left: 0 !important;
}

/* Sidebar menu items */
.sidebar .sidebar-inner>li>a,
.sidebar .sidenav-item-link {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    transition: all 0.2s ease !important;
    border-left: 3px solid transparent !important;
}

.sidebar .sidenav-item-link .nav-text {
    color: inherit !important;
}

/* Hover state */
.sidebar .sidebar-inner>li:hover>a,
.sidebar .sidebar-inner>li:hover .sidenav-item-link {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border-left-color: rgba(30, 123, 58, 0.5) !important;
}

/* Active state */
.sidebar .sidebar-inner>li.active>a,
.sidebar .sidebar-inner>li.active .sidenav-item-link {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(30, 123, 58, 0.35) 0%, rgba(30, 123, 58, 0.1) 100%) !important;
    border-left-color: var(--pcr-green) !important;
    font-weight: 600 !important;
}

/* Sidebar icons */
.sidebar .nav>li>a i,
.sidebar .sidenav-item-link i.mdi {
    color: rgba(255, 255, 255, 0.55) !important;
    transition: color 0.2s !important;
}

.sidebar .sidebar-inner>li.active .sidenav-item-link i.mdi,
.sidebar .sidebar-inner>li:hover .sidenav-item-link i.mdi {
    color: var(--pcr-green) !important;
}

/* Badge in sidebar */
.sidebar .sidenav-item-link .badge {
    font-size: 10px !important;
}

/* ─────────────────────────────────────────
   4. TOP NAVBAR
───────────────────────────────────────── */
.main-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e9f2 !important;
    box-shadow: 0 2px 12px rgba(15, 35, 71, 0.07) !important;
}

.main-header .navbar {
    background: #ffffff !important;
    padding: 8px 20px !important;
}

/* Sidebar toggle button */
#sidebar-toggler {
    color: var(--pcr-navy) !important;
    background: transparent !important;
    border: none !important;
}

#sidebar-toggler:hover {
    color: var(--pcr-green) !important;
}

/* Notification bell */
.notify-toggler {
    background: transparent !important;
    border: none !important;
    color: #6b7280 !important;
    position: relative !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.2s !important;
}

.notify-toggler:hover {
    background: var(--pcr-green-light) !important;
    color: var(--pcr-green) !important;
}

.notify-toggler .icon {
    font-size: 20px !important;
}

.notify-toggler .badge {
    background: var(--pcr-green) !important;
    top: 5px !important;
    right: 5px !important;
    border: 2px solid #fff !important;
}

/* User dropdown button */
.navbar-right .dropdown-toggle {
    background: transparent !important;
    border: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: var(--pcr-navy) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 6px 12px !important;
    border-radius: 10px !important;
    transition: background 0.2s !important;
}

.navbar-right .dropdown-toggle:hover {
    background: var(--pcr-green-light) !important;
}

.navbar-right .dropdown-toggle .user-image {
    border: 2px solid var(--pcr-green) !important;
}

/* Notification dropdown */
.dropdown-notify {
    border-radius: 14px !important;
    border: 1px solid #e5e9f2 !important;
    box-shadow: 0 10px 40px rgba(15, 35, 71, 0.15) !important;
    overflow: hidden !important;
}

.dropdown-notify header {
    background: linear-gradient(135deg, var(--pcr-navy) 0%, var(--pcr-navy-mid) 100%) !important;
    padding: 14px 16px !important;
}

.dropdown-notify header a,
.dropdown-notify header b {
    color: #ffffff !important;
}

/* User dropdown menu */
.user-menu .dropdown-menu {
    border-radius: 12px !important;
    border: 1px solid #e5e9f2 !important;
    box-shadow: 0 8px 32px rgba(15, 35, 71, 0.15) !important;
    padding: 8px !important;
    min-width: 200px !important;
}

.user-menu .dropdown-link-item {
    border-radius: 8px !important;
    padding: 10px 14px !important;
    color: #374151 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    transition: all 0.2s !important;
}

.user-menu .dropdown-link-item:hover {
    background: var(--pcr-green-light) !important;
    color: var(--pcr-green) !important;
    text-decoration: none !important;
}

.user-menu .dropdown-link-item i {
    font-size: 18px !important;
    width: 20px !important;
}

/* ─────────────────────────────────────────
   5. CONTENT AREA
───────────────────────────────────────── */
.content-wrapper {
    padding: 24px 24px 0 !important;
    background: #f0f4f8 !important;
}

.content {
    padding-bottom: 24px !important;
}

/* ─────────────────────────────────────────
   6. DASHBOARD STAT CARDS
───────────────────────────────────────── */
.card.card-default {
    border: none !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(15, 35, 71, 0.1) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
    margin-bottom: 24px !important;
}

.card.card-default:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 32px rgba(15, 35, 71, 0.18) !important;
}

.card.card-default .card-header {
    padding: 20px 22px 14px !important;
    border-bottom: none !important;
    background: transparent !important;
}

.card.card-default .card-header h2 {
    font-size: 2.4rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-bottom: 4px !important;
    letter-spacing: -1px !important;
}

.card.card-default .card-header p {
    margin: 0 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    opacity: 0.88 !important;
}

.card.card-default .card-body {
    padding: 0 22px 18px !important;
}

.card.card-default .card-body a {
    font-size: 12.5px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    opacity: 0.85 !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}

.card.card-default .card-body a:hover {
    opacity: 1 !important;
}

.card.card-default .progress {
    height: 5px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    margin-bottom: 12px !important;
}

.card.card-default .progress-bar {
    border-radius: 10px !important;
}

/* ─────────────────────────────────────────
   7. BUTTONS
───────────────────────────────────────── */
.btn-primary {
    background: var(--pcr-green) !important;
    border-color: var(--pcr-green) !important;
    font-weight: 600 !important;
    border-radius: 9px !important;
    transition: all 0.2s !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background: var(--pcr-green-dark) !important;
    border-color: var(--pcr-green-dark) !important;
    box-shadow: 0 4px 14px rgba(30, 123, 58, 0.35) !important;
}

.btn-secondary {
    background: var(--pcr-navy) !important;
    border-color: var(--pcr-navy) !important;
    font-weight: 600 !important;
    border-radius: 9px !important;
}

.btn-secondary:hover {
    background: var(--pcr-navy-mid) !important;
    border-color: var(--pcr-navy-mid) !important;
}

/* ─────────────────────────────────────────
   8. LINKS & TEXT COLORS
───────────────────────────────────────── */
.text-primary {
    color: var(--pcr-green) !important;
}

a.text-primary:hover {
    color: var(--pcr-green-dark) !important;
}

.bg-primary {
    background-color: var(--pcr-green) !important;
}

/* ─────────────────────────────────────────
   9. BADGES
───────────────────────────────────────── */
.badge-primary {
    background-color: var(--pcr-green) !important;
}

.badge-pill {
    border-radius: 20px !important;
    font-weight: 600 !important;
}

/* ─────────────────────────────────────────
   10. CARDS (general)
───────────────────────────────────────── */
.card {
    border-radius: 14px !important;
    border: 1px solid #e8edf5 !important;
    box-shadow: 0 2px 12px rgba(15, 35, 71, 0.06) !important;
}

.card-header {
    background: #fff !important;
    border-bottom: 1px solid #edf0f8 !important;
    font-weight: 700 !important;
    color: var(--pcr-navy) !important;
    padding: 16px 20px !important;
    border-radius: 14px 14px 0 0 !important;
}

/* ─────────────────────────────────────────
   11. TABLES
───────────────────────────────────────── */
.table thead th {
    background: #f8f9fc !important;
    color: var(--pcr-navy) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-bottom: 2px solid #e5e9f2 !important;
    padding: 12px 16px !important;
}

.table td {
    padding: 12px 16px !important;
    color: #374151 !important;
    border-color: #f0f2f8 !important;
    vertical-align: middle !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8fafd !important;
}

.table tbody tr:hover {
    background-color: var(--pcr-green-light) !important;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    border-radius: 8px !important;
    border: 1.5px solid #dde3ed !important;
    padding: 6px 12px !important;
    color: var(--pcr-navy) !important;
}

/* ─────────────────────────────────────────
   12. FORMS
───────────────────────────────────────── */
.form-control {
    border-radius: 9px !important;
    border: 1.5px solid #dde3ed !important;
    color: #374151 !important;
    font-size: 14px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.form-control:focus {
    border-color: var(--pcr-green) !important;
    box-shadow: 0 0 0 3px rgba(30, 123, 58, 0.12) !important;
    outline: none !important;
}

.form-control::placeholder {
    color: #a0aec0 !important;
}

/* ─────────────────────────────────────────
   13. MODAL
───────────────────────────────────────── */
.modal-header {
    background: linear-gradient(135deg, var(--pcr-navy) 0%, var(--pcr-navy-mid) 100%) !important;
    color: #fff !important;
    border-radius: 12px 12px 0 0 !important;
    border-bottom: none !important;
}

.modal-header .modal-title {
    color: #fff !important;
    font-weight: 700 !important;
}

.modal-header .close {
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
}

.modal-header .close:hover {
    color: #fff !important;
}

.modal-content {
    border-radius: 14px !important;
    border: none !important;
    box-shadow: 0 20px 60px rgba(15, 35, 71, 0.25) !important;
}

.modal-footer {
    border-top: 1px solid #edf0f8 !important;
    padding: 16px 20px !important;
}

/* ─────────────────────────────────────────
   14. FOOTER
───────────────────────────────────────── */
.footer .copyright {
    border-top: 1px solid #e5e9f2 !important;
    padding: 16px 24px !important;
}

.footer .copyright p {
    color: #6b7280 !important;
    font-size: 13px !important;
    margin: 0 !important;
}

/* ─────────────────────────────────────────
   15. PAGE WRAPPER POLISH
───────────────────────────────────────── */
.page-wrapper {
    background: #f0f4f8 !important;
}

/* ─────────────────────────────────────────
   16. NOTIFICATION LIST ITEMS
───────────────────────────────────────── */
.read {
    background-color: #f9fafb !important;
    border-left: 3px solid transparent !important;
}

.unread {
    background-color: #edf7f1 !important;
    border-left: 3px solid var(--pcr-green) !important;
    font-weight: 600 !important;
}

.media.mark-as-read:hover {
    background-color: #f0f7f3 !important;
    cursor: pointer !important;
}

/* ─────────────────────────────────────────
   17. ALERTS
───────────────────────────────────────── */
.alert-success {
    background: #ecfdf5 !important;
    border-color: #a7f3d0 !important;
    color: #065f46 !important;
    border-radius: 10px !important;
}

.alert-danger {
    background: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #991b1b !important;
    border-radius: 10px !important;
}

.alert-warning {
    background: var(--pcr-gold-light) !important;
    border-color: #fcd34d !important;
    color: #92400e !important;
    border-radius: 10px !important;
}

.alert-info {
    background: #eff6ff !important;
    border-color: #bfdbfe !important;
    color: #1e40af !important;
    border-radius: 10px !important;
}

/* ─────────────────────────────────────────
   18. PAGE TITLE IN HEADER
───────────────────────────────────────── */
.page-title {
    font-weight: 700 !important;
    color: var(--pcr-navy) !important;
    font-size: 16px !important;
}

/* ─────────────────────────────────────────
   19. SCROLLBAR (custom thin scrollbar)
───────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f0f4f8;
}

::-webkit-scrollbar-thumb {
    background: #c4cdd8;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pcr-green);
}

/* ─────────────────────────────────────────
   20. TASK PAGES — PAGE LAYOUT
───────────────────────────────────────── */
.task-page {
    padding: 4px 0 24px;
}

/* ─────────────────────────────────────────
   21. BACK BUTTON
───────────────────────────────────────── */
.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border: 1.5px solid #e2e6f0;
    border-radius: 9px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 600;
    color: #5a6378;
    text-decoration: none;
    margin-bottom: 22px;
    transition: all .2s;
}

.btn-back:hover {
    border-color: #1E7B3A;
    color: #1E7B3A;
    text-decoration: none;
}

/* ─────────────────────────────────────────
   22. PAGE HEADER BAND (create / edit)
───────────────────────────────────────── */
.page-header-band {
    background: linear-gradient(120deg, #0F2347 0%, #1B3A6B 55%, #155C2B 100%);
    border-radius: 14px;
    padding: 22px 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
    box-shadow: 0 6px 24px rgba(15, 35, 71, .28);
}

.page-header-band .header-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.page-header-band h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.page-header-band p {
    margin: 3px 0 0;
    font-size: 13px;
    opacity: .85;
}

.page-header-band .task-id {
    margin: 4px 0 0;
    font-size: 12px;
    opacity: .8;
}

.header-status-badge {
    margin-left: auto;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .22);
    border: 1.5px solid rgba(255, 255, 255, .4);
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

/* ─────────────────────────────────────────
   23. FORM SECTION CARDS
───────────────────────────────────────── */
.form-section {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #edf0f7;
    padding: 22px 24px;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.section-head {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #8b95b8;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1.5px solid #f3f4f9;
}

.section-head .s-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.s-icon-purple {
    background: #f0e9ff;
}

.s-icon-blue {
    background: #e6f3ff;
}

.s-icon-green {
    background: #e4faf3;
}

.s-icon-orange {
    background: #fff4e4;
}

.s-icon-pink {
    background: #ffe9f3;
}

/* ─────────────────────────────────────────
   24. FORM FIELDS
───────────────────────────────────────── */
.field-wrap {
    margin-bottom: 16px;
}

.field-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #7a84a3;
    margin-bottom: 6px;
    display: block;
}

.req {
    color: #fe5461;
}

.form-control-styled {
    border: 1.5px solid #e2e6f0 !important;
    border-radius: 9px !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    background: #fafbfe !important;
    transition: border-color .2s, box-shadow .2s !important;
    width: 100%;
}

.form-control-styled:focus {
    border-color: #1E7B3A !important;
    box-shadow: 0 0 0 3px rgba(30, 123, 58, .12) !important;
    background: #fff !important;
    outline: none !important;
}

.form-control-styled:disabled,
.form-control-styled[readonly] {
    background: #f3f4f9 !important;
    color: #9aa2be !important;
    cursor: not-allowed !important;
}

select.form-control-styled {
    appearance: none;
}

.field-error {
    font-size: 12px;
    color: #fe5461;
    margin-top: 5px;
}

.field-hint {
    font-size: 12px;
    color: #9aa2be;
    margin-top: 5px;
}

/* ─────────────────────────────────────────
   25. TOGGLE ROWS (schedule / recurring)
───────────────────────────────────────── */
.toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fafbfe;
    border: 1.5px solid #e2e6f0;
    border-radius: 10px;
    padding: 13px 16px;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    margin-bottom: 14px;
}

.toggle-row:hover {
    border-color: #1E7B3A;
    background: #f0f7f3;
}

.toggle-row-info .t-title {
    font-weight: 600;
    font-size: 14px;
    color: #2d3748;
}

.toggle-row-info .t-desc {
    font-size: 12px;
    color: #9aa2be;
    margin-top: 2px;
}

.custom-toggle {
    position: relative;
    width: 46px;
    height: 26px;
    flex-shrink: 0;
}

.custom-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-track {
    position: absolute;
    inset: 0;
    background: #d1d5db;
    border-radius: 26px;
    transition: .3s;
    cursor: pointer;
}

.toggle-track::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: .3s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}

input:checked~.toggle-track {
    background: #1E7B3A;
}

input:checked~.toggle-track::before {
    transform: translateX(20px);
}

/* ─────────────────────────────────────────
   26. MEMBER CARDS
───────────────────────────────────────── */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1.5px solid #e2e6f0;
    border-radius: 9px;
    cursor: pointer;
    transition: all .2s;
    background: #fafbfe;
    position: relative;
}

.member-card:hover {
    border-color: #1E7B3A;
    background: #f0f7f3;
}

.member-card input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.member-card.disabled-card {
    cursor: default;
    opacity: .7;
}

.member-card.disabled-card:hover {
    border-color: #e2e6f0;
    background: #fafbfe;
}

.member-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1E7B3A, #155C2B);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.member-info .m-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
}

.member-info .m-role {
    font-size: 11px;
    color: #9aa2be;
}

.member-tick {
    margin-left: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    font-size: 10px;
    transition: all .2s;
    flex-shrink: 0;
}

.member-card.is-checked {
    border-color: #1E7B3A;
    background: #f0f7f3;
}

.member-card.is-checked .member-tick {
    background: #1E7B3A;
    border-color: #1E7B3A;
    color: #fff;
}

/* ─────────────────────────────────────────
   27. FILE UPLOAD / ATTACHMENT AREA
───────────────────────────────────────── */
.attachment-area {
    border: 2px dashed #cdd3e4;
    border-radius: 10px;
    background: #fafbfe;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all .3s;
}

.attachment-area:hover,
.attachment-area.dragover {
    border-color: #1E7B3A;
    background: #f0f7f3;
}

.upload-emoji {
    font-size: 34px;
    margin-bottom: 10px;
    display: block;
}

.upload-text {
    font-weight: 600;
    color: #4a5568;
    font-size: 14px;
    margin: 0;
}

.upload-hint {
    font-size: 12px;
    color: #b0b9d4;
    margin-top: 5px;
}

.file-input-hidden {
    display: none;
}

.attachment-preview {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

.attachment-item {
    position: relative;
    border: 1px solid #e2e6f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f6fa;
}

.attachment-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.attachment-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
}

.attachment-remove:hover {
    background: #fe5461;
}

/* ─────────────────────────────────────────
   28. ATTACHMENT LIST (view / edit)
───────────────────────────────────────── */
.attachment-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #edf0f7;
    border-radius: 9px;
    background: #fafbfe;
    margin-bottom: 8px;
    transition: border-color .2s;
}

.attachment-list-item:hover {
    border-color: #c9cfe4;
}

.att-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    background: #e4f5eb;
}

.att-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
}

.att-size {
    font-size: 11px;
    color: #9aa2be;
}

.att-actions {
    margin-left: auto;
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.btn-att {
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
    cursor: pointer;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.btn-att-preview {
    border-color: #1E7B3A;
    color: #1E7B3A;
    background: #e4f5eb;
}

.btn-att-preview:hover {
    background: #1E7B3A;
    color: #fff;
}

.btn-att-download {
    border-color: #1E7B3A;
    color: #1E7B3A;
    background: #e4f5eb;
}

.btn-att-download:hover {
    background: #1E7B3A;
    color: #fff;
}

.btn-att-remove {
    border-color: #fe5461;
    color: #fe5461;
    background: #fff4f5;
}

.btn-att-remove:hover {
    background: #fe5461;
    color: #fff;
}

/* ─────────────────────────────────────────
   29. ACTION BAR (form submit row)
───────────────────────────────────────── */
.action-bar {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #edf0f7;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .04);
}

.btn-primary-submit {
    background: linear-gradient(120deg, #1E7B3A 0%, #0F2347 100%);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    padding: 11px 30px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .3px;
    transition: transform .15s, box-shadow .15s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 123, 58, .40);
    color: #fff !important;
}

.btn-cancel-link {
    font-size: 14px;
    font-weight: 600;
    color: #8b95b8;
    text-decoration: none;
    padding: 11px 16px;
    border-radius: 9px;
    transition: color .2s, background .2s;
}

.btn-cancel-link:hover {
    color: #fe5461;
    background: #fff4f5;
    text-decoration: none;
}

.btn-danger-outline {
    background: #fff;
    color: #fe5461 !important;
    border: 1.5px solid #fe5461;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: all .15s;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-danger-outline:hover {
    background: #fe5461;
    color: #fff !important;
}

/* ─────────────────────────────────────────
   30. STATUS & PRIORITY PILLS
───────────────────────────────────────── */
.status-pill {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.s-pending {
    background: #f1f3f7;
    color: #5a6378;
}

.s-scheduled {
    background: #E8F5ED;
    color: #1E7B3A;
}

.s-in-progress {
    background: #e0f2fe;
    color: #0284c7;
}

.s-ready-deploy {
    background: #fff3e0;
    color: #e65100;
}

.s-paused {
    background: #2d3748;
    color: #e2e8f0;
}

.s-need-attention {
    background: #fce7f3;
    color: #db2777;
}

.s-approved {
    background: #dbeafe;
    color: #1d4ed8;
}

.s-completed {
    background: #dcfce7;
    color: #15803d;
}

.priority-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.p-urgent {
    background: #fee2e2;
    color: #dc2626;
}

.p-high {
    background: #fef3c7;
    color: #d97706;
}

.p-normal {
    background: #d1fae5;
    color: #059669;
}

.p-low {
    background: #f0fdf4;
    color: #16a34a;
}

/* ─────────────────────────────────────────
   31. ACTION DROPDOWN
───────────────────────────────────────── */
.dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    padding: 7px 16px;
}

.dropdown-menu .dropdown-item .mdi {
    font-size: 16px;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-menu .dropdown-item:hover {
    background: #f0f7f3;
    color: #1E7B3A;
}

.dropdown-menu .dropdown-item.text-danger:hover {
    background: #fef2f2;
    color: #dc2626 !important;
}

/* ─────────────────────────────────────────
   MISC UTILITIES
───────────────────────────────────────── */
.clickable-message:hover {
    color: #1E7B3A !important;
    cursor: pointer;
    text-decoration: underline;
}

/* ─────────────────────────────────────────
   32. DASHBOARD PAGE
───────────────────────────────────────── */
.dash-banner {
    background: linear-gradient(120deg, #0F2347 0%, #1B3A6B 55%, #155C2B 100%);
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    box-shadow: 0 8px 32px rgba(15, 35, 71, .22);
    position: relative;
    overflow: hidden;
}

.dash-banner::after {
    content: '';
    position: absolute;
    right: -40px;
    top: -60px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
}

.dash-banner::before {
    content: '';
    position: absolute;
    right: 80px;
    bottom: -80px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(30, 123, 58, .12);
}

.dash-banner-text h2 {
    font-size: 22px;
    font-weight: 800;
    color: white;
    margin: 0 0 6px;
}

.dash-banner-text p {
    margin: 0;
    font-size: 14px;
    opacity: .78;
    font-weight: 400;
}

.dash-banner-logo {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: rgb(255, 255, 255);
    border: 2px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.dash-banner-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #8b95b8;
    margin-bottom: 16px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::after {
    content: '';
    flex: 1;
    height: 1.5px;
    background: linear-gradient(to right, #e5e9f2, transparent);
}

.stat-card {
    border-radius: 16px !important;
    border: none !important;
    overflow: hidden;
    margin-bottom: 22px;
    transition: transform .22s, box-shadow .22s;
    box-shadow: 0 4px 18px rgba(15, 35, 71, .1) !important;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 36px rgba(15, 35, 71, .18) !important;
    text-decoration: none;
    color: inherit;
}

.stat-card-inner {
    padding: 22px 22px 18px;
    display: flex;
    flex-direction: column;
    min-height: 130px;
    position: relative;
    overflow: hidden;
}

.stat-card-inner::after {
    content: '';
    position: absolute;
    right: -20px;
    top: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.stat-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.stat-num {
    font-size: 2.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1.5px;
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: rgba(255, 255, 255, .9);
    flex-shrink: 0;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.stat-footer {
    position: relative;
    z-index: 1;
}

.stat-progress {
    height: 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .2);
    margin-bottom: 8px;
    overflow: hidden;
}

.stat-progress-bar {
    height: 100%;
    border-radius: 10px;
    background: green;
    min-width: 6px;
}

.stat-link {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .75);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .2s;
}

.stat-link:hover {
    color: #fff;
    text-decoration: none;
}

.stat-link .mdi {
    font-size: 14px;
}

/* Card colour variants */
.sc-gold {
    background: linear-gradient(135deg, #c07900 0%, #F0A500 100%);
}

.sc-green {
    background: linear-gradient(135deg, #155C2B 0%, #1E7B3A 100%);
}

.sc-blue {
    background: linear-gradient(135deg, #0d47a1 0%, #1565C0 100%);
}

.sc-teal {
    background: linear-gradient(135deg, #006064 0%, #00838F 100%);
}

.sc-slate {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.sc-red {
    background: linear-gradient(135deg, #991b1b 0%, #dc2626 100%);
}

.sc-emerald {
    background: linear-gradient(135deg, #064e3b 0%, #059669 100%);
}

.sc-navy {
    background: linear-gradient(135deg, #0F2347 0%, #1B3A6B 100%);
}

.sc-orange {
    background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
}

/* ─────────────────────────────────────────
   33. LOGIN PAGE
───────────────────────────────────────── */
.login-page {
    display: flex;
    min-height: 100vh;
}

.login-brand {
    width: 44%;
    background: #0F2347;
    background-image: linear-gradient(145deg, #0F2347 0%, #1B3A6B 50%, #155C2B 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
}

@media (max-width: 768px) {
    .login-brand {
        display: none;
    }
}

.brand-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 320px;
}

.brand-logo-wrap {
    width: 110px;
    height: 110px;
    border-radius: 26px;
    background: rgba(255, 255, 255, .14);
    border: 2px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}

.brand-logo {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.brand-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -.2px;
}

.brand-sub {
    margin: 0 0 32px;
    font-size: 14px;
    color: rgba(255, 255, 255, .62);
    line-height: 1.6;
    font-weight: 400;
}

.brand-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.brand-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .3);
}

.brand-dots span:first-child {
    background: #1E7B3A;
}

.brand-dots span:nth-child(2) {
    background: #F0A500;
}

.brand-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: -80px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -60px;
    left: -60px;
}

.shape-3 {
    width: 120px;
    height: 120px;
    bottom: 40%;
    right: -30px;
    background: rgba(30, 123, 58, .12);
}

.login-form-panel {
    flex: 1;
    background: #F0F4F8;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.login-form-inner {
    width: 100%;
    max-width: 400px;
}

.login-form-header {
    margin-bottom: 32px;
}

.login-form-header h2 {
    margin: 0 0 6px;
    font-size: 26px;
    font-weight: 800;
    color: #0F2347;
    letter-spacing: -.3px;
}

.login-form-header p {
    margin: 0;
    font-size: 14px;
    color: #6B7A94;
    font-weight: 400;
}

.field-group {
    margin-bottom: 20px;
}

.field-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #4E5F78;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 8px;
}

.input-wrap {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #8A97AA;
    pointer-events: none;
    z-index: 2;
}

.field-input {
    width: 100%;
    background: #fff;
    border: 1.5px solid #DDE3ED;
    border-radius: 10px;
    padding: 12px 14px 12px 44px;
    font-size: 14px;
    color: #1E2A3B;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.field-input::placeholder {
    color: #B0BAC9;
}

.field-input:focus {
    border-color: #1E7B3A;
    box-shadow: 0 0 0 3px rgba(30, 123, 58, .12);
}

.field-input.is-invalid {
    border-color: #DC2626;
}

.field-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #DC2626;
}

.forgot-link {
    font-size: 12.5px;
    font-weight: 600;
    color: #1E7B3A;
    text-decoration: none;
    transition: opacity .2s;
}

.forgot-link:hover {
    opacity: .75;
}

.remember-row {
    margin-bottom: 24px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.remember-label input[type=checkbox] {
    width: 16px;
    height: 16px;
    accent-color: #1E7B3A;
    cursor: pointer;
}

.remember-text {
    font-size: 13.5px;
    color: #4E5F78;
    font-weight: 500;
}

.btn-login {
    width: 100%;
    background: #0F2347;
    background-image: linear-gradient(135deg, #0F2347 0%, #1B3A6B 50%, #1E7B3A 100%);
    color: #fff;
    border: none;
    border-radius: 11px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    letter-spacing: .2px;
    transition: opacity .2s, transform .15s;
    box-shadow: 0 6px 20px rgba(15, 35, 71, .3);
}

.btn-login:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.btn-login:active {
    transform: translateY(0);
}

.btn-login .mdi {
    font-size: 17px;
}

.login-footer {
    margin-top: 32px;
    text-align: center;
    font-size: 12px;
    color: #B0BAC9;
}

/* ─────────────────────────────────────────
   34. TASK INDEX (errors/index) PAGE
───────────────────────────────────────── */
.page-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1.1rem;
}

.page-header-bar h4 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
}

.page-header-bar small {
    display: block;
    font-size: .78rem;
    color: #9aabb8;
}

.btn-new-task {
    background: #1E7B3A;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 20px;
    font-size: .85rem;
    font-weight: 600;
    transition: background .2s, box-shadow .2s;
    box-shadow: 0 3px 10px rgba(30, 123, 58, .25);
}

.btn-new-task:hover {
    background: #155C2B;
    color: #fff;
    box-shadow: 0 5px 16px rgba(30, 123, 58, .35);
}

.filter-bar {
    background: #fff;
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.filter-bar .filter-group {
    display: flex;
    flex-direction: column;
}

.filter-bar .filter-label {
    font-size: .68rem;
    font-weight: 700;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-bottom: 3px;
}

.filter-bar .form-control {
    font-size: .82rem;
    border-color: #e2e8f0;
    border-radius: 5px;
    background: #fafbfc;
}

.filter-bar .form-control:focus {
    border-color: #1E7B3A;
    box-shadow: 0 0 0 2px rgba(30, 123, 58, .12);
    background: #fff;
}

.tasks-card {
    border: 1px solid #e4e9f0;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .06);
    overflow: hidden;
    background: #fff;
    padding: 15px;
}

.tasks-card .card-header {
    margin-bottom: 10px;
    background: #fff;
    border-bottom: 2px solid #f0f2f5;
    padding: 12px 18px;
    display: flex;
    align-items: center;
}

.tasks-card .card-header h5 {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: #3d4a5c;
}

.tasks-card .card-header .header-accent {
    width: 4px;
    height: 20px;
    background: #1E7B3A;
    border-radius: 3px;
    margin-right: 10px;
}

.tasks-card .card-body {
    padding: 0 !important;
}

#error_table thead th {
    background: #f7f9fc !important;
    color: #5a6a7e !important;
    font-size: .75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .5px !important;
    border-bottom: 2px solid #e8edf3 !important;
    padding: 10px 14px !important;
    white-space: nowrap;
}

#error_table tbody td {
    font-size: .84rem;
    color: #3d4a5c;
    vertical-align: middle !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid #f2f4f8 !important;
}

#error_table tbody tr:last-child td {
    border-bottom: none !important;
}

.dataTables_paginate.paging_simple_numbers .paginate_button.current {
    background: #1E7B3A !important;
    border-color: #1E7B3A !important;
    color: #fff !important;
    border-radius: 6px;
}

.dataTables_paginate .paginate_button:not(.current):hover {
    background: #e4f5eb !important;
    border-color: #ddd !important;
    color: #1E7B3A !important;
    border-radius: 6px;
}

div.dataTables_wrapper div.dt-buttons {
    margin-left: 10px;
}

.status-dropdown {
    min-width: 140px !important;
    width: 100% !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
}

.status-dropdown option {
    padding: 8px !important;
    line-height: 1.5 !important;
}

.btn-assign-open {
    color: #898d91;
    border: none;
    background: transparent;
    font-weight: 400;
    white-space: normal;
    line-height: 1.5;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.btn-assign-open:hover {
    color: #000;
    text-decoration: underline;
}

#modal_members_container {
    max-height: 260px;
    overflow-y: auto;
}

#modal_members_container .form-check {
    margin-bottom: 6px;
}

.card-body {
    padding: 15px 10px !important;
}

table.dataTable.dtr-column>tbody>tr>td.control,
table.dataTable.dtr-column>tbody>tr>th.control {
    position: relative;
    padding-left: 35px !important;
    cursor: pointer;
}

table.dataTable.dtr-column>tbody>tr>td.control:before,
table.dataTable.dtr-column>tbody>tr>th.control:before {
    top: 50% !important;
    left: 8px !important;
    height: 20px !important;
    width: 20px !important;
    margin-top: -10px !important;
    display: inline-block !important;
    position: absolute !important;
    color: white !important;
    border: 2px solid white !important;
    border-radius: 50% !important;
    box-shadow: 0 0 2px rgba(0, 0, 0, .5) !important;
    text-align: center !important;
    text-indent: 0 !important;
    font-family: 'Open Sans', Arial, sans-serif !important;
    line-height: 16px !important;
    content: '+' !important;
    background-color: #28a745 !important;
    font-weight: bold !important;
    font-size: 14px !important;
}

table.dataTable.dtr-column>tbody>tr.parent td.control:before,
table.dataTable.dtr-column>tbody>tr.parent th.control:before {
    content: '-' !important;
    line-height: 14px !important;
    background-color: #000 !important;
}

#error_table tbody tr:hover {
    background-color: #f8f9fa !important;
}

#error_table tbody tr:hover td,
#error_table tbody tr:hover span,
#error_table tbody tr:hover a {
    color: #000 !important;
}

#error_table tbody tr:hover td.control:before {
    background-color: #000 !important;
}

#error_table tbody tr a.icon-burger-mini,
table.dataTable>tbody>tr.child a.icon-burger-mini {
    color: #444 !important;
}

#error_table tbody tr a.icon-burger-mini::before,
table.dataTable>tbody>tr.child a.icon-burger-mini::before {
    color: #444 !important;
}

#error_table tbody tr:hover a.icon-burger-mini,
#error_table tbody tr a.icon-burger-mini:hover,
table.dataTable>tbody>tr.child a.icon-burger-mini:hover {
    color: #000 !important;
}

#error_table tbody tr:hover a.icon-burger-mini::before,
#error_table tbody tr a.icon-burger-mini:hover::before,
table.dataTable>tbody>tr.child a.icon-burger-mini:hover::before {
    color: #000 !important;
}

table.dataTable>tbody>tr.child span.dtr-title {
    font-weight: bold !important;
    color: #495057 !important;
    min-width: 120px !important;
    display: inline-block !important;
}

table.dataTable>tbody>tr.child span.dtr-data {
    color: #444 !important;
    white-space: normal !important;
}

table.dataTable>tbody>tr.child ul.dtr-details li {
    background-color: transparent !important;
    border-bottom: 1px solid #000 !important;
    padding: 8px 0 !important;
    display: flex !important;
    align-items: center !important;
}

#error_table tbody tr:hover .btn-assign-open {
    color: #000 !important;
}

#error_table tbody tr.schedule-expired td {
    background-color: #eea2a2 !important;
    color: #fff !important;
}

#error_table tbody tr.schedule-expired:hover td {
    background-color: #8fd2ae !important;
    color: #fff !important;
}

#error_table tbody tr.schedule-expired td span,
#error_table tbody tr.schedule-expired td a {
    color: #fff !important;
}

#error_table tbody tr.schedule-expired:hover td span,
#error_table tbody tr.schedule-expired:hover td a {
    color: #fff !important;
}
