/* RESUME TABS STYLES */

.resume-section-wrapper {
    margin-bottom: 4rem; /* mb-16 */
}

/* --- 1. TAB CONTROLLER STYLES --- */
.tabs-nav-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.tabs-nav {
    position: relative;
    display: flex;
    background-color: #f1f5f9; /* slate-100 */
    padding: 0.375rem;
    border-radius: 0.75rem; /* rounded-xl */
    width: 100%;
    max-width: 24rem; /* max-w-sm */
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.03);
}

.tab-btn {
    position: relative;
    flex: 1;
    z-index: 10;
    padding: 0.5rem 1rem;
    font-size: 0.875rem; /* text-sm */
    font-weight: 600;
    color: #64748b; /* slate-500 */
    border-radius: 0.5rem;
    cursor: pointer;
    transition: color 0.2s ease;
    text-align: center;
    border: none;
    background: transparent;
}

.tab-btn.active {
    color: #0f172a; /* slate-900 */
}

/* The Sliding White Box (Glider) */
.tab-glider {
    position: absolute;
    top: 0.375rem;
    left: 0.375rem;
    height: calc(100% - 0.75rem);
    width: calc(50% - 0.375rem); /* Asumsi 2 tombol */
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- 2. TAB CONTENT VISIBILITY --- */
.tab-pane {
    display: none; /* Hidden by default */
    animation: fadeSlideUp 0.4s ease-out forwards;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- 3. TIMELINE STYLES (Copied from previous experience.css) --- */
/* Style ini dipindah kesini agar file ini mandiri (self-contained) */

.timeline-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

@media (min-width: 768px) {
    .timeline-card { padding: 2rem; }
}

.timeline-track {
    position: relative;
    border-left: 2px solid #f1f5f9;
    margin-left: 0.75rem;
    padding-left: 2rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

@media (min-width: 768px) {
    .timeline-track { padding-left: 2.5rem; }
}

.timeline-item { position: relative; }

.timeline-logo-wrapper {
    position: absolute;
    left: -3.4rem;
    top: 0;
    height: 2.75rem;
    width: 2.75rem;
    border-radius: 9999px;
    background-color: white;
    border: 3px solid white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 0 1px #f1f5f9; 
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .timeline-logo-wrapper { left: -3.9rem; }
}

.timeline-logo-img {
    width: 100%; height: 100%; object-fit: contain; padding: 0.125rem;
}

.timeline-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .timeline-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: baseline;
    }
}

.timeline-company {
    font-weight: 700; color: #0f172a; font-size: 0.9375rem; transition: color 0.2s;
}

.timeline-role {
    font-size: 0.875rem; font-weight: 600; color: #475569; margin-top: 0.125rem;
}

.timeline-period {
    font-size: 0.75rem; font-family: monospace; color: #94a3b8;
    background-color: #f8fafc; border: 1px solid #f1f5f9;
    padding: 0.25rem 0.5rem; border-radius: 0.25rem;
    white-space: nowrap; margin-top: 0.5rem;
}

@media (min-width: 640px) { .timeline-period { margin-top: 0; } }

.timeline-details {
    list-style-type: disc; list-style-position: outside; margin-left: 1rem;
    font-size: 0.8125rem; color: #64748b; line-height: 1.625;
}

.timeline-details li::marker { color: #cbd5e1; }
.timeline-details li + li { margin-top: 0.375rem; }

.timeline-tags {
    display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem;
}

.tag-badge {
    display: inline-flex; align-items: center; gap: 0.25rem;
    padding: 0.25rem 0.625rem; border-radius: 0.375rem;
    font-size: 0.6875rem; font-weight: 700;
    background-color: #1e293b; color: white;
    cursor: default; user-select: none;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05);
    transition: background-color 0.2s;
}

.tag-badge:hover { background-color: #334155; }