/* Profile Page Specific Styles - Premium Bento Layout */
:root {
    --bento-bg: #ffffff;
    --bento-border: #e2e8f0;
    --bento-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

    /* Heatmap Light Mode - Blue */
    --heatmap-card-bg: #ffffff;
    --heatmap-square-bg: #ebedf0;
    --heatmap-text: #64748b;
    --level-0: #ebedf0;
    --level-1: #dbeafe;
    --level-2: #93c5fd;
    --level-3: #3b82f6;
    --level-4: #1d4ed8;
}


/* Skeleton & Shimmer Utility */
.shimmer {
    position: relative;
    overflow: hidden;
    background: var(--bento-border) !important;
    opacity: 0.8;
}

.dark-mode .shimmer {
    background: rgba(255, 255, 255, 0.05) !important;
}

.shimmer::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer-swipe 1.5s infinite linear;
}

@keyframes shimmer-swipe {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.skeleton-text {
    display: inline-block;
    height: 18px;
    width: 140px;
    border-radius: 4px;
    vertical-align: middle;
}

.skeleton-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

.skeleton-card-item {
    height: 24px;
    margin-bottom: 8px;
    border-radius: 4px;
    width: 100%;
}

.dark-mode {
    --bento-bg: #1e293b;
    --bento-border: rgba(255, 255, 255, 0.1);
    --bento-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);

    /* Heatmap Dark Mode - Blue */
    --heatmap-card-bg: #0f172a;
    --heatmap-square-bg: rgba(148, 163, 184, 0.1);
    --heatmap-text: #94a3b8;
    --level-0: rgba(148, 163, 184, 0.1);
    --level-1: #172554;
    --level-2: #1e3a8a;
    --level-3: #2563eb;
    --level-4: #60a5fa;
}



.dashboard-wrapper {
    width: 100%;
    max-width: none;
    margin: 0 0 16px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 12px;

    /* Fade-in reveal logic */
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reveal when ready */
body.page-ready .dashboard-wrapper {
    opacity: 1;
    transform: translateY(0);
}













/* Sidebar Profile Card */
.profile-card {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;

    box-shadow: var(--bento-shadow);



    position: sticky;
    top: 100px;
}

/* Profile Social Stats */
.profile-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 12px 0 16px;
}

.profile-social i {
    font-size: 0.9rem;
}

.profile-social strong {
    color: var(--text-main);
    font-weight: 700;
}

.profile-social .dot {
    color: var(--bento-border);
    font-size: 1.1rem;
}

.avatar-wrapper {

    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;

}




.avatar-circle {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}



.edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    background: var(--primary);
    border: 3px solid var(--bento-bg);
    border-radius: 50%;
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-card h2 {
    font-size: 1.25rem;
    margin-bottom: 2px;
    color: var(--text-main);
}


.profile-card p#username {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 24px;
}

.profile-meta {
    text-align: center;
    margin-bottom: 12px;
    padding: 10px 8px;
    background: transparent;
    /* Fully transparent */
}

.dark-mode .profile-meta {
    background: transparent;
}


.meta-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 6px;
    /* Tighter gap */
    font-size: 0.75rem;
    /* Tiny font */
    color: var(--text-muted);
}

.meta-item i {
    width: 14px;
    color: var(--primary);
    font-size: 0.8rem;
}



.stat-value {
    display: block;
    font-size: 0.95rem;
    /* Further reduced */
    font-weight: 800;
    color: var(--text-main);
}

.stat-label {
    font-size: 0.55rem;
    /* Ultra tiny label */
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-edit-profile {
    width: 100%;
    padding: 6px 12px;
    /* Ultra-compact padding */
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    /* Smaller font */
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}



.btn-edit-profile:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

/* External Links */
.profile-external-links {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--bento-border);
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Side-by-side gap */
}

.ext-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    /* Slightly smaller for horizontal */
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s ease;
}


.ext-link:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.ext-link i {
    width: 16px;
    font-size: 0.95rem;
}


/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(140px, auto);
    gap: 12px;
}


.bento-item {
    background: var(--bento-bg);
    border: 1px solid var(--bento-border);
    border-radius: 12px;
    padding: 12px;
    box-shadow: var(--bento-shadow);
}




.bento-item.large {
    grid-column: span 3;
}

.bento-item.medium {
    grid-column: span 2;
}

.bento-item.small {
    grid-column: span 1;
}

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

.card-header h3 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: var(--primary);
}

/* Heatmap */
.heatmap-container {
    padding: 20px 0;
    overflow-x: auto;
}

.heatmap-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 24px;
    background: var(--heatmap-card-bg);
    border: 1px solid var(--bento-border);
    border-radius: 12px;
    box-shadow: var(--bento-shadow);
    transition: all 0.3s ease;
}






.heatmap-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 4px;
}

.heatmap-stats {
    font-size: 15px;
    font-weight: 500;
    color: var(--heatmap-text);
}





.heatmap-stats span {
    font-weight: 700;
}

.heatmap-settings {
    color: var(--primary);
    cursor: pointer;
}

.heatmap-wrapper {
    display: flex;
    gap: 16px;
    /* Reduced to help fit without scroll */
}




.day-labels {
    display: none;
    /* Removed as requested */
}








.day-labels span {
    line-height: 11px;
    display: flex;
    align-items: center;
}






.day-labels span:nth-child(1) {
    grid-row: 2;
}

.day-labels span:nth-child(2) {
    grid-row: 4;
}

.day-labels span:nth-child(3) {
    grid-row: 6;
}


.heatmap-main {
    flex: 1;
    overflow-x: auto;
    min-height: 110px;
    position: relative;
}



.year-selector {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 20px;
    border-left: 1px solid var(--bento-border);
    min-width: 80px;
}


.year-tab {
    padding: 6px 12px;
    /* Restored padding */
    font-size: 12px;
    color: var(--heatmap-text);
    border-radius: 6px;



    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.year-tab:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--primary);
}

.year-tab.active {
    background: var(--primary);
    color: #ffffff;
    font-weight: 600;
}



.month-labels {
    display: none;
    /* Removed in favor of month-block names */
}









.month-label {
    grid-column: span 3;
    /* Allow some width for the label */
    white-space: nowrap;
}


.heatmap-grid {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    /* Tightened inter-month gap */
    width: 100%;
    position: relative;
    z-index: 1;
}

.month-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}


.month-name {
    font-size: 11px;
    color: var(--heatmap-text);
    text-align: left;
    padding-left: 2px;
}


.month-days-grid {
    display: grid;
    grid-template-rows: repeat(7, 11px);
    grid-auto-flow: column;
    gap: 3px;
}










.day-square {
    width: 11px;
    height: 11px;
    background: var(--level-0);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s;
}










.heatmap-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    margin-top: 5px;
}

.learn-link {
    color: #64748b;
    text-decoration: none;
}

.heatmap-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
}

.legend-squares {
    display: flex;
    gap: 3px;
}


.day-square:hover {
    transform: scale(1.3);
    z-index: 2;
}

/* Heatmap Levels - GitHub Style */
.day-square.level-0 {
    background: var(--level-0);
}

.day-square.level-1 {
    background: var(--level-1);
}

.day-square.level-2 {
    background: var(--level-2);
}

.day-square.level-3 {
    background: var(--level-3);
}

.day-square.level-4 {
    background: var(--level-4);
}



.dark-mode .day-square.level-0 {
    background: #21262d;
    border: 1px solid rgba(255, 255, 255, 0.05);
}



.dark-mode .day-square.level-1 {
    background: #0e2a5e;
}

.dark-mode .day-square.level-2 {
    background: #1a56ad;
}

.dark-mode .day-square.level-3 {
    background: #3b82f6;
}

.dark-mode .day-square.level-4 {
    background: #60a5fa;
}





/* Radial Progress */
.radial-progress-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.radial-progress {
    width: 80px;
    height: 80px;

    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--percent) * 1%), var(--bento-border) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.radial-progress::after {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    background: var(--bento-bg);
    border-radius: 50%;
}


/* Performance Content */
.stats-content {
    padding: 16px 0;
    height: 100%;
}

.activity-trend-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trend-header {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 600;
}

.trend-bars {
    width: 100%;
    height: 120px;
    /* Increased from 80px */
    position: relative;
}



.trend-bar {
    flex: 1;
    background: var(--bento-border);
    border-radius: 2px;
    min-height: 4px;
    transition: all 0.3s ease;
}

.trend-bar.active {
    background: var(--primary);
}

.trend-bar:hover {
    filter: brightness(1.2);
    transform: scaleY(1.1);
}

.radial-progress {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: conic-gradient(var(--primary) calc(var(--percent) * 1%), var(--bento-border) 0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.radial-progress::after {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    background: var(--bento-bg);
    border-radius: 50%;
}

.inner-value {
    position: relative;
    z-index: 1;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}


.mastery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
}

@media (max-width: 768px) {
    .mastery-grid {
        grid-template-columns: 1fr;
    }
}

.mastery-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.progress-bar-container {
    height: 6px;
    background: var(--bento-border);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--primary), #60a5fa);
    border-radius: 3px;
}



/* Submissions */
.submission-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}


.submission-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

.dark-mode .submission-item {
    background: rgba(255, 255, 255, 0.02);
}

.submission-item {
    display: flex;
    flex-direction: column;
    /* Vertical for horizontal grid */
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 8px;
    background: rgba(148, 163, 184, 0.03);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.sub-icon {
    font-size: 1.1rem;
    margin-bottom: 4px;
}


.sub-icon.success {
    color: #10b981;
}

.sub-icon.failure {
    color: #ef4444;
}


.sub-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sub-id {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.sub-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.sub-time {
    font-size: 0.65rem;
    color: var(--text-muted);
}



/* Career Path Section */
.career-card {
    grid-column: span 2;
}

.career-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding: 16px 0;
}

.career-milestone {
    background: rgba(148, 163, 184, 0.03);
    border: 1px solid var(--bento-border);
    border-radius: 12px;
    padding: 12px 6px;
    /* Highly compact padding */
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.5;
    filter: grayscale(1);
    position: relative;
    overflow: hidden;
}

.career-milestone.achieved {
    opacity: 1;
    filter: grayscale(0);
    background: var(--bento-bg);
    border-color: var(--primary);
    box-shadow: var(--bento-shadow);
}

.career-milestone.current {
    opacity: 1;
    filter: grayscale(0);
    border-color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.milestone-icon {
    font-size: 1.1rem;
    /* Smaller icons */
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.milestone-title {
    display: block;
    font-size: 0.8rem;
    /* Smaller title */
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.milestone-goal {
    font-size: 0.65rem;
    /* Tiny goal text */
    color: var(--text-muted);
}

.milestone-progress {
    margin-top: 10px;
    height: 3px;
    /* Thinner progress bar */
    background: var(--bento-border);
    border-radius: 1.5px;
    overflow: hidden;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}


.milestone-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    transition: width 0.5s ease;
}

.career-milestone.achieved .milestone-fill {
    width: 100%;
}

@media (max-width: 1100px) {
    .career-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .career-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {

    .dashboard-wrapper {
        grid-template-columns: 1fr;
        margin: 12px 0 16px !important; /* Prevent negative margin overlap on mobile/tablet screens */
    }

    .profile-card {
        position: relative;
        top: 0;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-item.medium,
    .bento-item.small {
        grid-column: span 1;
    }
}

/* Edit Profile Modal (Matches Contact Modal Style) */
.ep-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ep-overlay.show {
    display: flex;
    opacity: 1;
}

.ep-modal {
    background: rgba(255, 255, 255, 0.95);
    width: 90%;
    max-width: 340px;
    border-radius: 16px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    overflow: hidden;
    transform: scale(0.9) translateY(30px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.ep-overlay.show .ep-modal {
    transform: scale(1) translateY(0);
}

.ep-header {
    padding: 14px 20px;
    background: linear-gradient(135deg, #0066cc 0%, #004a99 50%, #003366 100%);
    color: white;
    position: relative;
}

.ep-header h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    font-family: 'Outfit', sans-serif;
}

.ep-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(4px);
}

.ep-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg) scale(1.1);
}

.ep-body {
    padding: 16px 20px 20px;
}

.ep-avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
}

.ep-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    overflow: hidden;
}

.dark-mode .ep-avatar-circle {
    background: #1e293b;
}

.ep-avatar-label {
    font-size: 0.7rem;
    color: #0066cc;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 3px;
}

.ep-field {
    margin-bottom: 10px;
}

.ep-field label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.dark-mode .ep-field label {
    color: #94a3b8;
}

.ep-field input {
    width: 100%;
    padding: 7px 10px;
    border-radius: 6px;
    border: 1.5px solid #f1f5f9;
    background: #f8fafc;
    color: #1e293b;
    font-size: 0.8rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
    outline: none;
}

.ep-field input:focus {
    border-color: #0066cc;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.06);
}

.dark-mode .ep-field input {
    background: #0f172a;
    border-color: #1e293b;
    color: #f1f5f9;
}

.dark-mode .ep-field input:focus {
    border-color: #0066cc;
    background: #020617;
}

.ep-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.ep-cancel {
    flex: 1;
    padding: 7px;
    background: transparent;
    color: #64748b;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.ep-cancel:hover {
    background: #f8fafc;
    color: #1e293b;
}

.dark-mode .ep-cancel {
    color: #94a3b8;
    border-color: #334155;
}

.dark-mode .ep-cancel:hover {
    background: #1e293b;
    color: #f1f5f9;
}

.ep-save {
    flex: 2;
    padding: 7px;
    background: #0066cc;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 102, 204, 0.2);
}

.ep-save:hover {
    background: #0052a3;
    transform: translateY(-1px);
    box-shadow: 0 8px 12px -3px rgba(0, 102, 204, 0.3);
}

.dark-mode .ep-modal {
    background: rgba(30, 41, 59, 0.98);
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

/* ── Profile Actions Side-by-Side Row ── */
.profile-actions-row {
    display: flex;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
}

.profile-actions-row .btn-edit-profile,
.profile-actions-row .btn-view-certs {
    flex: 1;
    width: auto;
    white-space: nowrap;
}

/* ── Sidebar Certificates Button ── */
.btn-view-certs {
    padding: 6px 12px;
    background: transparent;
    color: var(--text-main);
    border: 1.5px solid var(--primary);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-view-certs:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.dark-mode .btn-view-certs {
    color: #f1f5f9;
    border-color: var(--primary);
}

/* ── Certificates List Item ── */
.profile-cert-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(148, 163, 184, 0.04);
    border: 1px solid var(--bento-border);
    border-radius: 8px;
    margin-top: 8px;
    transition: all 0.2s ease;
}

.profile-cert-item:hover {
    background: rgba(148, 163, 184, 0.07);
    border-color: var(--primary);
}

.profile-cert-item.locked-item {
    border-style: dashed;
    background: rgba(148, 163, 184, 0.01);
}

.profile-cert-details {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.profile-cert-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.profile-cert-badge {
    font-size: 0.68rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-cert-badge.unlocked {
    color: #10b981;
}

.profile-cert-badge.locked {
    color: var(--text-muted);
}

.profile-cert-btn {
    display: inline-block;
    padding: 5px 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s ease;
    text-align: center;
}

.profile-cert-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
}

.profile-cert-btn.secondary {
    background: transparent;
    border: 1px solid var(--bento-border);
    color: var(--text-main);
}

.profile-cert-btn.secondary:hover {
    background: rgba(148, 163, 184, 0.08);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}