.project-details-container, .project-details-addresses, .project-details-contact {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

.project-details-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
}

.project-details-header {
    display: flex;
    flex-direction: column;
}

.project-details-btn {
    margin-bottom: 5px;
}

.project-details-info {
    font-size: 1rem;
    color: #666;
    margin: 5px 0;
}

.project-details-contact ul, .project-details-addresses ul {
    list-style-type: none;
    padding: 0;
}

.project-details-contact li, .project-details-addresses li {
    margin: 5px 0;
}

.project-details-contact ul li a, .project-details-addresses ul li a {
    text-decoration: none;
    margin: 5px;
    padding: 5px;
    border-radius: 10px;
    background: #ecedee;
    color: rgba(0,0,0,0.8);
}

    .project-details-contact ul li a:hover, .project-details-addresses ul li a:hover {
        text-decoration: none;
        margin: 5px;
        padding: 5px;
        border-radius: 10px;
        background: #cccccc;
        transition: background-color 1s ease-in-out;
    }

.project-details-order-history, .project-details-order-requests, .project-details-order-change-requests {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

    .project-details-order-history input[type="text"],
    .project-details-order-history select {
        margin-bottom: 15px;
    }

.project-details-calendar-view {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
}

    .project-details-calendar-view #calendar {
        height: 300px;
    }

.project-details-modal-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
}

.project-details-modal-body {
    padding: 20px;
}

    .project-details-modal-body input[type="text"],
    .project-details-modal-body input[type="date"] {
        margin-bottom: 15px;
    }

.order-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 30px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    border: 1px solid #dddddd;
    border-radius: 7px;
}

    .order-table th, .order-table td {
        border: 1px solid #dddddd;
        text-align: left;
        padding: 10px;
    }

    .order-table th {
        background-color: #f2f2f2;
        font-weight: normal;
        text-align: center;
    }

    .order-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

    .order-table tr:hover {
        background-color: #e6f7ff;
    }

    .order-table strong {
        font-weight: bold;
        border-top-right-radius: 5px;
        border-top-left-radius: 5px;
    }

    .order-th-name {
        font-weight: bolder;
        color: darkblue;
    }

    .order-table thead th[colspan="5"] {
        background-color: #e6e6e6;
        text-align: left;
        font-size: 16px;
        padding: 12px;
        border-top-left-radius: 7px;
        border-top-right-radius: 7px;
    }

    .order-table tfoot tr:last-child td {
        background: linear-gradient(to top, #f2f2f2, #f9f9f9);
    }

        .order-table tfoot tr:last-child td:first-child {
            border-bottom-left-radius: 7px;
        }

        .order-table tfoot tr:last-child td:last-child {
            border-bottom-right-radius: 7px;
        }

/* Calendar veiw styling */
.project-details-calendar-view {
    font-family: Arial, sans-serif;
    overflow: hidden;
}

.crudBody {
    width: 100%;
    overflow: hidden;
    margin-bottom: 15px;
}

.calendar-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    border-radius: 7px;
    overflow: hidden;
}

th button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    margin: 0 15px;
}

    th button:hover {
        background-color: #0056b3;
    }

th span {
    font-size: 18px;
    font-weight: bold;
}

.calendar-table th {
    background-color: #e6f7ff;
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
}

.calendar-table td {
    /* 6 rows fit in the viewport: subtract header (55px) + calendar toolbar + day headers (~95px) */
    height: clamp(60px, calc((100vh - 150px) / 6), 110px);
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
    position: relative;
    padding: 4px 6px;
}

.day-cell {
    background-color: #f9f9f9;
    cursor: pointer;
    transition: background-color 0.3s;
}

    .day-cell:hover {
        background-color: #d1e0e5;
    }

.current {
    background-color: #b3e0ff;
    font-weight: bold;
}

.faded {
    color: #bbb;
    background-color: #fafafa;
}

.faded .cal-day-number {
    color: #ccc;
}

.cal-weekend {
    background-color: #f5f5f5;
}

/* Date number in top-left of each cell */
.cal-day-number {
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    line-height: 1;
    margin-bottom: 4px;
}

/* Circle around today's date number */
.cal-today {
    background-color: #007bff;
    color: #fff;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Order chips */
.cal-chip {
    display: block;
    font-size: 11px;
    line-height: 1.3;
    padding: 2px 5px 2px 7px;
    margin-bottom: 2px;
    border-radius: 4px;
    border-left: 3px solid #007bff;
    background-color: #e8f0fe;
    color: #1a1a2e;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background-color 0.2s;
}

.cal-chip:hover {
    background-color: #d0e2ff;
    color: #1a1a2e;
    text-decoration: none;
}

/* Status-based chip colors */
.cal-chip[data-status="Confirmed"] {
    border-left-color: #28a745;
    background-color: #e6f4ea;
}

.cal-chip[data-status="Confirmed"]:hover {
    background-color: #c8e6c9;
}

.cal-chip[data-status="Pending"] {
    border-left-color: #fd7e14;
    background-color: #fff3e0;
}

.cal-chip[data-status="Pending"]:hover {
    background-color: #ffe0b2;
}

.cal-chip[data-status="Cancelled"] {
    border-left-color: #dc3545;
    background-color: #fdecea;
    text-decoration: line-through;
    opacity: 0.75;
}

.cal-chip[data-status="default"] {
    border-left-color: #6c757d;
    background-color: #f0f0f0;
}

/* Fixed options indicator: 2/3 = blue, 3/3 = green */
.cal-chip[data-fixed="partial"] {
    border-left-color: #007bff;
    background-color: #e8f0fe;
}

.cal-chip[data-fixed="partial"]:hover {
    background-color: #d0e2ff;
}

.cal-chip[data-fixed="all"] {
    border-left-color: #28a745;
    background-color: #e6f4ea;
}

.cal-chip[data-fixed="all"]:hover {
    background-color: #c8e6c9;
}

/* "+X more" overflow indicator */
.cal-more {
    display: block;
    font-size: 10px;
    color: #007bff;
    cursor: pointer;
    margin-top: 1px;
    padding-left: 7px;
}

.cal-more:hover {
    text-decoration: underline;
}

.calendar-table thead tr th:first-child {
    border-top-left-radius: 7px;
}

.calendar-table thead tr th:last-child {
    border-top-right-radius: 7px;
}

.calendar-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 7px;
}

.calendar-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 7px;
}


/* ── Order detail cards (calendar day click) ── */
.od-topbar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.od-date-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.od-back-btn {
    flex-shrink: 0;
}

.od-card {
    border: 1px solid #e8e8e8;
    border-left: 4px solid #6c757d;
    border-radius: 10px;
    margin-bottom: 16px;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.od-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.11);
    transform: translateY(-2px);
}

.od-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    gap: 10px;
    flex-wrap: wrap;
}

.od-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-width: 0;
}

.od-header-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.od-type-badge {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.od-project-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.od-company {
    font-size: 12px;
    color: #777;
}

.od-no-price-badge {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 600;
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 10px;
    padding: 1px 7px;
    margin-top: 3px;
}

.od-header-right {
    flex-shrink: 0;
}

.od-delivery-date-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 4px 10px;
}

.od-delivery-date {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}

.od-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    background: #f7f7f7;
    border-top: 1px solid #efefef;
    border-bottom: 1px solid #efefef;
    flex-wrap: wrap;
}

.od-badges-row {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.od-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}

.od-badge-on {
    background: #e6f4ea;
    color: #1e7e34;
    border: 1px solid #c3e6cb;
}

.od-badge-off {
    background: #f5f5f5;
    color: #aaa;
    border: 1px solid #e5e5e5;
    text-decoration: line-through;
    opacity: 0.75;
}

.od-note {
    font-size: 12px;
    color: #666;
    font-style: italic;
    display: flex;
    align-items: center;
}

.od-items-wrapper {
    padding: 10px 16px;
    overflow-x: auto;
}

.od-items-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
}

.od-items-table thead tr {
    background: #f2f4f7;
}

.od-items-table th {
    padding: 6px 10px;
    font-weight: 600;
    color: #444;
    border-bottom: 2px solid #e5e5e5;
    white-space: nowrap;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.od-items-table td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}

.od-items-table tbody tr:last-child td {
    border-bottom: none;
}

.od-items-table tbody tr:hover {
    background: #f0f6ff !important;
}

.od-item-name {
    font-weight: 600;
    min-width: 120px;
}

.od-item-height {
    font-size: 11px;
    color: #999;
    font-weight: 400;
}

.od-num {
    text-align: right;
}

.od-total-col {
    font-weight: 700;
    color: #1a1a2e;
}

.od-na {
    color: #ccc;
}

.od-empty-row {
    text-align: center;
    color: #bbb;
    font-style: italic;
    padding: 12px !important;
}

.od-totals {
    padding: 10px 16px;
    background: #f7f7f7;
    border-top: 1px solid #efefef;
    font-size: 12.5px;
}

.od-totals-row {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    padding: 3px 0;
    color: #555;
}

.od-totals-total {
    font-weight: 700;
    font-size: 14px;
    color: #1a1a2e;
    border-top: 2px solid #e0e0e0;
    margin-top: 5px;
    padding-top: 5px;
}

.od-totals-qty {
    justify-content: flex-start;
    font-weight: 600;
    color: #1a3a5c;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 6px;
    margin-bottom: 4px;
}

.od-row-alt {
    background: #fafafa;
}

.od-card-footer {
    padding: 9px 16px;
    background: #fff;
    border-top: 1px solid #efefef;
    display: flex;
    justify-content: flex-end;
}

/* Dark mode — od-card popup */
[data-theme="dark"] .od-card {
    background: #1e1e2e;
    border-color: #2d2d4e;
    color: #e0e0e0;
}
[data-theme="dark"] .od-project-name { color: #e0e0e0; }
[data-theme="dark"] .od-company { color: #7a7a9a; }
[data-theme="dark"] .od-no-price-badge {
    background: #3a2e00;
    color: #ffc107;
    border-color: #7a6000;
}
[data-theme="dark"] .od-delivery-date-box {
    background: #252535;
    border-color: #3d3d5e;
}
[data-theme="dark"] .od-delivery-date { color: #c0c0d8; }
[data-theme="dark"] .od-meta-row {
    background: #252535;
    border-color: #2d2d4e;
}
[data-theme="dark"] .od-note { color: #7a7a9a; }
[data-theme="dark"] .od-badge-on {
    background: #1a3020;
    color: #6ddb8a;
    border-color: #2a5035;
}
[data-theme="dark"] .od-badge-off {
    background: #252535;
    color: #5a5a7a;
    border-color: #3d3d5e;
}
[data-theme="dark"] .od-items-table thead tr { background: #252535; }
[data-theme="dark"] .od-items-table th {
    color: #7a7a9a;
    border-color: #2d2d4e;
}
[data-theme="dark"] .od-items-table td {
    color: #c0c0d8;
    border-color: #252535;
}
[data-theme="dark"] .od-items-table tbody tr:hover { background: #1a2a40 !important; }
[data-theme="dark"] .od-row-alt { background: #252535; }
[data-theme="dark"] .od-total-col { color: #e0e0e0; }
[data-theme="dark"] .od-na { color: #4a4a6a; }
[data-theme="dark"] .od-totals {
    background: #252535;
    border-color: #2d2d4e;
}
[data-theme="dark"] .od-totals-row { color: #7a7a9a; }
[data-theme="dark"] .od-totals-qty { color: #90caf9; border-color: #2d2d4e; }
[data-theme="dark"] .od-totals-total {
    color: #e0e0e0;
    border-color: #2d2d4e;
}
[data-theme="dark"] .od-card-footer {
    background: #1e1e2e;
    border-color: #2d2d4e;
}
[data-theme="dark"] .od-open-link {
    color: #7aabf0;
    background: #1a2a40;
    border-color: #2a4a7a;
}
[data-theme="dark"] .od-open-link:hover { background: #1f3550; }

.od-open-link {
    font-size: 12px;
    color: #007bff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: #f0f6ff;
    border: 1px solid #cce0ff;
    transition: background 0.15s;
}

.od-open-link:hover {
    background: #dbeeff;
}

/* Project details order requests and changes */
.project-details-order-requests a.order-toggle-link, .project-details-order-change-requests a.order-toggle-link {
    text-decoration: none;
    font-size: 16px;
    color: #007bff;
}

    .project-details-order-requests a.order-toggle-link:hover, .project-details-order-change-requests a.order-toggle-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

/* ── Project Details redesign (pd-* classes) ──────────────────────────────── */

.pd-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

/* Card header */
.pd-card-header {
    padding: 16px 18px 14px;
    border-bottom: 1px solid #f0f0f0;
    background: #fafbfc;
}

.pd-card-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pd-project-name {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.3;
}

/* Status badges */
.pd-status-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    white-space: nowrap;
}
.pd-badge-not-started { background: #f0f0f0; color: #666; }
.pd-badge-in-progress { background: #e8f0fe; color: #1a3a5c; }
.pd-badge-completed   { background: #e6f4ea; color: #1e7e34; }
.pd-badge-on-hold     { background: #fff3e0; color: #c25d00; }
.pd-badge-cancelled   { background: #fdecea; color: #b71c1c; }

/* Edit button */
.pd-edit-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #555;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 7px;
    padding: 4px 12px;
    text-decoration: none;
    transition: background 0.15s;
}
.pd-edit-btn:hover { background: #e0e0e0; color: #333; text-decoration: none; }

/* Info grid */
.pd-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.pd-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pd-info-label {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #aaa;
}

.pd-info-value {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Progress */
.pd-progress-section {
    padding: 12px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.pd-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.pd-progress-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.pd-progress-pct {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.pd-progress-bar-wrap {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.pd-progress-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.4s ease;
}

.pd-progress-sub {
    font-size: 11px;
    color: #aaa;
    margin-top: 5px;
}

/* Action buttons */
.pd-action-row {
    display: flex;
    gap: 8px;
    padding: 12px 18px;
    flex-wrap: wrap;
}

.pd-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 13px;
    border-radius: 8px;
    text-decoration: none;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.pd-action-btn:hover { opacity: 0.85; text-decoration: none; }

.pd-action-success { background: #e6f4ea; color: #1e7e34; border: 1px solid #c3e6cb; }
.pd-action-warning { background: #fff3e0; color: #c25d00; border: 1px solid #ffd0a0; }
.pd-action-info    { background: #e8f0fe; color: #1a3a5c; border: 1px solid #b8d0f0; }
.pd-action-danger  { background: #fdecea; color: #b71c1c; border: 1px solid #f5c6cb; }

/* Section header */
.pd-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f0f0;
}

.pd-section-title {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-section-title i { color: #1a3a5c; }

.pd-section-add {
    font-size: 12px;
    font-weight: 600;
    color: #1a3a5c;
    background: #eef4fb;
    border: 1px solid #c8dff5;
    border-radius: 7px;
    padding: 4px 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s;
}
.pd-section-add:hover { background: #d6e9f8; color: #1a3a5c; text-decoration: none; }

/* List items (addresses / contacts) */
.pd-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 18px;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s;
}
.pd-list-item:last-of-type { border-bottom: none; }
.pd-list-item:hover { background: #fafbfc; }

.pd-list-item-body { flex: 1; min-width: 0; }

.pd-list-item-title {
    font-size: 13.5px;
    font-weight: 600;
    color: #222;
    margin-bottom: 2px;
}

.pd-list-item-sub {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pd-list-item-note {
    font-size: 11.5px;
    color: #aaa;
    font-style: italic;
    margin-top: 2px;
}

.pd-list-item-edit {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    color: #888;
    background: #f4f4f4;
    border: 1px solid #e5e5e5;
    text-decoration: none;
    font-size: 13px;
    transition: background 0.15s, color 0.15s;
}
.pd-list-item-edit:hover { background: #e8f0fe; color: #1a3a5c; }

.pd-list-item-att-badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 0 8px;
    height: 28px;
    border-radius: 7px;
    background: #e0f0ff;
    border: 1px solid #b3d4f5;
    color: #1a5fa8;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}
.pd-list-item-att-badge:hover { background: #c8e3ff; color: #1a3a5c; }

/* Contact group label */
.pd-contact-group { }
.pd-contact-company {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #aaa;
    padding: 8px 18px 4px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-empty-text {
    font-size: 13px;
    color: #bbb;
    padding: 12px 18px;
    font-style: italic;
    margin: 0;
}

/* ── Dark mode ───────────────────────────────────────────────────────────── */

[data-theme="dark"] .pd-card {
    background: #1e1e2e;
    border-color: #2d2d4e;
}

[data-theme="dark"] .pd-card-header {
    background: #15152a;
    border-bottom-color: #2d2d4e;
}

[data-theme="dark"] .pd-project-name { color: #e0e0e8; }

[data-theme="dark"] .pd-edit-btn {
    background: #252535;
    border-color: #3d3d5e;
    color: #a0a0c0;
}
[data-theme="dark"] .pd-edit-btn:hover { background: #2d2d4e; color: #e0e0e8; }

[data-theme="dark"] .pd-info-grid { border-bottom-color: #2d2d4e; }
[data-theme="dark"] .pd-info-label { color: #444; }
[data-theme="dark"] .pd-info-value { color: #c0c0d8; }

[data-theme="dark"] .pd-progress-section { border-bottom-color: #2d2d4e; }
[data-theme="dark"] .pd-progress-label { color: #555; }
[data-theme="dark"] .pd-progress-pct { color: #c0c0d8; }
[data-theme="dark"] .pd-progress-bar-wrap { background: #252535; }
[data-theme="dark"] .pd-progress-sub { color: #444; }

[data-theme="dark"] .pd-action-row { border-top-color: #2d2d4e; }
[data-theme="dark"] .pd-action-success { background: #1a2e20; color: #6ddb8a; border-color: #2a4e30; }
[data-theme="dark"] .pd-action-warning { background: #2e2010; color: #ffa040; border-color: #4e3010; }
[data-theme="dark"] .pd-action-info    { background: #1e2a3a; color: #7aabf0; border-color: #2e3a5a; }
[data-theme="dark"] .pd-action-danger  { background: #2e1520; color: #f08090; border-color: #4e2030; }

[data-theme="dark"] .pd-section-header { border-bottom-color: #2d2d4e; }
[data-theme="dark"] .pd-section-title { color: #a0a0c0; }
[data-theme="dark"] .pd-section-title i { color: #7aabf0; }
[data-theme="dark"] .pd-section-add {
    background: #1e2a3a;
    border-color: #2e3a5a;
    color: #7aabf0;
}
[data-theme="dark"] .pd-section-add:hover { background: #253550; }

[data-theme="dark"] .pd-list-item { border-bottom-color: #2d2d4e; }
[data-theme="dark"] .pd-list-item:hover { background: #252535; }
[data-theme="dark"] .pd-list-item-title { color: #d0d0e0; }
[data-theme="dark"] .pd-list-item-sub { color: #555; }
[data-theme="dark"] .pd-list-item-note { color: #444; }
[data-theme="dark"] .pd-list-item-edit {
    background: #252535;
    border-color: #3d3d5e;
    color: #666;
}
[data-theme="dark"] .pd-list-item-edit:hover { background: #1e2a3a; color: #7aabf0; }
[data-theme="dark"] .pd-list-item-att-badge {
    background: #1a2d4a;
    border-color: #2a4060;
    color: #7ab4e8;
}
[data-theme="dark"] .pd-list-item-att-badge:hover { background: #1e3555; color: #90c4f8; }

[data-theme="dark"] .pd-contact-company { color: #444; }
[data-theme="dark"] .pd-empty-text { color: #444; }

[data-theme="dark"] .pd-badge-not-started { background: #252535; color: #777; }
[data-theme="dark"] .pd-badge-in-progress { background: #1e2a3a; color: #7aabf0; }
[data-theme="dark"] .pd-badge-completed   { background: #1a2e20; color: #6ddb8a; }
[data-theme="dark"] .pd-badge-on-hold     { background: #2e2010; color: #ffa040; }
[data-theme="dark"] .pd-badge-cancelled   { background: #2e1520; color: #f08090; }