/* =========================
   GLOBAL
========================= */
.page-header {
    background: #eaeef7;
    padding: 32px 24px;
    margin-bottom: 30px;
}

.page-title {
    font-size: 22px;
    font-weight: 300;
    color: #111827;
}

.page-description {
    font-size: 14px;
    color: #6B7280;
}

/* =========================
   DASHBOARD STATS (Summary Cards)
========================= */
.dashboard-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: -40px 20px 30px;
}

.stat-card {
    background: #fff;
    border-radius: 10px;
    padding: 18px 22px;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

    .stat-card:hover {
        box-shadow: 0 6px 16px rgba(0,0,0,0.25);
    }

.stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.stat-label {
    font-size: 13px;
    color: #6B7280;
}

/* Status colors */
.stat-card.success {
    border-left: 5px solid #3B82F6;
}

.stat-card.danger {
    border-left: 5px solid #EF4444;
}

.stat-card.warning {
    border-left: 5px solid #F59E0B;
}

/* =========================
   CARDS (Overall + Tests)
========================= */
.card-heading {
    padding: 14px 0px 0px 21px;
    height: 45px;
    background-image: url(https://i.ibb.co/dLm7VDn/Right-Arrow.png);
    background-repeat: no-repeat;
    color: white;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    background-size: contain;
    background-position-x: right;
    background-color: #565656;
    font-weight: bold;
    font-size: 14px;
}
.card {
    background: #fff;
    border-radius: 20px;
    margin: 10px 20px 20px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.card-header {
    padding: 14px 20px;
    font-size: 14px;
    font-weight: bold;
}

.card-body {
    padding: 24px;
}

/* MY TESTS Header */
.card-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: bold;
}

/* =========================
   STATUS BADGES
========================= */
.status-badge {
    font-size: 13px;
    font-weight: 600;
    padding-left: 12px;
    position: relative;
}

    .status-badge::before {
        content: '';
        position: absolute;
        left: 0;
        top: 3px;
        width: 3px;
        height: 18px;
        border-radius: 2px;
    }

    .status-badge.overdue {
        color: #DC2626;
    }

        .status-badge.overdue::before {
            background: #DC2626;
        }

    .status-badge.due-soon {
        color: #D97706;
    }

        .status-badge.due-soon::before {
            background: #D97706;
        }

    .status-badge.in-progress {
        color: #2563EB;
    }

        .status-badge.in-progress::before {
            background: #2563EB;
        }

/* =========================
   PROGRESS BAR (Overall + Test)
========================= */
.progress-bar {
    height: 45px;
    background: #ffffff;
    border-radius: 15px;
    border: 18px solid #EBF7E3;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #10B981;
    border-radius: 15px;
    transition: width 0.6s ease;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 12px;
    color: #6B7280;
}

/* =========================
   PARTNER HEADER
========================= */
.card-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
}

/* =========================
   TEST SETUP SECTION
========================= */
.card-body > div[style*="background: #F8F9FA"] {
    background: #F9FAFB !important;
    border-radius: 10px;
}

.card-body a {
    font-weight: 600;
}

/* =========================
   ACTION BUTTONS
========================= */
.btn {
    border-radius: 2rem;
    font-size: 13px;
    padding: 0.45rem 1.25rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #2968E9;
    border: none;
}

    .btn-primary:hover {
        background: #2968E9;
        box-shadow: 0 4px 12px rgba(91,79,201,0.3);
    }

.btn-outline {
    border: 1px solid #5B4FC9;
    color: #5B4FC9;
    background: #fff;
}

    /*.btn-outline:hover {
        background: #F5F4FF;
    }*/
.btn-cancel {
    border: 1px solid #929392;
    color: white;
    background: #929392;
}
/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .dashboard-stats {
        flex-direction: column;
        margin-top: 0;
    }
}
/* ===============================
   FORCE TOP ALIGNMENT – FINAL FIX
================================ */

/* Ensure full height layout */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* App container must align children from top */
.app-container {
    display: flex;
    align-items: stretch;
    height: 100vh;
}

/* Sidebar fixed full height */
.sidebar {
    height: 100vh;
    margin-top: 0;
}

/* Main content must start at top */
.main-content {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    /* ADD THESE */
    margin-left: 260px; /* same as sidebar width */
    width: calc(100% - 260px);
}

/* Header must touch top */
.main-header {
    margin-top: 0 !important;
    padding-top: 12px;
}

/* Breadcrumb must sit right under header */
.breadcrumb-wrapper {
   /* margin-top: 0 !important;
    padding-top: 0 !important;*/
    background: #EAEEF7;
}

/* REMOVE ANY BOOTSTRAP CONTAINER PUSH */
.container,
.container-fluid {
    padding-top: 0 !important;
    padding-right: 0 !important;
    margin-top: 0 !important;
}
.week-item.completed {
    background: #22c55e;
    color: #fff;
}

.week-item.overdue {
    background: #ef4444;
    color: #fff;
}

.week-item.due-soon {
    background: #f59e0b;
    color: #fff;
}

.week-item.pending {
    background: #e5e7eb;
    color: #6b7280;
}
/* =========================
   PARTNER HEADER – FIXED
========================= */

.partner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.partner-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.partner-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: contain;
    background: #f0f0f0;
    padding: 5px;
    flex-shrink: 0;
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.partner-name {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111827;
}

/* SINGLE LINE META */
.partner-meta {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: nowrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
    padding-right: 24px;
    position: relative;
}

    /* Vertical divider AFTER each item */
    .meta-item::after {
        content: "";
        position: absolute;
        right: 0;
        top: 4px;
        height: 32px;
        width: 1px;
        background-color: #D1D5DB;
    }

    /* REMOVE divider for last item (Days Remaining) */
    .meta-item:last-child::after {
        display: none;
    }
.partner-divider {
    width: 100%;
    height: 1px;
    background-color: #E5E7EB;
    margin-top: 16px;
}
.meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7F8C8D;
}

.meta-value {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .partner-meta {
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}

/*help popup*/
<style >
/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
}

.modal-overlay.show {
    display: block;
}
 
.help-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 24px;
    max-width: 600px;
    width: 90%;
    z-index: 9999;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: none;
    overflow: hidden;
}

    .help-modal.show {
        display: block;
    }

.modal-content {
    padding: 50px 60px 40px;
    text-align: center;
}

.modal-logo {
    margin-bottom: 30px;
}

    .modal-logo img {
        width: 120px;
        height: auto;
    }

.modal-title {
    font-size: 32px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
}

.modal-text {
    font-size: 14px;
    line-height: 1.8;
    color: #4B5563;
    margin-bottom: 20px;
    text-align: left;
    font-weight:500;
}

    .modal-text strong {
        color: #1F2937;
        font-weight: 600;
    }

.modal-button {
    display: inline-block;
    padding: 14px 40px;
    background: #2968E9;
    color: white;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 20px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

    .modal-button:hover {
        background: #1E50B0;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(41, 104, 233, 0.4);
    }

/* Help Page Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #E6E7E9;
    margin: 0;
    padding: 0;
}

.page-container {
    padding: 20px;
}

/* Header Section */
.help-header {
    background: #eaeef7;
    padding: 32px 40px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.help-header-left h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1F2937;
    margin: 0 0 8px 0;
}

.help-header-left p {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.btn-go-dashboard {
    padding: 12px 28px;
    background: #2968E9;
    color: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

    .btn-go-dashboard:hover {
        background: #1E50B0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(41, 104, 233, 0.3);
    }

/* Test Row Container */
.Test-row {
    background: #F2F2F2;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    margin: 0px 20px 20px;
    border: 1px solid #F2F2F2;
    overflow: hidden;
}

 

/* Content Card */
.content-card {
    background: white;
    margin: 20px;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #E5E7EB;
}

.section-content {
    margin-bottom: 32px;
}

    .section-content p {
        font-size: 14px;
        line-height: 1.8;
        color: #4B5563;
        margin-bottom: 16px;
    }

.step-item {
    margin-bottom: 28px;
}

.step-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 10px;
}

.step-description {
    font-size: 14px;
    line-height: 1.8;
    color: #6B7280;
}

.highlight {
    color: #2968E9;
    font-weight: 600;
}
.more-actions-wrapper {
    position: relative;
    z-index: 100; /* ADD THIS */
}

.more-actions-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1050; /* INCREASE THIS */
    margin-top: 4px;
    padding: 8px 0;
    list-style: none;
    display: none;
}

    .more-actions-menu.show {
        display: block;
    }

    .more-actions-menu li {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
        cursor: pointer;
        font-size: 14px;
        color: #374151;
    }

        .more-actions-menu li:hover {
            background: #F3F4F6;
        }

        .more-actions-menu li i {
            width: 16px;
            color: #6B7280;
        }

        .more-actions-menu li.divider {
            height: 1px;
            background: #E5E7EB;
            margin: 8px 0;
            padding: 0;
        }
/* More Actions Button */
.more-actions-btn {
    width: 32px;
    height: 32px;
    background: #E0E6FF;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2968E9;
    transition: all 0.2s ease;
    margin-left: 12px;
    flex-shrink: 0;
}
 