/* =========================
   SKILL ITEMS (unchanged)
========================= */
.skill-item {
    cursor: grab;
}

.skill-item:active {
    cursor: grabbing;
}

/* Progress container */
.progress-track {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
    margin-top: 8px;
}

/* Animated bar */
.progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #105fb9, #34d399);
    border-radius: 999px;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-drag-handle {
    position: absolute;
    right: 13%;
    top: 30px;
    transform: translateY(-50%);
    font-size: 18px;
    color: #9ca3af;
    cursor: move;
    opacity: 0;
    transition: opacity 0.2s ease;
    user-select: none;
}

/* Show handle on hover */
.skill-item:hover .skill-drag-handle {
    opacity: 1;
}

.skill-item:active .skill-drag-handle {
    cursor: grabbing;
}

.skill-item:hover {
    cursor: move;
}

.skill-drag-handle:hover {
    cursor: move;
}


/* =========================
   EDUCATION TIMELINE
========================= */

.education-timeline {
    position: relative;
    padding-left: 28px; /* space for line + dot */
}

/* Vertical line */
.education-timeline::before {
    content: "";
    position: absolute;
    left: 6px; /* aligns with dot center */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: #e5e7eb; /* gray-200 */
}

/* Timeline dot */
.education-timeline > span {
    position: absolute;
    left: 0;
    top: 14px; /* aligns with card header */
    width: 12px;
    height: 12px;
    background-color: #4f46e5; /* indigo-600 */
    border-radius: 50%;
    border: 3px solid #fff;
    z-index: 2;
}

/* Optional custom dot color (emerald) */
.edu-dot {
    background-color: #10b981; /* emerald-500 */
}

/* Dark mode support */
.dark .education-timeline::before {
    background-color: #374151; /* gray-700 */
}

.dark .education-timeline > span {
    border-color: #020617; /* slate-950 */
}

/* Card spacing */
.education-timeline > div {
    margin-left: 12px;
}

/* =========================
   MOBILE OPTIMIZATION
========================= */
@media (max-width: 640px) {
    .education-timeline {
        padding-left: 20px;
    }

    .education-timeline::before {
        left: 5px;
    }

    .education-timeline > span {
        width: 10px;
        height: 10px;
        top: 16px;
    }
}