/* Experience List Styles */
.experience-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.experience-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    background-color: #fff;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.experience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.experience-card .card-img-top {
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.experience-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.experience-card .card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #212529;
}

.experience-card .card-text {
    color: #6c757d;
    flex-grow: 1;
    margin-bottom: 1rem;
}

.experience-card .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.35em 0.65em;
    border-radius: 50rem;
}

.experience-card .card-footer {
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 0.75rem 1.25rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.empty-state i {
    font-size: 3.5rem;
    color: #6c757d;
    margin-bottom: 1rem;
    opacity: 0.7;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #343a40;
}

.empty-state p {
    color: #6c757d;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* Experience Detail Styles */
.experience-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.experience-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #212529;
}

.experience-meta {
    display: flex;
    gap: 1.5rem;
    color: #6c757d;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.experience-meta i {
    margin-right: 0.5rem;
    color: #6c757d;
}

.experience-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    margin-bottom: 2.5rem;
}

/* Waypoint List */
.waypoint-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.waypoint-item {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: all 0.2s ease-in-out;
}

.waypoint-item:hover {
    transform: translateX(4px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.waypoint-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.waypoint-title {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: #212529;
}

.waypoint-badge {
    margin-right: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #0d6efd;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.waypoint-type {
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    background-color: #e9ecef;
    color: #495057;
}

.waypoint-content {
    margin-left: 2.75rem;
}

.waypoint-text {
    color: #495057;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.waypoint-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.waypoint-meta i {
    margin-right: 0.5rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .experience-list {
        grid-template-columns: 1fr;
    }
    
    .experience-card .card-img-top {
        height: 160px;
    }
    
    .experience-title {
        font-size: 1.75rem;
    }
    
    .experience-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .action-buttons .btn {
        width: 100%;
    }
}

/* Animation for list items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.waypoint-item {
    animation: slideIn 0.3s ease-out forwards;
    opacity: 0;
}

.waypoint-item:nth-child(1) { animation-delay: 0.1s; }
.waypoint-item:nth-child(2) { animation-delay: 0.2s; }
.waypoint-item:nth-child(3) { animation-delay: 0.3s; }
.waypoint-item:nth-child(4) { animation-delay: 0.4s; }
.waypoint-item:nth-child(5) { animation-delay: 0.5s; }
.waypoint-item:nth-child(n+6) { animation-delay: 0.6s; }
