/* 내 여행 목록 페이지 */

.trip-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trip-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.trip-card.clickable {
    cursor: pointer;
}

.trip-card.clickable:hover {
    border-color: #2DD4A8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

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

.trip-status {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.trip-status-completed {
    background: #dcfce7;
    color: #16a34a;
}

.trip-status-analyzing {
    background: #fef3c7;
    color: #d97706;
}

.trip-status-pending {
    background: #f1f5f9;
    color: #64748b;
}

.trip-status-failed {
    background: #fecaca;
    color: #dc2626;
}

.trip-card-date {
    font-size: 13px;
    color: #94a3b8;
}

.trip-card-route {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.trip-origin,
.trip-dest {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
}

.trip-arrow {
    color: #2DD4A8;
    flex-shrink: 0;
}

.trip-card-info {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.trip-info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.trip-info-item svg {
    color: #94a3b8;
    flex-shrink: 0;
}

/* 빈 상태 버튼 */
.trip-empty-btn {
    display: inline-flex;
    padding: 10px 24px;
    background: #2DD4A8;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 12px;
    transition: background 0.2s;
}

.trip-empty-btn:hover {
    background: #1fae8e;
}

/* 모바일 대응 */
@media (max-width: 480px) {
    .trip-card-route {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    .trip-arrow {
        transform: rotate(90deg);
    }
    .trip-card-info {
        flex-direction: column;
        gap: 6px;
    }
}
