/* ============================================================
   Candidate Detail Page — C1 Design
   File: assets/css/candidate-detail.css
   v1.9.0 — balanced redesign: unified card accent border,
             consistent spacing rhythm, harmonized palette
   ============================================================ */

/* ── Reset / scope ─────────────────────────────────────────── */
#mdp-cand-c1 *,
#mdp-cand-c1 *::before,
#mdp-cand-c1 *::after {
    box-sizing: border-box;
}

#mdp-cand-c1 {
    color: #1a1a2e;
    line-height: 1.4;
    background: #f0f2f8;
    padding: 0 0 48px;
}

/* ── Common Tag ───────────────────────────────────────────── */
#mdp-cand-c1 .mdp-tag {
    display: inline-block;
    font-size: 14px;
    font-weight: 400;
    color: #333;
    border: 1px solid #9c9efe;
    border-radius: 6px;
    padding: 4px 12px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-tag.highlight{
    border-color: #f1bb00;
}

/* ── Shared tag container ─────────────────────────────────── */
#mdp-cand-c1 .mdp-tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* ── Shared list-item structure ───────────────────────────── */
#mdp-cand-c1 .mdp-item {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid #ecedf5;
}
#mdp-cand-c1 .mdp-item:first-child { padding-top: 0; }
#mdp-cand-c1 .mdp-item:last-child  { border-bottom: none; padding-bottom: 0; }

#mdp-cand-c1 .mdp-item-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#mdp-cand-c1 .mdp-item-icon svg{
    width: 12px;
    height: 12px;
}
#mdp-cand-c1 .mdp-item-body {
    flex: 1;
    min-width: 0;
}

#mdp-cand-c1 .mdp-item-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

#mdp-cand-c1 .mdp-item-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

#mdp-cand-c1 .mdp-item-subtitle {
    font-size: 14px;
    color: #333;
    font-weight: 400;
    margin: 2px 0 6px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-item-subtitle.accent { color: #9c9efe; }

#mdp-cand-c1 .mdp-item-date {
    font-size: 14px;
    font-weight: 400;
    color: #333;
    white-space: nowrap;
    border: 1px solid #9c9efe;
    border-radius: 6px;
    padding: 2px 9px;
    flex-shrink: 0;
    line-height: 1.4;
}

/* ── Hero Banner ───────────────────────────────────────────── */
#mdp-cand-c1 .mdp-cand-hero-banner {
    height: 144px;
    background: linear-gradient(135deg, #5a5ad8 0%, #8a8af8 40%, #b0a0fe 75%, #d0c0ff 100%);
    border-radius: 0;
    position: relative;
}

/* ── Hero Profile Card ─────────────────────────────────────── */
#mdp-cand-c1 .mdp-cand-profile-card {
    background: #fff;
    border-bottom: 1px solid #e8eaf4;
    padding: 25px;
    margin-bottom: 24px;
    box-shadow: 0 4px 24px rgba(100, 100, 220, .10);
    position: relative;
}

#mdp-cand-c1 .mdp-cand-profile-row {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding-bottom: 14px;
    margin-top: -46px;
    position: relative;
    z-index: 2;
}

/* Avatar */
#mdp-cand-c1 .mdp-cand-avatar {
    flex-shrink: 0;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: linear-gradient(135deg, #9c9efe 0%, #7b7be8 100%);
    border: 4px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 4px 20px rgba(100, 100, 220, .30);
    overflow: hidden;
}
#mdp-cand-c1 .mdp-cand-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

#mdp-cand-c1 .mdp-cand-profile-info {
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
}
#mdp-cand-c1 .mdp-cand-info-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
}
#mdp-cand-c1 .mdp-cand-info-top h1 {
    flex: 1 1 auto;
    min-width: 0;
}
#mdp-cand-c1 .mdp-cand-meta-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
#mdp-cand-c1 .mdp-cand-last-active {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
}
#mdp-cand-c1 .mdp-cand-cv-download {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    background: #9c9efe;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.2;
    transition: filter .15s ease, transform .15s ease, box-shadow .15s ease;
}

#mdp-cand-c1 .mdp-cand-cv-download svg {
    flex-shrink: 0;
}
#mdp-cand-c1 .mdp-cand-cv-download .mdp-cv-icon-default {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}
#mdp-cand-c1 .mdp-cand-cv-download .mdp-cv-spinner {
    display: none;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: mdp-cv-spin .65s linear infinite;
    flex-shrink: 0;
}
#mdp-cand-c1 .mdp-cand-cv-download .mdp-cv-text-loading {
    display: none;
}
#mdp-cand-c1 .mdp-cand-cv-download.is-loading {
    pointer-events: none;
    cursor: wait;
    opacity: .92;
    transform: none;
}
#mdp-cand-c1 .mdp-cand-cv-download.is-loading .mdp-cv-icon-default,
#mdp-cand-c1 .mdp-cand-cv-download.is-loading .mdp-cv-text-default {
    display: none;
}
#mdp-cand-c1 .mdp-cand-cv-download.is-loading .mdp-cv-spinner {
    display: inline-block;
}
#mdp-cand-c1 .mdp-cand-cv-download.is-loading .mdp-cv-text-loading {
    display: inline;
}
#mdp-cand-c1 .mdp-cand-cv-download.is-loading .mdp-cv-text-loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    text-align: left;
    animation: mdp-cv-dots 1.2s steps(4, end) infinite;
}
@keyframes mdp-cv-spin {
    to { transform: rotate(360deg); }
}
@keyframes mdp-cv-dots {
    0%   { content: ''; }
    25%  { content: '.'; }
    50%  { content: '..'; }
    75%  { content: '...'; }
    100% { content: ''; }
}
#mdp-cand-c1 .mdp-cand-last-active svg {
    flex-shrink: 0;
    color: #9c9efe;
}
#mdp-cand-c1 .mdp-cand-last-active .mdp-last-active-label {
    color: #6b7280;
    font-weight: 500;
}
#mdp-cand-c1 .mdp-cand-last-active .mdp-last-active-value {
    color: #0f0f23;
    font-weight: 600;
}
@media (max-width: 600px) {
    #mdp-cand-c1 .mdp-cand-info-top {
        flex-direction: column;
        gap: 6px;
    }
    #mdp-cand-c1 .mdp-cand-meta-right {
        padding-top: 0;
        flex-wrap: wrap;
        gap: 8px;
    }
}
#mdp-cand-c1 .mdp-cand-profile-info h1 {
    font-size: 24px;
    font-weight: 800;
    color: #0f0f23;
    margin: 0 0 3px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-cand-profile-info .cand-job-title {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    margin: 0 0 4px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-cand-profile-info .cand-location {
    font-size: 14px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-cand-profile-info .cand-location svg {
    flex-shrink: 0;
    color: #b0b4c0;
}

#mdp-cand-c1 .mdp-cand-action-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    padding-bottom: 8px;
}
#mdp-cand-c1 .mdp-cand-action-btns a {
    height: 40px;
}
#mdp-cand-c1 .mdp-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #9c9efe;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    line-height: 1.4;
}

#mdp-cand-c1 .mdp-btn-save {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    color: #333 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    text-decoration: none !important;
    cursor: pointer;
    line-height: 1.4;
}

#mdp-cand-c1 .mdp-btn-share {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #fff;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    color: #6b7280;
}

/* Status Tags Row */
#mdp-cand-c1 .mdp-cand-status-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
}

#mdp-cand-c1 .mdp-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-status-tag .tag-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

#mdp-cand-c1 .mdp-tag-fl {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #86efac;
}
#mdp-cand-c1 .mdp-tag-fl .tag-dot { background: #22c55e; }

/* "Actively looking" — neutral pill, no dot */
#mdp-cand-c1 .mdp-tag-looking {
    background: #fff;
    color: #333;
    border: 1px solid #d1d5db;
}
#mdp-cand-c1 .mdp-tag-looking .tag-dot { display: none; }

#mdp-cand-c1 .mdp-tag-kv {
    background: #f9f9ff;
    color: #333;
    border: 1px solid #e0e0f0;
    font-weight: 500;
}
#mdp-cand-c1 .mdp-tag-kv .kv-key {
    color: #9ca3af;
    font-weight: 400;
}
#mdp-cand-c1 .mdp-tag-kv .kv-sep { color: #c4c4d4; margin: 0 1px; }
#mdp-cand-c1 .mdp-tag-kv .kv-val { color: #9c9efe; font-weight: 600; }

/* ── Container ─────────────────────────────────────────────── */
#mdp-cand-c1 .mdp-cand-body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Cards ──────────────────────────────────────────────────── */
#mdp-cand-c1 .mdp-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 20px;
}

/* ── CV Reminder Banner (owner-only) ───────────────────────── */
#mdp-cand-c1 .mdp-card.mdp-cv-reminder {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fee2e2;        /* red-100 */
    border: 1px solid #fca5a5;   /* red-300 */
    color: #991b1b;              /* red-800 */
    text-decoration: none !important;
    transition: background .15s, transform .15s, box-shadow .15s;
    cursor: pointer;
}
#mdp-cand-c1 .mdp-card.mdp-cv-reminder:hover {
    background: #fecaca;         /* red-200 */
    box-shadow: 0 4px 14px rgba(153, 27, 27, .15);
    transform: translateY(-1px);
}
#mdp-cand-c1 .mdp-cv-reminder-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fecaca;
    color: #b91c1c;              /* red-700 */
}
#mdp-cand-c1 .mdp-cv-reminder-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    color: #991b1b;
}
#mdp-cand-c1 .mdp-cv-reminder-text strong {
    font-weight: 700;
    color: #7f1d1d;              /* red-900 */
    margin-left: 4px;
    text-decoration: underline;
}
#mdp-cand-c1 .mdp-cv-reminder-arrow {
    flex-shrink: 0;
    color: #b91c1c;
    transition: transform .15s;
}
#mdp-cand-c1 .mdp-card.mdp-cv-reminder:hover .mdp-cv-reminder-arrow {
    transform: translateX(3px);
}

#mdp-cand-c1 .mdp-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid #eaebf5;
    background: #fcfcff;
}

#mdp-cand-c1 .mdp-card-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
}

#mdp-cand-c1 .mdp-card-body {
    padding: 20px !important;
}
#mdp-cand-c1 .mdp-card-body b{
    font-weight: bold;
}
/* ── Technical Skills Card ─────────────────────────────────── */
#mdp-cand-c1 .mdp-skills-card-head {
    align-items: center;
    padding: 15px 20px;
}

/* Experience stat blocks */
#mdp-cand-c1 .mdp-exp-stats {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

#mdp-cand-c1 .mdp-exp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #9c9efe;
    border-radius: 10px;
    padding: 5px 15px;
    min-width: 80px;
    position: relative;
}

#mdp-cand-c1 .mdp-exp-stat-num {
    font-size: 22px;
    font-weight: 600;
    color: #9c9efe;
}

#mdp-cand-c1 .mdp-exp-stat-label {
    font-size: 12px;
    font-weight: 400;
    color: #333;
    line-height: 1.3;
    max-width: 70px;
}

#mdp-cand-c1 .mdp-exp-stat--domain {
    background: #faf5ff;
    border-color: #e9d5ff;
}
#mdp-cand-c1 .mdp-exp-stat--domain .mdp-exp-stat-num {
    color: #9c9efe;
}

#mdp-cand-c1 .mdp-years-badge { white-space: nowrap; }

/* ── Two-column layout ─────────────────────────────────────── */
#mdp-cand-c1 .mdp-two-col {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

#mdp-cand-c1 .mdp-col-main { flex: 1; min-width: 0; }
#mdp-cand-c1 .mdp-col-side { width: 280px; flex-shrink: 0; position: sticky; top: 20px; align-self: flex-start; }

/* ── AI CV Summary Card ────────────────────────────────────── */
#mdp-cand-c1 .mdp-ai-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
#mdp-cand-c1 ul{
    padding-left: 25px;
    margin: 10px 0;
}
#mdp-cand-c1 .mdp-ai-content h3 {
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin: 18px 0 6px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-ai-content h3:first-child { margin-top: 0; }

#mdp-cand-c1 .mdp-ai-content p {
    margin: 0 0 8px;
    color: #333;
    line-height: 1.6;
}

#mdp-cand-c1 .mdp-ai-content a,
#mdp-cand-c1 .mdp-ai-content .ai-highlight {
    color: #ef4444;
    font-weight: 500;
    text-decoration: none;
}

/* About — Summary paragraph */
#mdp-cand-c1 .mdp-about-summary {
    margin: 0 0 16px;
    color: #333;
    line-height: 1.4;
}
/* Rich-text formatting inside Professional Summary */
#mdp-cand-c1 .mdp-about-summary strong,
#mdp-cand-c1 .mdp-about-summary b { font-weight: 700; }
#mdp-cand-c1 .mdp-about-summary em,
#mdp-cand-c1 .mdp-about-summary i { font-style: italic; }
#mdp-cand-c1 .mdp-about-summary u { text-decoration: underline; }
#mdp-cand-c1 .mdp-about-summary ul,
#mdp-cand-c1 .mdp-about-summary ol {
    margin: 8px 0 4px 18px;
    padding: 0;
}
#mdp-cand-c1 .mdp-about-summary li {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 3px;
}

/* About — Key Highlights */
#mdp-cand-c1 .mdp-about-highlights {
    margin-bottom: 16px;
}
#mdp-cand-c1 .mdp-about-highlights h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 10px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-about-highlights ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
#mdp-cand-c1 .mdp-about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
    color: #333;
}


/* ── Contact Card ──────────────────────────────────────────── */
#mdp-cand-c1 .mdp-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ecedf5;
    text-decoration: none !important;
    color: #333;
}
#mdp-cand-c1 .mdp-contact-item:last-child { border-bottom: none; padding-bottom: 0; }

#mdp-cand-c1 .mdp-contact-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#mdp-cand-c1 .mdp-contact-icon.linkedin  { background: #e8f0fe; color: #0a66c2; }
#mdp-cand-c1 .mdp-contact-icon.github    { background: #f3f4f6; color: #24292f; }
#mdp-cand-c1 .mdp-contact-icon.portfolio { background: #f0f0ff; color: #9c9efe; }

#mdp-cand-c1 .mdp-contact-item span {
    font-size: 14px;
    font-weight: 500;
}

/* ── Preferences Card ──────────────────────────────────────── */
#mdp-cand-c1 .mdp-pref-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ecedf5;
    font-size: 14px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-pref-row:last-child  { border-bottom: none; padding-bottom: 0; }
#mdp-cand-c1 .mdp-pref-row:first-child { padding-top: 0; }

#mdp-cand-c1 .mdp-pref-label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #6b7280;
    font-weight: 500;
    flex-shrink: 0;
}
#mdp-cand-c1 .mdp-pref-label svg { color: #b0b4c0; }

#mdp-cand-c1 .mdp-pref-value {
    color: #333;
    font-weight: 500;
    text-align: right;
}

#mdp-cand-c1 .mdp-pref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-end;
}
/* Full-width preferred locations row */
#mdp-cand-c1 .mdp-pref-row-full {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
#mdp-cand-c1 .mdp-pref-tags-full {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
}
#mdp-cand-c1 .mdp-pref-row-full .mdp-pref-tags {
    justify-content: flex-start !important;
    width: 100% !important;
}

/* ── Back button ───────────────────────────────────────────── */
#mdp-cand-c1 .mdp-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
    padding: 12px 0;
    cursor: pointer;
    background: none;
    border: none;
    text-decoration: none;
}

/* ── Restriction notice ────────────────────────────────────── */
#mdp-cand-c1 .mdp-restricted-notice {
    background: #fff;
    border-radius: 12px;
    border-top: 3px solid #9c9efe;
    padding: 60px 32px;
    text-align: center;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    margin: 24px 0;
}
#mdp-cand-c1 .mdp-restricted-notice h2 { color: #333; margin-bottom: 12px; }
#mdp-cand-c1 .mdp-restricted-notice p  { color: #6b7280; font-size: 14px; }

/* ── Work Experience Card ──────────────────────────────────── */
#mdp-cand-c1 .mdp-exp-badge { white-space: nowrap; }

#mdp-cand-c1 .mdp-exp-icon {
    background: #f0f0ff;
    color: #9c9efe;
    border-color: #dddeff;
}
#mdp-cand-c1 .mdp-exp-desc {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.4;
    margin: 0 0 8px;
}
#mdp-cand-c1 .mdp-exp-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
#mdp-cand-c1 .mdp-exp-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}

#mdp-cand-c1 .mdp-exp-bullets li .bullet-icon svg { 
    display: block; 
    height: 12px;
    width: 12px;
}

/* ── Education & Certifications Card ──────────────────────── */
/* Body: flex column with consistent gap between blocks */
#mdp-cand-c1 .mdp-edu-body { gap: 20px !important; }

/* Block container (Education / Certifications / Awards) */
#mdp-cand-c1 .mdp-edu-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}
#mdp-cand-c1 .mdp-edu-block-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Timeline — Education */
#mdp-cand-c1 .mdp-edu-timeline {
    display: flex;
    flex-direction: column;
    gap: 14px;
    border-left: 2px solid #e8e8f0;
    padding-left: 20px;
    margin-left: 4px;
}
#mdp-cand-c1 .mdp-edu-tl-item {
    position: relative;
}
#mdp-cand-c1 .mdp-edu-tl-item::before {
    content: '';
    position: absolute;
    left: -27px;
    top: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #9c9efe;
    border: 2px solid #fff;
    box-shadow: 0 0 0 1.5px #9c9efe;
}
#mdp-cand-c1 .mdp-edu-tl-degree {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 0 0 2px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-edu-tl-meta {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-edu-tl-details {
    font-size: 13px;
    color: #888;
    margin: 2px 0 0;
    line-height: 1.4;
}

/* Cert list */
#mdp-cand-c1 .mdp-cert-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
#mdp-cand-c1 .mdp-cert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid #f3f3f8;
}
#mdp-cand-c1 .mdp-cert-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
#mdp-cand-c1 .mdp-cert-item:first-child {
    padding-top: 0;
}
#mdp-cand-c1 .mdp-cert-icon {
    width: 20px;
    height: 20px;
    border-radius: 8px;
    background: #f0f0ff;
    color: #9c9efe;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#mdp-cand-c1 .mdp-cert-content {
    flex: 1;
    min-width: 0;
}
#mdp-cand-c1 .mdp-cert-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-cert-issuer {
    font-size: 12px;
    color: #6b7280;
    margin: 2px 0 0;
    line-height: 1.3;
}
#mdp-cand-c1 .mdp-cert-year {
    font-size: 12px;
    font-weight: 500;
    color: #9c9efe;
    background: #ededff;
    padding: 2px 10px;
    border-radius: 6px;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Award list */
#mdp-cand-c1 .mdp-award-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
#mdp-cand-c1 .mdp-award-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
#mdp-cand-c1 .mdp-award-row-icon {
    width: 20px;
    height: 20px;
    border-radius: 7px;
    background: #fff7ed;
    color: #c2410c;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
#mdp-cand-c1 .mdp-award-row-name {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0 0 2px;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-award-row-meta {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* ── FL Rates Card ─────────────────────────────────────────── */
#mdp-cand-c1 .mdp-rates-card .mdp-card-body { gap: 0; }
#mdp-cand-c1 .mdp-rates-divider {
    border: none;
    border-top: 1px solid #ecedf5;
    margin: 8px 0;
}
#mdp-cand-c1 .mdp-rates-avail-row {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px 0;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-rates-avail-row svg { flex-shrink: 0; color: #b0b4c0; }
#mdp-cand-c1 .mdp-rates-avail-row .ra-key { color: #6b7280; }
#mdp-cand-c1 .mdp-rates-avail-row .ra-val { font-weight: 700; color: #9c9efe; }
#mdp-cand-c1 .mdp-rates-avail-row.open-ft  { color: #166534; }
#mdp-cand-c1 .mdp-rates-avail-row.open-ft svg { color: #22c55e; }

/* ── FL Portfolio Card ─────────────────────────────────────── */
#mdp-cand-c1 .mdp-portfolio-card .mdp-card-body { gap: 0; }
#mdp-cand-c1 .mdp-port-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    background: #9c9efe;
    border: 1px solid #9c9efe;
    border-radius: 20px;
    padding: 3px 10px;
    line-height: 1.4;
}

#mdp-cand-c1 .mdp-port-star {
    color: #f59e0b;
    border-color: #fde68a;
}
#mdp-cand-c1 .mdp-port-client-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
    line-height: 1.4;
}
#mdp-cand-c1 .mdp-port-client-left {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
}
#mdp-cand-c1 .mdp-port-client-row svg { 
    flex-shrink: 0; 
    color: #9c9efe;
    width: 15px;
    height: 15px;
}
#mdp-cand-c1 .mdp-port-completed { 
    color: #333; 
    white-space: nowrap; 
}

#mdp-cand-c1 .mdp-port-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    margin-top: 0;
}
#mdp-cand-c1 .mdp-port-meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
#mdp-cand-c1 .mdp-port-desc {
    font-size: 15px;
    color: #333;
    line-height: 1.4;
    margin: 0 0 10px;
}
#mdp-cand-c1 .mdp-port-tech { margin-top: 10px; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 900px) {
    #mdp-cand-c1 .mdp-two-col           { flex-direction: column; }
    #mdp-cand-c1 .mdp-col-side          { width: 100%; position: static; }
    #mdp-cand-c1 .mdp-cand-profile-row  { flex-wrap: wrap; }
    #mdp-cand-c1 .mdp-cand-action-btns  { flex-wrap: wrap; }
    #mdp-cand-c1 .mdp-cand-profile-card { padding: 0 16px 16px; }
}

@media (max-width: 600px) {
    #mdp-cand-c1 .mdp-cand-hero-banner      { height: 100px; }
    #mdp-cand-c1 .mdp-cand-profile-row      { margin-top: -36px; }
    #mdp-cand-c1 .mdp-cand-avatar           { width: 72px; height: 72px; font-size: 24px; }
    #mdp-cand-c1 .mdp-cand-profile-info h1  { font-size: 20px; }
    #mdp-cand-c1 .mdp-card-body,
    #mdp-cand-c1 .mdp-card-head             { padding: 14px 16px; }
    #mdp-cand-c1 .mdp-cand-body             { padding: 0 12px; }
}

/* ══ AI-Generated Cards ════════════════════════════════════════ */

#mdp-cand-c1 .mdp-ai-badge svg { color: #9c9efe !important; }

/* ── Projects Card ─────────────────────────────────────────── */
#mdp-cand-c1 .mdp-proj-icon {
    background: #f0fdf4;
    color: #16a34a;
    border-color: #bbf7d0;
}

/* Awards icon styles now in mdp-award-row-icon above */

/* AI Tech Skills categories */
#mdp-cand-c1 .mdp-cv-tech-group { margin-bottom: 16px; }
#mdp-cand-c1 .mdp-cv-tech-group:last-child { margin-bottom: 0; }
#mdp-cand-c1 .mdp-cv-tech-cat-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}
#mdp-cand-c1 ul.mdp-exp-bullets {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}
#mdp-cand-c1 ul.mdp-exp-bullets li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
    list-style: none !important;
}
#mdp-cand-c1 ul.mdp-exp-bullets li:last-child {
    margin-bottom: 0 !important;
}
#mdp-cand-c1 .bullet-icon {
    flex-shrink: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #9c9efe !important;
    margin-top: 3px !important;
    width: 16px !important;
    height: 16px !important;
    background: #f2f2ff;
    border-radius: 20px;
    padding: 3px;
}
